summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/largest-contentful-paint
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/largest-contentful-paint
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/largest-contentful-paint')
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/__dir__.ini1
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-gif.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-webp.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image.tentative.html.ini5
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-animated-image.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-tao-animated-image.tentative.html.ini5
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-non-animated-image.tentative.html.ini5
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/animated/observe-video.tentative.html.ini6
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/first-paint-equals-lcp-text.html.ini5
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/idlharness.html.ini3
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/image-upscaling.html.ini7
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/initially-invisible-images.html.ini5
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-background.tentative.html.ini10
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-element.tentative.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-after-fcp.tentative.html.ini6
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-after.tentative.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-at-fcp.tentative.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/non-tao-image-subsequent-lcp-candidate.tentative.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/resized-image-not-reconsidered.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/update-on-style-change.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/video-data-uri.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-block.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-smaller.html.ini7
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html.ini4
-rw-r--r--testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap.html.ini4
25 files changed, 113 insertions, 0 deletions
diff --git a/testing/web-platform/meta/largest-contentful-paint/__dir__.ini b/testing/web-platform/meta/largest-contentful-paint/__dir__.ini
new file mode 100644
index 0000000000..97261c0584
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/__dir__.ini
@@ -0,0 +1 @@
+prefs: [privacy.reduceTimerPrecision:false, dom.enable_largest_contentful_paint:true]
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-gif.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-gif.tentative.html.ini
new file mode 100644
index 0000000000..b73f4f1180
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-gif.tentative.html.ini
@@ -0,0 +1,3 @@
+[observe-animated-image-gif.tentative.html]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-webp.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-webp.tentative.html.ini
new file mode 100644
index 0000000000..b851244650
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image-webp.tentative.html.ini
@@ -0,0 +1,3 @@
+[observe-animated-image-webp.tentative.html]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image.tentative.html.ini
new file mode 100644
index 0000000000..e1b2f15423
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-animated-image.tentative.html.ini
@@ -0,0 +1,5 @@
+[observe-animated-image.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-animated-image.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-animated-image.tentative.html.ini
new file mode 100644
index 0000000000..b35b05442c
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-animated-image.tentative.html.ini
@@ -0,0 +1,3 @@
+[observe-cross-origin-animated-image.tentative.html]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-tao-animated-image.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-tao-animated-image.tentative.html.ini
new file mode 100644
index 0000000000..feb43a6768
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-cross-origin-tao-animated-image.tentative.html.ini
@@ -0,0 +1,5 @@
+[observe-cross-origin-tao-animated-image.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-non-animated-image.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-non-animated-image.tentative.html.ini
new file mode 100644
index 0000000000..8e300d98b9
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-non-animated-image.tentative.html.ini
@@ -0,0 +1,5 @@
+[observe-non-animated-image.tentative.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Same origin animated image is observable and has a first frame.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/animated/observe-video.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/animated/observe-video.tentative.html.ini
new file mode 100644
index 0000000000..241783b440
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/animated/observe-video.tentative.html.ini
@@ -0,0 +1,6 @@
+[observe-video.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ TIMEOUT
+ [Same origin animated image is observable and has a first frame.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/largest-contentful-paint/first-paint-equals-lcp-text.html.ini b/testing/web-platform/meta/largest-contentful-paint/first-paint-equals-lcp-text.html.ini
new file mode 100644
index 0000000000..789900a4dd
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/first-paint-equals-lcp-text.html.ini
@@ -0,0 +1,5 @@
+[first-paint-equals-lcp-text.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [FCP and LCP are the same when there is a single text element in the page.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/idlharness.html.ini b/testing/web-platform/meta/largest-contentful-paint/idlharness.html.ini
new file mode 100644
index 0000000000..3d6182677e
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/idlharness.html.ini
@@ -0,0 +1,3 @@
+[idlharness.html]
+ [LargestContentfulPaint interface: default toJSON operation on lcp]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/image-upscaling.html.ini b/testing/web-platform/meta/largest-contentful-paint/image-upscaling.html.ini
new file mode 100644
index 0000000000..e4fa39c1fb
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/image-upscaling.html.ini
@@ -0,0 +1,7 @@
+[image-upscaling.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, ERROR]
+ [An upscaled image (width/height) should report the natural size]
+ expected: FAIL
+ [A background image smaller than the container should report the natural size]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/initially-invisible-images.html.ini b/testing/web-platform/meta/largest-contentful-paint/initially-invisible-images.html.ini
new file mode 100644
index 0000000000..2e867d2f8b
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/initially-invisible-images.html.ini
@@ -0,0 +1,5 @@
+[initially-invisible-images.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Image visibility: out-of-viewport images are observable by LargestContentfulPaint once they become visible.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-background.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-background.tentative.html.ini
new file mode 100644
index 0000000000..9326e26fdf
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-background.tentative.html.ini
@@ -0,0 +1,10 @@
+[mouseover-heuristics-background.tentative.html]
+ expected:
+ if not tsan and not fission and (os == "linux") and debug and not swgl: [ERROR, OK, TIMEOUT]
+ if tsan: [ERROR, TIMEOUT, OK]
+ [ERROR, OK]
+ [LCP mouseover heuristics ignore background-based zoom widgets]
+ expected:
+ if (os == "linux") and not fission and debug: [TIMEOUT, PASS]
+ if (os == "linux") and fission: [TIMEOUT, PASS]
+ TIMEOUT
diff --git a/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-element.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-element.tentative.html.ini
new file mode 100644
index 0000000000..aa3140de90
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/mouseover-heuristics-element.tentative.html.ini
@@ -0,0 +1,4 @@
+[mouseover-heuristics-element.tentative.html]
+ expected: TIMEOUT
+ [LCP mouseover heuristics ignore element-based zoom widgets]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-after-fcp.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-after-fcp.tentative.html.ini
new file mode 100644
index 0000000000..1bd00babe5
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-after-fcp.tentative.html.ini
@@ -0,0 +1,6 @@
+[non-tao-image-load-after-fcp.tentative.html]
+ [Non-Tao Image Load and Render After FCP.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-after.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-after.tentative.html.ini
new file mode 100644
index 0000000000..5b18aaa012
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-after.tentative.html.ini
@@ -0,0 +1,4 @@
+[non-tao-image-load-before-fcp-render-after.tentative.html]
+ expected: OK
+ [Non-Tao Image Load Before FCP and Render After FCP.]
+ expected: [FAIL, PASS]
diff --git a/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-at-fcp.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-at-fcp.tentative.html.ini
new file mode 100644
index 0000000000..32b10e7a81
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-load-before-fcp-render-at-fcp.tentative.html.ini
@@ -0,0 +1,4 @@
+[non-tao-image-load-before-fcp-render-at-fcp.tentative.html]
+ expected: OK
+ [Non-Tao Image Load Before LCP and Render at the Same Time of FCP.]
+ expected: [FAIL, PASS]
diff --git a/testing/web-platform/meta/largest-contentful-paint/non-tao-image-subsequent-lcp-candidate.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-subsequent-lcp-candidate.tentative.html.ini
new file mode 100644
index 0000000000..b9d5aa8a2b
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/non-tao-image-subsequent-lcp-candidate.tentative.html.ini
@@ -0,0 +1,4 @@
+[non-tao-image-subsequent-lcp-candidate.tentative.html]
+ expected: OK
+ [Non-Tao Image Subsequent LCP candidates.]
+ expected: [FAIL, PASS]
diff --git a/testing/web-platform/meta/largest-contentful-paint/resized-image-not-reconsidered.html.ini b/testing/web-platform/meta/largest-contentful-paint/resized-image-not-reconsidered.html.ini
new file mode 100644
index 0000000000..b3394c6e56
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/resized-image-not-reconsidered.html.ini
@@ -0,0 +1,4 @@
+[resized-image-not-reconsidered.html]
+ [Resized image should not be reconsidered as LCP]
+ expected:
+ if not fission and (os == "linux") and not debug and not asan: [PASS, FAIL]
diff --git a/testing/web-platform/meta/largest-contentful-paint/update-on-style-change.tentative.html.ini b/testing/web-platform/meta/largest-contentful-paint/update-on-style-change.tentative.html.ini
new file mode 100644
index 0000000000..5403a15c6a
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/update-on-style-change.tentative.html.ini
@@ -0,0 +1,3 @@
+[update-on-style-change.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/largest-contentful-paint/video-data-uri.html.ini b/testing/web-platform/meta/largest-contentful-paint/video-data-uri.html.ini
new file mode 100644
index 0000000000..255a79f6f0
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/video-data-uri.html.ini
@@ -0,0 +1,4 @@
+[video-data-uri.html]
+ expected: TIMEOUT
+ [Video of data URI src should trigger an LCP entry to be emitted.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-block.html.ini b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-block.html.ini
new file mode 100644
index 0000000000..22a1e27cc8
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-block.html.ini
@@ -0,0 +1,4 @@
+[web-font-styled-text-resize-block.html]
+ expected: [FAIL, OK]
+ [LCP should be not updated if the web font styled text resize occurs during the block period.]
+ expected: [FAIL, PASS]
diff --git a/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-smaller.html.ini b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-smaller.html.ini
new file mode 100644
index 0000000000..37678c9057
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-smaller.html.ini
@@ -0,0 +1,7 @@
+[web-font-styled-text-resize-swap-smaller.html]
+ expected:
+ if release_or_beta: TIMEOUT
+ [LCP should be not updated if the web font styled text resizes to be smaller during the swap period]
+ expected:
+ if release_or_beta: TIMEOUT
+ FAIL
diff --git a/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html.ini b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html.ini
new file mode 100644
index 0000000000..2691235142
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html.ini
@@ -0,0 +1,4 @@
+[web-font-styled-text-resize-swap-subnode.html]
+ expected: TIMEOUT
+ [LCP should be updated if the web font styled text resizes to be larger during the swap period]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap.html.ini b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap.html.ini
new file mode 100644
index 0000000000..a70714007e
--- /dev/null
+++ b/testing/web-platform/meta/largest-contentful-paint/web-font-styled-text-resize-swap.html.ini
@@ -0,0 +1,4 @@
+[web-font-styled-text-resize-swap.html]
+ expected: TIMEOUT
+ [LCP should be updated if the web font styled text resizes to be larger during the swap period]
+ expected: TIMEOUT