Bug 1476825 [wpt PR 12061] - Reland "Adjusted references in tests to match new helper.sub.js file", a=testonly

Automatic update from web-platform-testsReland "Adjusted references in tests to match new helper.sub.js file"

This is a reland of ac436aaa9d361c99dcf4df11bd11ad201a2bccd8

Original change's description:
> Adjusted references in tests to match new helper.sub.js file
>
> helper.js changed to helper.sub.js.
> URLS.safe modified to work with wpt.
>
> Bug: 739170
> Change-Id: I89e0efdb07c94e78be826c8807d0577ede8a97ec
> Reviewed-on: https://chromium-review.googlesource.com/1141725
> Reviewed-by: Mike West <mkwst@chromium.org>
> Commit-Queue: Maja Kabus <kabusm@google.com>
> Cr-Commit-Position: refs/heads/master@{#576037}

Bug: 739170
Tbr: alexmos@chromium.org
Change-Id: Idc1e5d5cc4b1dbbc4de4145af38b894c5f4a65b5
Reviewed-on: https://chromium-review.googlesource.com/1142169
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576229}

--

wpt-commits: 81d058b07f1dacf0445eb4bd20a7df14f8961185
wpt-pr: 12061
This commit is contained in:
Ian Clelland 2018-07-25 17:42:07 +00:00 committed by James Graham
parent d0dc02e646
commit 26dbb6f70a
36 changed files with 72 additions and 72 deletions

View File

