Skip to content

Instantly share code, notes, and snippets.

diff --git a/mobile/android/geckoview/src/androidTest/assets/web_extensions/test-support/TestSupportChild.sys.mjs b/mobile/android/geckoview/src/androidTest/assets/web_extensions/test-support/TestSupportChild.sys.mjs
--- a/mobile/android/geckoview/src/androidTest/assets/web_extensions/test-support/TestSupportChild.sys.mjs
+++ b/mobile/android/geckoview/src/androidTest/assets/web_extensions/test-support/TestSupportChild.sys.mjs
@@ -73,25 +73,7 @@ export class TestSupportChild extends Ge
});
}
case "WaitForContentTransformsReceived": {
-
- // copy-paste from SpecialPowers
- var win = Object.create(this);
11-14 10:53:51.241 1342 1360 W audio_hw_generic: Not supplying enough data to HAL, expected position 55 , only wrote 0
11-14 10:53:52.806 1640 2095 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.mozilla.fenix.debug/.App (has extras)} from uid 10014 on display 0
11-14 10:53:52.812 2854 2854 I art : Late-enabling -Xcheck:jni
11-14 10:53:52.812 2854 2854 W art : Unexpected CPU variant for X86 using defaults: x86_64
11-14 10:53:52.819 1640 1742 I ActivityManager: Start proc 2854:org.mozilla.fenix.debug/u0a76 for activity org.mozilla.fenix.debug/.App
11-14 10:53:52.849 1338 1378 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 4096000
11-14 10:53:52.859 2854 2854 W FirebaseApp: Default FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
11-14 10:53:52.859 2854 2854 I FirebaseInitProvider:
HTMLVideo(video)(0)@7fa35ecc1938 parent=7fa35ecc17a8 (x=0, y=-360, w=640, h=360) [content=7fa363f16200] [cs=7fa362f50978] <
ImageFrame(img)(-1)@7fa35ecc1a10 parent=7fa35ecc1938 next=7fa35ecc1870 (x=0, y=0, w=0, h=0) ink-overflow=(x=0, y=0, w=24, h=24) [content=7fa363f22100] [cs=7fa362f7b7a8]
Block(div)(-1)@7fa35ecc1870 parent=7fa35ecc1938 next=7fa35ed3b3f0 (x=0, y=0, w=640, h=360) [content=7fa355a39790] [cs=7fa35ec9c028] <
>
HTMLScroll(div)(0)@7fa35ed3b3f0 parent=7fa35ecc1938 (x=0, y=0, w=640, h=360) [content=7fa355a3a1f0] [cs=7fa362f7b5c8] <
Block(div)(0)@7fa35ed3ca20 parent=7fa35ed3b3f0 (x=0, y=0, w=640, h=360) [content=7fa355a3a1f0] [cs=7fa353f2a978:-moz-scrolled-content] <
line@7fa35ed3c748 count=1 state=inline,clean,prevmarginclean,not-impacted,not-wrapped,no-break,clear-before:none,clear-after:none(x=0, y=0, w=0, h=0) <
Text(2)"\n "@7fa35edae448 parent=7fa35ed3ca20 next=7fa35ed3cb68 (x=0, y=0, w=0, h=0) [content=7fa355a34b80] [cs=7fa35ec89e28:-moz-text] [run=0][0,9,T]
"use strict";
Services.scriptloader.loadSubScript(
"chrome://mochikit/content/tests/SimpleTest/MockObjects.js",
this
);
let originalScreenManager = Cc["@mozilla.org/gfx/screenmanager;1"].getService(
Ci.nsIScreenManager
);
<!DOCTYPE html>
<style>
html, body {
margin: 0;
padding: 0;
}
@keyframes anim {
from { transform: translateX(0vh); }
to { transform: translateX(-100vw); }
}
DEBUG: Running on Linux-5.4.0-110-generic-x86_64-with-glibc2.29
DEBUG: Emulator created with type x86_64
DEBUG: adb found at /home/hiro/.mozbuild/android-sdk-linux/platform-tools/adb
DEBUG: ...with creation time Tue Apr 5 11:45:55 2022
DEBUG: ...with SDK version in /home/hiro/.mozbuild/android-sdk-linux/platform-tools/source.properties: Pkg.Revision=33.0.1
0:00.00 DEBUG ADBHost: {'_logger': <mozlog.structuredlog.StructuredLogger object at 0x7f7844026790>, '_verbose': True, '_use_root': True, '_adb_path': '/home/hiro/.mozbuild/android-sdk-linux/platform-tools/adb', '_adb_host': None, '_adb_port': None, '_timeout': 10, '_polling_interval': 0.001, '_adb_version': ''}
0:00.01 DEBUG command_output: /home/hiro/.mozbuild/android-sdk-linux/platform-tools/adb devices -l, timeout: 10, timedout: None, exitcode: 0, output: List of devices attached
DEBUG: []
DEBUG: AVD found at /home/hiro/.mozbuild/android-device/avd/mozemulator-x86_64.avd
DEBUG: emulator found at /home/hiro/.mozbuild/android-sdk-linux/emulator/emu
# HG changeset patch
# Parent 56d2d8a0282482f33f31a9b1caacb660b18e61cf
diff --git a/layout/generic/nsImageFrame.cpp b/layout/generic/nsImageFrame.cpp
--- a/layout/generic/nsImageFrame.cpp
+++ b/layout/generic/nsImageFrame.cpp
@@ -1066,6 +1066,8 @@ void nsImageFrame::MaybeDecodeForPredict
// If we are in a remote browser, then apply scaling from ancestor browsers
if (BrowserChild* browserChild = BrowserChild::GetFrom(presShell)) {
diff --git a/devtools/client/shared/test/shared-head.js b/devtools/client/shared/test/shared-head.js
--- a/devtools/client/shared/test/shared-head.js
+++ b/devtools/client/shared/test/shared-head.js
@@ -412,6 +412,12 @@ var addTab = async function(url, options
await BrowserTestUtils.browserLoaded(tab.linkedBrowser);
// Waiting for presShell helps with test timeouts in webrender platforms.
await waitForPresShell(tab.linkedBrowser);
+ await SpecialPowers.spawn(tab.linkedBrowser, [], async () => {
+ await ContentTaskUtils.waitForCondition(() => {
+ return this.content.window.innerHeight !=0 &&
# HG changeset patch
# Parent 7766a6cbc66d9c94a94d427f6bc7576231b80ac2
diff --git a/testing/web-platform/tests/html/browsers/windows/parent.sub.html b/testing/web-platform/tests/html/browsers/windows/parent.sub.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/windows/parent.sub.html
@@ -0,0 +1,49 @@
+<html>
+<script src="/resources/testharness.js"></script>
# HG changeset patch
# Parent 7766a6cbc66d9c94a94d427f6bc7576231b80ac2
diff --git a/testing/web-platform/tests/html/browsers/windows/parent.sub.html b/testing/web-platform/tests/html/browsers/windows/parent.sub.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/windows/parent.sub.html
@@ -0,0 +1,36 @@
+<html class="reftest-wait">
+<link rel=match href="iframe-nested-print-ref.html">