Closed Bug 1475742 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 11973 - HTMLLinkElement::href modified to accept TrustedTypes

Categories

(Core :: DOM: Security, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 11973 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11973 Details from upstream follow. Maja Kabus <kabusm@google.com> wrote: > HTMLLinkElement::href modified to accept TrustedTypes > > Existing implementation of setHref() changed, > older version is abandoned. > Added new function href() to accept URLString > as an argument. > > Bug: 739170 > Change-Id: Id57e361574c50b13df1876fe83e8693429b66fc8 > Reviewed-on: https://chromium-review.googlesource.com/1136635 > WPT-Export-Revision: 9920430fee5ba93fa743ded54be4bf9462cc5f98
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 2 tests and 6 subtests OK : 2 FAIL : 6 New tests that have failures or other problems: /trusted-types/HTMLLinkElement-href.tentative.html link.href = URLS.safe, TrustedURL.create: FAIL link.href = URLS.safe, TrustedURL.unsafelyCreate: FAIL /trusted-types/block-string-assignment-to-HTMLLinkElement-href.tentative.html `link.href = null` throws: FAIL `link.href = string` throws: FAIL link.href = URLS.safe, TrustedURL.create: FAIL link.href = URLS.safe, TrustedURL.unsafelyCreate: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/643e371240c9 [wpt PR 11973] - HTMLLinkElement::href modified to accept TrustedTypes, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/e303072964a8 [wpt PR 11973] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.