From 8f6af395345ebcea85019c2f9fe8eebe08bbf032 Mon Sep 17 00:00:00 2001 From: powerivq Date: Wed, 31 Jul 2024 01:31:55 +0800 Subject: [PATCH] Remove ampjs.org from validator rules --- .../feature_tests/non-amp-cdn-js.html | 28 ------------------ .../testdata/feature_tests/non-amp-cdn-js.out | 29 ------------------- .../feature_tests/non-amp-cdn-lts-js.html | 26 ----------------- .../feature_tests/non-amp-cdn-lts-js.out | 27 ----------------- validator/validator-main.protoascii | 8 ----- 5 files changed, 118 deletions(-) delete mode 100644 validator/testdata/feature_tests/non-amp-cdn-js.html delete mode 100644 validator/testdata/feature_tests/non-amp-cdn-js.out delete mode 100644 validator/testdata/feature_tests/non-amp-cdn-lts-js.html delete mode 100644 validator/testdata/feature_tests/non-amp-cdn-lts-js.out diff --git a/validator/testdata/feature_tests/non-amp-cdn-js.html b/validator/testdata/feature_tests/non-amp-cdn-js.html deleted file mode 100644 index 8a573b70a60e..000000000000 --- a/validator/testdata/feature_tests/non-amp-cdn-js.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - -Hello, world. - - diff --git a/validator/testdata/feature_tests/non-amp-cdn-js.out b/validator/testdata/feature_tests/non-amp-cdn-js.out deleted file mode 100644 index 9173f814a6de..000000000000 --- a/validator/testdata/feature_tests/non-amp-cdn-js.out +++ /dev/null @@ -1,29 +0,0 @@ -PASS -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| Hello, world. -| -| diff --git a/validator/testdata/feature_tests/non-amp-cdn-lts-js.html b/validator/testdata/feature_tests/non-amp-cdn-lts-js.html deleted file mode 100644 index 3d232770ab2f..000000000000 --- a/validator/testdata/feature_tests/non-amp-cdn-lts-js.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/validator/testdata/feature_tests/non-amp-cdn-lts-js.out b/validator/testdata/feature_tests/non-amp-cdn-lts-js.out deleted file mode 100644 index 46cc3aedef93..000000000000 --- a/validator/testdata/feature_tests/non-amp-cdn-lts-js.out +++ /dev/null @@ -1,27 +0,0 @@ -PASS -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| -| diff --git a/validator/validator-main.protoascii b/validator/validator-main.protoascii index 2cbe832f1281..60fdb6ecffe9 100644 --- a/validator/validator-main.protoascii +++ b/validator/validator-main.protoascii @@ -336,8 +336,6 @@ tags: { mandatory: true value: "https://cdn.ampproject.org/v0/amp-story-1.0.css" value: "https://cdn.ampproject.org/lts/v0/amp-story-1.0.css" - value: "https://ampjs.org/v0/amp-story-1.0.css" - value: "https://ampjs.org/lts/v0/amp-story-1.0.css" } attrs: { name: "integrity" } # SRI attribute (https://www.w3.org/TR/SRI/) attrs: { name: "media" } @@ -3362,7 +3360,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/v0.js" - value: "https://ampjs.org/v0.js" } cdata: { disallowed_cdata_regex: { @@ -3389,7 +3386,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/v0.js" - value: "https://ampjs.org/v0.js" dispatch_key: NAME_VALUE_DISPATCH } cdata: { @@ -3417,7 +3413,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/lts/v0.js" - value: "https://ampjs.org/lts/v0.js" dispatch_key: NAME_VALUE_DISPATCH } cdata: { @@ -3445,7 +3440,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/lts/v0.js" - value: "https://ampjs.org/lts/v0.js" dispatch_key: NAME_VALUE_DISPATCH } cdata: { @@ -3523,7 +3517,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/lts/v0.mjs" - value: "https://ampjs.org/lts/v0.mjs" dispatch_key: NAME_VALUE_DISPATCH } cdata: { @@ -3549,7 +3542,6 @@ tags: { name: "src" mandatory: true value: "https://cdn.ampproject.org/lts/v0.js" - value: "https://ampjs.org/lts/v0.js" dispatch_key: NAME_VALUE_DISPATCH } cdata: {