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)
Core
DOM: Security
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
| Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
| Assignee | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
| Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
| Assignee | ||
Comment 3•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ae0c0ba00132ad42302ce181488c2620849f5fc8
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=bf141360fdff75da02ea69c1e71232e78de43054
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
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
| Assignee | ||
Comment 8•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ef9412e1f9d09aac2b137da25aa03705a1c00f02
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
Comment 10•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/643e371240c9
https://hg.mozilla.org/mozilla-central/rev/e303072964a8
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•