From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../document-write.tentative.html | 91 ++++++++++++++++++++ .../layout-animations-disabled-tentative.html | 40 +++++++++ ...yout-animations-disabled-tentative.html.headers | 1 + ...ons-disabled-violation-report-js-tentative.html | 36 ++++++++ ...bled-violation-report-js-tentative.html.headers | 1 + ...abled-violation-report-keyframes-tentative.html | 23 +++++ ...olation-report-keyframes-tentative.html.headers | 1 + .../layout-animations-enabled-tentative.html | 30 +++++++ .../resources/animation-property-height.js | 3 + .../resources/async-script.js | 1 + .../experimental-features/resources/common.js | 90 +++++++++++++++++++ .../resources/defer-script.js | 1 + .../resources/document-policy-image.html | 13 +++ .../resources/document-write-allowed.html | 37 ++++++++ .../resources/document-write-disallowed.html | 37 ++++++++ .../document-write-disallowed.html.headers | 1 + .../experimental-features/resources/image.jpg | Bin 0 -> 570855 bytes .../experimental-features/resources/image.png | Bin 0 -> 217 bytes .../experimental-features/resources/image.svg | 4 + .../resources/parser-blocking-script.js | 1 + .../resources/sync-script-test.js | 9 ++ .../experimental-features/resources/video.ogv | Bin 0 -> 103746 bytes .../sync-script.tentative.https.sub.html | 22 +++++ .../sync-script.tentative.https.sub.html.headers | 1 + .../unsized-media.tentative.https.sub.html | 95 +++++++++++++++++++++ .../unsized-media.tentative.https.sub.html.headers | 1 + 26 files changed, 539 insertions(+) create mode 100644 testing/web-platform/tests/document-policy/experimental-features/document-write.tentative.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html.headers create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.headers create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.headers create mode 100644 testing/web-platform/tests/document-policy/experimental-features/layout-animations-enabled-tentative.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/animation-property-height.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/async-script.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/common.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/defer-script.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/document-policy-image.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/document-write-allowed.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/document-write-disallowed.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/document-write-disallowed.html.headers create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/image.jpg create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/image.png create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/image.svg create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/parser-blocking-script.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/sync-script-test.js create mode 100644 testing/web-platform/tests/document-policy/experimental-features/resources/video.ogv create mode 100644 testing/web-platform/tests/document-policy/experimental-features/sync-script.tentative.https.sub.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/sync-script.tentative.https.sub.html.headers create mode 100644 testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html create mode 100644 testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html.headers (limited to 'testing/web-platform/tests/document-policy/experimental-features') diff --git a/testing/web-platform/tests/document-policy/experimental-features/document-write.tentative.html b/testing/web-platform/tests/document-policy/experimental-features/document-write.tentative.html new file mode 100644 index 0000000000..551703c6f5 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/document-write.tentative.html @@ -0,0 +1,91 @@ + +'document-write' tests + + + + + + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html new file mode 100644 index 0000000000..fd32ace78e --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html @@ -0,0 +1,40 @@ + + + + + + 'layout-animations' Policy : Correct behavior for affected and unaffected properties when + feature is disabled. + + + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html.headers b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html.headers new file mode 100644 index 0000000000..745da550ee --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-tentative.html.headers @@ -0,0 +1 @@ +Document-Policy: layout-animations=?0 diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html new file mode 100644 index 0000000000..ee7c295156 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html @@ -0,0 +1,36 @@ + + + + + 'layout-animations' Policy : violation reports from javascript + + + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.headers b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.headers new file mode 100644 index 0000000000..745da550ee --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html.headers @@ -0,0 +1 @@ +Document-Policy: layout-animations=?0 diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html new file mode 100644 index 0000000000..cd9210cc13 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html @@ -0,0 +1,23 @@ + + + + + 'layout-animations' Policy : violation reports from CSS keyframes + + + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.headers b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.headers new file mode 100644 index 0000000000..745da550ee --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-disabled-violation-report-keyframes-tentative.html.headers @@ -0,0 +1 @@ +Document-Policy: layout-animations=?0 diff --git a/testing/web-platform/tests/document-policy/experimental-features/layout-animations-enabled-tentative.html b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-enabled-tentative.html new file mode 100644 index 0000000000..19e405496e --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/layout-animations-enabled-tentative.html @@ -0,0 +1,30 @@ + + + + + 'layout-animations' Policy : Correct behavior for affected and unaffected properties when + feature is enabled. + + + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/resources/animation-property-height.js b/testing/web-platform/tests/document-policy/experimental-features/resources/animation-property-height.js new file mode 100644 index 0000000000..79316cb488 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/resources/animation-property-height.js @@ -0,0 +1,3 @@ +let div = document.createElement("div"); +document.body.appendChild(div); +div.animate([{"height": "0px"}, {"height": "100px"}]); diff --git a/testing/web-platform/tests/document-policy/experimental-features/resources/async-script.js b/testing/web-platform/tests/document-policy/experimental-features/resources/async-script.js new file mode 100644 index 0000000000..3c0ee6d023 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/resources/async-script.js @@ -0,0 +1 @@ +window.didExecuteExternalAsyncScript = true; diff --git a/testing/web-platform/tests/document-policy/experimental-features/resources/common.js b/testing/web-platform/tests/document-policy/experimental-features/resources/common.js new file mode 100644 index 0000000000..639847abf3 --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/resources/common.js @@ -0,0 +1,90 @@ +const url_base = "/document-policy/experimental-features/resources/"; +window.messageResponseCallback = null; + +// Returns a promise which is resolved when the + + diff --git a/testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html.headers b/testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html.headers new file mode 100644 index 0000000000..cf59933e8d --- /dev/null +++ b/testing/web-platform/tests/document-policy/experimental-features/unsized-media.tentative.https.sub.html.headers @@ -0,0 +1 @@ +Document-Policy: unsized-media=?0 -- cgit v1.2.3