Closed Bug 1475338 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11946 - Changing srcdoc from DOMString to HTMLString

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 11946 into mozilla-central (this bug is closed when the sync is complete).

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

Orsi Batiz <orsibatiz@google.com> wrote:
>  Changing srcdoc from DOMString to HTMLString
>  
>  A setter and a getter have been added to element.cc to support StringOrTrustedHTML
>  
>  
>  Bug:739170
>  Change-Id: I2472d1920a08834e9bd4b1cb532f72f5305a699b
>  Reviewed-on: https://chromium-review.googlesource.com/1134994
>  WPT-Export-Revision: 9896cad734fc3e84bededddbdcb41a7334e8e011
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]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Ran 2 tests and 5 subtests
OK     : 2
FAIL   : 5

New tests that have failures or other problems:
/trusted-types/srcDoc-requiresTrustedTypes.tentative.html
    'srcdoc = string' throws.: FAIL
    srcdoc = TrustedHTML.escape().: FAIL
    srcdoc = TrustedHTML.unsafelyCreate().: FAIL
/trusted-types/srcDoc.tentative.html
    srcdoc = TrustedHTML.escape().: FAIL
    srcdoc = TrustedHTML.unsafelyCreate().: FAIL
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/edae435013ea
[wpt PR 11946] - Changing srcdoc from DOMString to HTMLString, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ffb6c1e8ef8
[wpt PR 11946] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/edae435013ea
https://hg.mozilla.org/mozilla-central/rev/5ffb6c1e8ef8
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.