Closed Bug 1476774 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12029 - src attribute of HTMLEmbedElement changed from DOMString to ScriptURLString

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

Sync web-platform-tests PR 12029 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12029
Details from upstream follow.

Orsi Batiz <orsibatiz@google.com> wrote:
>  src attribute of HTMLEmbedElement changed from DOMString to ScriptURLString
>  
>  attribute src of HTMLEmbedElement changed from DOMString to ScriptURLString
>  Tests added
>  
>  Bug: 739170
>  Change-Id: I6ded15b826d1da0d95f31885577db61f5adc7375
>  Reviewed-on: https://chromium-review.googlesource.com/1140305
>  Commit-Queue: Orsolya Bernadett Batiz <orsibatiz@google.com>
>  Reviewed-by: Mike West <mkwst@chromium.org>
>  Cr-Commit-Position: refs/heads/master@{#576060}
>
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Ran 2 tests and 8 subtests
OK     : 2
FAIL   : 8

New tests that have failures or other problems:
/trusted-types/block-string-assignment-to-embed-src.tentative.html
    src = 'string' assignment throws.: FAIL
    src = TrustedScriptURL.unsafelyCreate(URLS.external): FAIL
    src = TrustedScriptURL.unsafelyCreate(URLS.javascript): FAIL
    src = TrustedScriptURL.unsafelyCreate(URLS.safe): FAIL
    src = TrustedURL.unsafelyCreate(URLS.safe) assignment throws: FAIL
/trusted-types/embed-src.tentative.html
    src = TrustedScriptURL.unsafelyCreate(URLS.external): FAIL
    src = TrustedScriptURL.unsafelyCreate(URLS.javascript): FAIL
    src = TrustedScriptURL.unsafelyCreate(URLS.safe): FAIL
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec3223bb02b9
[wpt PR 12029] - src attribute of HTMLEmbedElement changed from DOMString to ScriptURLString, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d9a26a149b3
[wpt PR 12029] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ec3223bb02b9
https://hg.mozilla.org/mozilla-central/rev/6d9a26a149b3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.