summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/resize-observer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/resize-observer
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
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.ini6
-rw-r--r--testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini12
-rw-r--r--testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini9
-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/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.ini15
13 files changed, 123 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..b9fd72f638
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/calculate-depth-for-node.html.ini
@@ -0,0 +1,6 @@
+[calculate-depth-for-node.html]
+ ["Calculate depth for node" algorithm with Shadow DOM]
+ expected:
+ if (os == "android") and not fission and not debug: [FAIL, PASS]
+ if (os == "android") and not fission and debug: [FAIL, PASS]
+ if (os == "android") and fission: [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..8689c4f99b
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/callback-cross-realm-report-exception.html.ini
@@ -0,0 +1,12 @@
+[callback-cross-realm-report-exception.html]
+ [ResizeObserver reports the exception from its callback in the callback's global object]
+ expected:
+ if (os == "linux") and not swgl and fission and (processor == "x86_64") and debug: [FAIL, PASS]
+ if (os == "linux") and not swgl and fission and (processor == "x86_64") and not debug: [FAIL, PASS]
+ if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "linux") and not swgl and fission and (processor == "x86"): [PASS, FAIL]
+ if (os == "linux") and not swgl and not fission and debug: [PASS, FAIL]
+ if (os == "linux") and not swgl and not fission and not debug: [PASS, FAIL]
+ if (os == "android") and not swgl: FAIL
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..9a81a955b8
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/change-layout-in-error.html.ini
@@ -0,0 +1,9 @@
+[change-layout-in-error.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [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 fission and not swgl and debug: [FAIL, PASS]
+ if (os == "linux") and not fission and swgl: [FAIL, PASS]
+ if (os == "android") and fission: [FAIL, PASS]
+ [PASS, FAIL]
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..ba102e8fe6
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/observe.html.ini
@@ -0,0 +1,19 @@
+[observe.html]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [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/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..2c8c4d8af3
--- /dev/null
+++ b/testing/web-platform/meta/resize-observer/svg.html.ini
@@ -0,0 +1,15 @@
+[svg.html]
+ 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]