summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/resize-observer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/resize-observer
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/resize-observer')
-rw-r--r--testing/web-platform/meta/resize-observer/__dir__.ini1
-rw-r--r--testing/web-platform/meta/resize-observer/calculate-depth-for-node.html.ini5
-rw-r--r--testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini14
-rw-r--r--testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini6
-rw-r--r--testing/web-platform/meta/resize-observer/devicepixel.html.ini3
-rw-r--r--testing/web-platform/meta/resize-observer/eventloop.html.ini12
-rw-r--r--testing/web-platform/meta/resize-observer/idlharness.window.js.ini22
-rw-r--r--testing/web-platform/meta/resize-observer/notify.html.ini3
-rw-r--r--testing/web-platform/meta/resize-observer/observe.html.ini19
-rw-r--r--testing/web-platform/meta/resize-observer/ordering.html.ini6
-rw-r--r--testing/web-platform/meta/resize-observer/scrollbars-2.html.ini3
-rw-r--r--testing/web-platform/meta/resize-observer/scrollbars.html.ini7
-rw-r--r--testing/web-platform/meta/resize-observer/svg-with-css-box-001.html.ini11
-rw-r--r--testing/web-platform/meta/resize-observer/svg-with-css-box-002.svg.ini3
-rw-r--r--testing/web-platform/meta/resize-observer/svg.html.ini16
15 files changed, 131 insertions, 0 deletions
diff --git a/testing/web-platform/meta/resize-observer/__dir__.ini b/testing/web-platform/meta/resize-observer/__dir__.ini
new file mode 100644
index 0000000000..8ef81078b3
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.resize_observer.support_fragments:true]
diff --git a/testing/web-platform/meta/resize-observer/calculate-depth-for-node.html.ini b/testing/web-platform/meta/resize-observer/calculate-depth-for-node.html.ini
new file mode 100644
index 0000000000..34227e35f5
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/calculate-depth-for-node.html.ini
@@ -0,0 +1,5 @@
+[calculate-depth-for-node.html]
+ ["Calculate depth for node" algorithm with Shadow DOM]
+ expected:
+ if (os == "android") and not debug: [FAIL, PASS]
+ if (os == "android") and debug: [FAIL, PASS]
diff --git a/testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini b/testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini
new file mode 100644
index 0000000000..4152d6178b
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini
@@ -0,0 +1,14 @@
+[callback-cross-realm-report-exception.html]
+ [ResizeObserver reports the exception from its callback in the callback's global object]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, FAIL]
+ if (os == "win") and not swgl and not debug: [PASS, FAIL]
+ if (os == "linux") and debug and swgl: PASS
+ if (os == "linux") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "android") and debug and swgl: PASS
+ if (os == "android") and debug and not swgl: FAIL
+ if (os == "win") and swgl: PASS
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "mac") and debug: PASS
+ [FAIL, PASS]
diff --git a/testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini b/testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini
new file mode 100644
index 0000000000..1e0205e6e1
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini
@@ -0,0 +1,6 @@
+[change-layout-in-error.html]
+ [Changing layout in window error handler should not result in lifecyle loop when resize observer loop limit is reached.]
+ expected:
+ if (os == "linux") and not swgl and debug and not fission: [FAIL, PASS]
+ if (os == "android") and not debug: [FAIL, PASS]
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/resize-observer/devicepixel.html.ini b/testing/web-platform/meta/resize-observer/devicepixel.html.ini
new file mode 100644
index 0000000000..5d112a1c9a
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/devicepixel.html.ini
@@ -0,0 +1,3 @@
+[devicepixel.html]
+ fuzzy:
+ maxDifference=0-191;totalPixels=0-2188
diff --git a/testing/web-platform/meta/resize-observer/eventloop.html.ini b/testing/web-platform/meta/resize-observer/eventloop.html.ini
new file mode 100644
index 0000000000..96e9f0fc05
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/eventloop.html.ini
@@ -0,0 +1,12 @@
+[eventloop.html]
+ expected:
+ if (os == "linux"): ["OK", "TIMEOUT"]
+ [test0: multiple notifications inside same event loop]
+ expected:
+ if (os == "linux") and debug and not fission: ["PASS", "FAIL"]
+ if (os == "linux") and not debug: ["PASS", "FAIL"]
+
+ [guard]
+ expected:
+ if (os == "linux"): ["PASS", "NOTRUN"]
+
diff --git a/testing/web-platform/meta/resize-observer/idlharness.window.js.ini b/testing/web-platform/meta/resize-observer/idlharness.window.js.ini
new file mode 100644
index 0000000000..3141f90957
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/idlharness.window.js.ini
@@ -0,0 +1,22 @@
+[idlharness.window.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [ResizeObserverEntry must be primary interface of entry]
+ expected:
+ if (os == "linux") and debug and not fission: [PASS, FAIL]
+
+ [Stringification of entry]
+ expected:
+ if (os == "linux") and debug and not fission: [PASS, FAIL]
+
+ [ResizeObserverEntry interface: entry must inherit property "target" with the proper type]
+ expected:
+ if (os == "linux") and debug and not fission: [PASS, FAIL]
+
+ [ResizeObserverEntry creator]
+ expected:
+ if (os == "linux") and debug and not fission: [PASS, FAIL]
+
+ [ResizeObserverEntry interface: entry must inherit property "contentRect" with the proper type]
+ expected:
+ if (os == "linux") and debug and not fission: [PASS, FAIL]
diff --git a/testing/web-platform/meta/resize-observer/notify.html.ini b/testing/web-platform/meta/resize-observer/notify.html.ini
new file mode 100644
index 0000000000..809597695b
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/notify.html.ini
@@ -0,0 +1,3 @@
+[notify.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/resize-observer/observe.html.ini b/testing/web-platform/meta/resize-observer/observe.html.ini
new file mode 100644
index 0000000000..743232bcfb
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/observe.html.ini
@@ -0,0 +1,19 @@
+[observe.html]
+ prefs: [layout.css.zoom.enabled:false]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ [guard]
+ expected:
+ if (os == "mac") and not debug: [PASS, NOTRUN]
+
+ [test6: iframe notifications]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [test8: simple content-box observation]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [test0: simple observation]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/resize-observer/ordering.html.ini b/testing/web-platform/meta/resize-observer/ordering.html.ini
new file mode 100644
index 0000000000..f452258abb
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/ordering.html.ini
@@ -0,0 +1,6 @@
+[ordering.html]
+ [ResizeObserver and IntersectionObserver ordering]
+ expected:
+ if not tsan and (os == "linux") and fission and not swgl and asan: [PASS, FAIL]
+ if not tsan and (os == "linux") and fission and swgl: [PASS, FAIL]
+ if tsan: [PASS, FAIL]
diff --git a/testing/web-platform/meta/resize-observer/scrollbars-2.html.ini b/testing/web-platform/meta/resize-observer/scrollbars-2.html.ini
new file mode 100644
index 0000000000..1492c67ad8
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/scrollbars-2.html.ini
@@ -0,0 +1,3 @@
+[scrollbars-2.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/resize-observer/scrollbars.html.ini b/testing/web-platform/meta/resize-observer/scrollbars.html.ini
new file mode 100644
index 0000000000..d3391c03f3
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/scrollbars.html.ini
@@ -0,0 +1,7 @@
+[scrollbars.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ResizeObserver content-box size and scrollbars]
+ bug: expected to fail with overlay scrollbars
+ expected:
+ if os == "android": FAIL
diff --git a/testing/web-platform/meta/resize-observer/svg-with-css-box-001.html.ini b/testing/web-platform/meta/resize-observer/svg-with-css-box-001.html.ini
new file mode 100644
index 0000000000..42b17f7264
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/svg-with-css-box-001.html.ini
@@ -0,0 +1,11 @@
+[svg-with-css-box-001.html]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [test0: observe `foreignObject` SVG in HTML document]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [guard]
+ expected:
+ if (os == "mac") and not debug: [PASS, NOTRUN]
diff --git a/testing/web-platform/meta/resize-observer/svg-with-css-box-002.svg.ini b/testing/web-platform/meta/resize-observer/svg-with-css-box-002.svg.ini
new file mode 100644
index 0000000000..b9b419d125
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/svg-with-css-box-002.svg.ini
@@ -0,0 +1,3 @@
+[svg-with-css-box-002.svg]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/resize-observer/svg.html.ini b/testing/web-platform/meta/resize-observer/svg.html.ini
new file mode 100644
index 0000000000..40db01a1b9
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/svg.html.ini
@@ -0,0 +1,16 @@
+[svg.html]
+ prefs: [layout.css.zoom.enabled:false]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ [test15: observe svg:text content and border box]
+ expected:
+ if os == "mac": FAIL
+
+ [test0: observe svg:circle]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [guard]
+ expected:
+ if (os == "mac") and not debug: [PASS, NOTRUN]