Closed
Bug 1489123
Opened 6 years ago
Closed 5 years ago
[wpt-sync] Sync PR 12872 - Tests from https://github.com/WICG/trusted-types/tree/master/tests ported to WPT
Categories
(Core :: DOM: Security, enhancement, P4)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 12872 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12872 Details from upstream follow. Maja Kabus <kabusm@google.com> wrote: > Tests from https://github.com/WICG/trusted-types/tree/master/tests ported to WPT > > enforcer_test.js ported to WPT and divided into > TrustedTypesEnforcer-*.tentative.html files. > > trustedtypeconfig_test.js ported to WPT and divided into > TrustedTypeConfig-*.tentative.html files. > > trustedtypes_test.js ported to WPT and divided into > TrustedTypes-*.tentative.html files. > > [Some tests fail, e.g. they work with strings instead of TrustedXXX > or they perhaps test features that are not yet implemented] > > [I marked with TODO the parts that are not truly ported as it might > not be possible] > > [TrustedScript is sometimes tested, sometimes not - I think this > could be tested everywhere now, where other TrustedXXX are tested] > > Bug: 739170 > Change-Id: I56563c16facd7c17d79e7b5625115a0f045618f8 > Reviewed-on: https://chromium-review.googlesource.com/1209708 > WPT-Export-Revision: f3db436d241d4f9aa4868ec59feaa93e27e336be
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=ee7d7225c5bd501c711410adf88e7c39c95742ca
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a279f98e41f287bcc87afa155bfa8e6ba452ae72
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 3•6 years ago
|
||
PR 12872 applied with additional changes from upstream: 1de1550e95396f979da97620a289c213acaf55e2, ef04d8b0f2e9a65ef82b33e03978ec0b34ec8c29
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=f5e90a08ca5f61f03365489d452ef6c32faeac0a
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0db0068c59a2ee1c3da0ef0cf35ffa5afab5d319
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=4a5ad2563bd3d96feb18addb57d77530b666ac43
Assignee | ||
Comment 7•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7e800e50045e381e148a2161001b1716b2b69835
Assignee | ||
Comment 8•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=855750a85c7afb8bbfd2b4f97542e66bdb6094d6
Assignee | ||
Comment 9•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=541135b4d32e1f21d04168f82b423999a57a372f
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream error][domsecurity-backlog]
Assignee | ||
Comment 10•6 years ago
|
||
PR 12872 applied with additional changes from upstream: 290b849c576ec3f2c13a78d05b2210b3655f4964
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 11•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1fdf1700016b00cccd19d09eec5effc0c225460
Assignee | ||
Comment 12•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e587f92626d88d8c339e3dd3d35f9df6b6b136db
Assignee | ||
Comment 13•5 years ago
|
||
Ran 42 tests and 201 subtests OK : 35 PASS : 11 FAIL : 190 ERROR : 7 New tests that have failures or other problems: /trusted-types/GlobalEventHandlers-onclick.tentative.html a.onclick assigned via policy (successful Script transformation).: FAIL /trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html CSP supports wildcards.: FAIL /trusted-types/TrustedTypePolicy-CSP.tentative.html Another whitelisted policy creation works.: FAIL Whitelisted policy creation works.: FAIL /trusted-types/TrustedTypePolicy-createXXX.tentative.html: ERROR Attributes without type constraints will work as before.: FAIL TrustedTypes.createPolicy(.., null) creates empty policy.: FAIL calling undefined callbacks throws: FAIL /trusted-types/TrustedTypePolicy-exposed.tentative.html Null is returned when policy is non-existent.: FAIL Null is returned when policy is not exposed - by default: FAIL Policy is returned when exposed == true.: FAIL /trusted-types/TrustedTypePolicy-name.tentative.html duplicate policy name attempt throws: FAIL getPolicyNames returns all policy names: FAIL policy.name = name: FAIL /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html Another whitelisted policy creation works.: FAIL Whitelisted policy creation works.: FAIL /trusted-types/TrustedTypePolicyFactory-createPolicy-exposedTests.tentative.html Null is returned when policy is non-existent.: FAIL Null is returned when policy is not exposed - by default: FAIL Policy is returned when exposed == true.: FAIL
Comment 14•5 years ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4b6edf8b08ba [wpt PR 12872] - [Trusted Types] Tests from WICG GitHub ported to WPT, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/e4b879730a2a [wpt PR 12872] - Update wpt metadata, a=testonly
Comment 15•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b6edf8b08ba https://hg.mozilla.org/mozilla-central/rev/e4b879730a2a
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•