Closed Bug 1526378 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15177 - innerHTML serialization should not have a special handling for javascript: URLs.

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

innerHTML serialization should not have a special handling for javascript: URLs.

The HTML specification [1] doesn't have such special handling, and
Firefox conforms to the specification.

Remove fast/innerHTML/javascript-url.html because javascript: URLs are
not special any longer.

[1] https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments:attribute's-serialised-name

Bug: crbug.com/927164
Change-Id: I63317517dc1549190e66f5fdfa44f6bb38545394
Reviewed-on: https://chromium-review.googlesource.com/c/1447164
Reviewed-by: Yoshifumi Inoue \<yosin@chromium.org>
Commit-Queue: Kent Tamura \<tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#627794}

Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 238 subtests
OK     : 1
PASS   : 220
FAIL   : 18
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/87b23b28d0dc
[wpt PR 15177] - innerHTML serialization should not have a special handling for javascript: URLs., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.