Closed Bug 1476538 Opened Last year Closed Last year

[wpt-sync] Sync PR 12048 - Adjusted references in tests to match new helper.sub.js file

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

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

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

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

Maja Kabus <kabusm@google.com> wrote:
>  Adjusted references in tests to match new helper.sub.js file
>  
>  helper.js changed to helper.sub.js.
>  URLS.safe modified to work with wpt.
>  
>  Bug:739170
>  Change-Id: I89e0efdb07c94e78be826c8807d0577ede8a97ec
>  Reviewed-on: https://chromium-review.googlesource.com/1141725
>  WPT-Export-Revision: a509c8a7ab69c1966f135020336ce9059c85f22e
PR 12048 applied with additional changes from upstream: 5834cfc29ec99cc30b3cb82a95ff52effd56a19d, 9e4a93afa661c4a6ecb39ce810fcc77d73cd6405, d886715e456fb9a2e23e310ceaf8f9edc38f24b2, bd2709244a313ed5ea8e08d83c22173955c1ed80, 4b0008b5230f13161ecf5a4ab01905af857bacdd
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Ran 26 tests and 73 subtests
OK     : 24
PASS   : 2
FAIL   : 71
TIMEOUT: 2

New tests that have failures or other problems:
/trusted-types/DOMParser-requiresTrustedTypes.tentative.html
    'innerTextOfDoc = null' throws: FAIL
    `innerTextOfDoc = string` throws.: FAIL
    innerTextOfDoc = TrustedHTML.escape().: FAIL
    innerTextOfDoc = TrustedHTML.unsafelyCreate().: FAIL
/trusted-types/DOMParser.tentative.html
    innerTextOfDoc = TrustedHTML.escape().: FAIL
    innerTextOfDoc = TrustedHTML.unsafelyCreate().: FAIL
/trusted-types/HTMLBaseElement-href.tentative.html
    base.href = URLS.safe, TrustedURL.create: FAIL
    base.href = URLS.safe, TrustedURL.unsafelyCreate: FAIL
/trusted-types/block-string-assignment-to-HTMLBaseElement-href.tentative.html
    `base.href = null` throws: FAIL
    `base.href = string` throws: FAIL
    base.href = URLS.safe, TrustedURL.create: FAIL
    base.href = URLS.safe, TrustedURL.unsafelyCreate: FAIL
/trusted-types/block-string-assignment-to-createContextualFragment.tentative.html
    DocumentFragment.textContent = TrustedHTML.escape().: FAIL
    DocumentFragment.textContent = TrustedHTML.unsafelyCreate().: FAIL
    `DocumentFragment.textContent = null` throws.: FAIL
    `DocumentFragment.textContent = string` throws.: FAIL
/trusted-types/block-string-assignment-to-location-assign.tentative.html: TIMEOUT
/trusted-types/block-string-assignment-to-location-replace.tentative.html: TIMEOUT
/trusted-types/createContextualFragment.tentative.html
    DocumentFragment.textContent = TrustedHTML.escape().: FAIL
    DocumentFragment.textContent = TrustedHTML.unsafelyCreate().: FAIL
/trusted-types/location-assign.tentative.html
    Basic processing: safe URL, safe construction.: FAIL
    Basic processing: safe URL, unsafe construction.: FAIL
/trusted-types/location-replace.tentative.html
    Basic processing: safe URL, safe construction.: FAIL
    Basic processing: safe URL, unsafe construction.: FAIL
/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/62c67b4f4239
[wpt PR 12048] - Adjusted references in tests to match new helper.sub.js file, a=testonly
https://hg.mozilla.org/mozilla-central/rev/62c67b4f4239
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.