@ -297003,7 +297003,7 @@
{}
]
],
"trusted-types/support/helper.js": [
"trusted-types/support/helper.sub.js": [
[
{}
]
@ -620688,27 +620688,27 @@
"testharness"
],
"trusted-types/DOMParser-requiresTrustedTypes.tentative.html": [
"0846d9c9f9c97063915cee559bcf4a3e711e9887",
"f9b9110f3620949c26b9ae047730b2def936a812",
"testharness"
],
"trusted-types/DOMParser.tentative.html": [
"a32d31137bcfc113ce1ca9f75c9770d3501364d5",
"95e12b63536c98404993ddf9b6b90e248f56db31",
"testharness"
],
"trusted-types/HTMLBaseElement-href.tentative.html": [
"5b387ae813ec359650618081128001955c7024e2",
"bdc6593b4490bd0a1b22ef423c7fc95468acd7e5",
"testharness"
],
"trusted-types/HTMLImageElement-src.tentative.html": [
"1ac2d898da5cb684f642250760dce70b0e130489",
"69ff5aae0ee5d8d5776450ec09e39cdcb912c374",
"testharness"
],
"trusted-types/HTMLMediaElement-src.tentative.html": [
"dc2d8beec67583a7821d445c0273be1c5754c33d",
"c24c19db7ed389820a5f6680597e6e7c76683f7b",
"testharness"
],
"trusted-types/HTMLSourceElement-src.tentative.html": [
"bc816aea73f1d1eaf7fbd7516360430483608fee",
"872f3b4930d931d56069adfd97afdb4eef5fb978",
"testharness"
],
"trusted-types/META.yml": [
@ -620716,119 +620716,119 @@
"support"
],
"trusted-types/TrustedHTML.tentative.html": [
"1bcbd6d4d990c00449a95fd9c410c199b83b6661",
"808ec9c374b847012bc1299aecfb9d87b2e8c19c",
"testharness"
],
"trusted-types/TrustedScriptURL.tentative.html": [
"2a02a26d6c55e38d51abebe59b470d6f5008440c",
"2f8d956c0179adc05fd92250fab500fcf21f6bba",
"testharness"
],
"trusted-types/TrustedURL.tentative.html": [
"e6cff885204af25c0233d9c18dd3de5cb82ed51b",
"2543ae30982c5d979502278f9edcd88d03090eba",
"testharness"
],
"trusted-types/block-string-assignment-to-HTMLBaseElement-href.tentative.html": [
"1a3857314ef43c75bcf398f2429d34adce135edb",
"8f09389fb792f0fb24afd34035fa9cf055c05be6",
"testharness"
],
"trusted-types/block-string-assignment-to-HTMLImageElement-src.tentative.html": [
"29af914e035e196635be0568d8536f037c179c28",
"3f50eeada881f742a15be93140f6d274251290d4",
"testharness"
],
"trusted-types/block-string-assignment-to-HTMLMediaElement-src.tentative.html": [
"9bb4f5866cff0c34d4d11a274008f322fa943920",
"4302f83ec84a7b505985cb2756ce75bf4150d600",
"testharness"
],
"trusted-types/block-string-assignment-to-HTMLSourceElement-src.tentative.html": [
"1a403b7f4d9a0614e3fb7f41b95a0cf1e5fbb3ff",
"c3209381cb9dfafb16b2421b7536b225c3efd0a4",
"testharness"
],
"trusted-types/block-string-assignment-to-createContextualFragment.tentative.html": [
"aa2e78ed37b9b04378e0cbfc93a510bf428f6f78",
"9f2da1fdf1bf19b5bd86fb6526412655c3ccbfe6",
"testharness"
],
"trusted-types/block-string-assignment-to-embed-src.tentative.html": [
"1e598f550c120e3f1ae24dd36111da7d8863c7fd",
"67f647d655ac8c6716270ae1929f8fdb8919d8ed",
"testharness"
],
"trusted-types/block-string-assignment-to-innerHTML.tentative.html": [
"cde544697dbfa750e2f5ca8a1d7499d6c85c407e",
"ddbdee0f12a482599ec5913f78a527127a2aeb16",
"testharness"
],
"trusted-types/block-string-assignment-to-insertAdjacentHTML.tentative.html": [
"739b7940a27a298ca05005e9549774f9e0c0122f",
"3c43309acf17f8f2efe37113c662ef97d07aa0de",
"testharness"
],
"trusted-types/block-string-assignment-to-location-assign.tentative.html": [
"c50f889d7e517c42e8a490fcdc9e5e169b910876",
"189e70168a06390395863dc3c9d7609c11acf0a0",
"testharness"
],
"trusted-types/block-string-assignment-to-location-href.tentative.html": [
"b4da566f7eab26c9156e7976714618c74fd405b0",
"8c4f974ef05dac942dcdd811ea92fa6702ba8a40",
"testharness"
],
"trusted-types/block-string-assignment-to-location-replace.tentative.html": [
"2089fb7ca09b558d654d5e779a52f5acb61d4be8",
"e06b0b7233070f19f0d1b234d1ca8c023b98df1a",
"testharness"
],
"trusted-types/block-string-assignment-to-outerHTML.tentative.html": [
"a5301e971af8a918df577a3c00cf5d4be2b1d413",
"e45a6ea12e10693fb9c77e28e76e62a0c733d3da",
"testharness"
],
"trusted-types/block-string-assignment-to-script-src.tentative.html": [
"4a92a5485db5e199036f10322a89b713b9b02423",
"da38712c6e43d1e6fe5892a5339a45c4bf438c7e",
"testharness"
],
"trusted-types/createContextualFragment.tentative.html": [
"c806e71e06aa143840c7376960a44be6e6de77a8",
"e98f5e7fa6feeb5000a6310377ea82041c87e27d",
"testharness"
],
"trusted-types/document-write.tentative.html": [
"4eaf06e1d68d027a858ef6818aeac9b912164cbd",
"d4097e6235d0a8ddd28c9cfde4b985fb61e6ace9",
"testharness"
],
"trusted-types/embed-src.tentative.html": [
"402c569b64f260a4e0c4121a0eee76c59ed53737",
"0230cba4a277809feaedecd0ac17bb6bd6b99797",
"testharness"
],
"trusted-types/innerHTML.tentative.html": [
"d5797e778311a76860aab5ae1c1212ed6bf281b0",
"6c2492b545f0989ba74772ff8e0f3922f6ba70da",
"testharness"
],
"trusted-types/insertAdjacentHTML.tentative.html": [
"67298baa3acbfd88c9d867e60fc46ff8f9e2a2ca",
"fd95e2fa76d567311b8875bb7481d6345e5423c2",
"testharness"
],
"trusted-types/location-assign.tentative.html": [
"a13e8e471524a854a729ff6724bf7b818f278719",
"685f454d8f28c650b0714d1e35baaa3cfbd0b6c8",
"testharness"
],
"trusted-types/location-href.tentative.html": [
"b6b009db2b50ef1a456762256c598b907cbdce81",
"973d7da1fbcbfc5d1b75c5769ae9b53379340bba",
"testharness"
],
"trusted-types/location-replace.tentative.html": [
"a1aa171c4af1bab6e501504a0eb1ee9889e8ca26",
"07f2e2b7b6b4a1cbd9824bc9a3e575eeb99a3fe5",
"testharness"
],
"trusted-types/outerHTML.tentative.html": [
"959d23151fe6fa7f049fac11336da8ab9d962d0a",
"ad67e6c1be0b93e47b26c54544f3989d28588ece",
"testharness"
],
"trusted-types/script-src.tentative.html": [
"4a125530e91a3834077c658a9c0b550fcce8e626",
"bcebab27339a828c230ad518d1d71da3cd4cda98",
"testharness"
],
"trusted-types/srcDoc-requiresTrustedTypes.tentative.html": [
"d6691f250d64db32f34b1204ba769fa771712b02",
"7a7be9f8ed0bf2990f434a18169533a3a9df13ca",
"testharness"
],
"trusted-types/srcDoc.tentative.html": [
"1fc457290e2b9bd63acfb7eecd94c2f559ca558e",
"c13a940e03f51dacfbed5036be81356ef4fe72e5",
"testharness"
],
"trusted-types/support/helper.js": [
"6ea027fb1cee52a457e64f9b2b2c8294aa8a9dfc",
"trusted-types/support/helper.sub.js": [
"6162bad41b15d0ae0be727b5d960bb538d430fe2",
"support"
],
"uievents/META.yml": [

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<script>
//helper function for the tests

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<body>
<script>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<body>
<script>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<script>
test(t => {
var html = TrustedHTML.escape(STRINGS.unescapedHTML);

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<script>
test(t => {
var url = TrustedScriptURL.unsafelyCreate(URLS.safe);

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<script>
test(t => {
var url = TrustedURL.create(URLS.safe);

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -3,7 +3,7 @@
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
</head>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
promise_test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="./support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<div id="container"></div>
<script>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
promise_test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<div id="container"></div>
<script>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
test(t => {

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<meta http-equiv="Content-Security-Policy" content="require-trusted-types">
<body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./support/helper.js"></script>
<script src="support/helper.sub.js"></script>
<body>
<script>
async_test(t => {

View File

@ -5,7 +5,7 @@ var STRINGS = {
};
var URLS = {
safe: "https://example.test/",
safe: "http://{{host}}:{{ports[http][0]}}/",
javascript: "javascript:'scripted'",
external: "custom-handler:whatever",
sanitized: "about:invalid"