Bug 1518114 [wpt PR 14738] - Require TrustedURL in form.action and .formAction, a=testonly
authorJakub Vrana <jakubvrana@google.com>
Thu, 31 Jan 2019 18:30:32 +0000
changeset 457947 e9816eb709f6d0c46be4f00d729301c88b8f02d3
parent 457946 c3a0ccfb08893cfac6aeea71f2f6f6b6a831eed9
child 457948 230742c4c0de6bc416b9e2cccba6b6f09bda9b35
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1518114, 14738, 739170, 1397613, 621676
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518114 [wpt PR 14738] - Require TrustedURL in form.action and .formAction, a=testonly Automatic update from web-platform-tests Require TrustedURL in form.action and .formAction Bug: 739170 Change-Id: I50691fcab4f13fdaee47a4b4750ef7d3b4544848 Reviewed-on: https://chromium-review.googlesource.com/c/1397613 Commit-Queue: Jakub Vrana <jakubvrana@google.com> Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#621676} -- wpt-commits: d6f1f047187fb302f691ff53d61ae18d741c894b wpt-pr: 14738
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html
--- a/testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html
+++ b/testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html
@@ -11,19 +11,22 @@
 <script>
   const nullPolicy = TrustedTypes.createPolicy('NullPolicy', {createScript: s => s});
 
   // TrustedURL Assignments
   const URLTestCases = [
     [ 'a', 'href' ],
     [ 'area', 'href' ],
     [ 'base', 'href' ],
+    [ 'button', 'formAction' ],
+    [ 'form', 'action' ],
     [ 'frame', 'src' ],
     [ 'iframe', 'src' ],
     [ 'img', 'src' ],
+    [ 'input', 'formAction' ],
     [ 'input', 'src' ],
     [ 'link', 'href' ],
     [ 'video', 'src' ],
     [ 'source', 'src' ],
     [ 'track', 'src' ]
   ];
 
   URLTestCases.forEach(c => {
--- a/testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html
+++ b/testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html
@@ -10,19 +10,22 @@
 <body>
 <script>
   var testnb = 0;
   // TrustedURL Assignments
   const URLTestCases = [
     [ 'a', 'href' ],
     [ 'area', 'href' ],
     [ 'base', 'href' ],
+    [ 'button', 'formAction' ],
+    [ 'form', 'action' ],
     [ 'frame', 'src' ],
     [ 'iframe', 'src' ],
     [ 'img', 'src' ],
+    [ 'input', 'formAction' ],
     [ 'input', 'src' ],
     [ 'link', 'href' ],
     [ 'video', 'src' ],
     [ 'source', 'src' ],
     [ 'track', 'src' ]
   ];
 
   URLTestCases.forEach(c => {