Closed Bug 1477919 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12154 - url: DecodeURLEscapeSequences() should not apply UTF-8 and isomorphic encoding to a single input.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:
>  url: DecodeURLEscapeSequences() should not apply UTF-8 and isomorphic encoding to a single input.
>  
>  DecodeURLEscapeSequences() decoded some parts of an input string in UTF-8,
>  and other parts of the string in isomorphic encoding. This behavior doesn't
>  make sense, is harmful against browser interoperability, and is used only
>  in 0.0013% of page views (only in scroll-to-fragment cases).
>  
>  DecodeURLEscapeSequences() is used in many code paths, and we have usage
>  data only for scroll-to-framgnet. However this CL tries to remove this
>  weird behavior entirely.
>  
>  
>  Bug: 845824
>  Change-Id: Ib1cbbd3e1c26ebaaca7b3537b9732121835fdc9f
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1146535
>  WPT-Export-Revision: 65cf526808c20e0cd222f459def8207f701c36f3
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 4 subtests
OK     : 1
PASS   : 3
FAIL   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ddf2f763b38c
[wpt PR 12154] - url: DecodeURLEscapeSequences() should not apply UTF-8 and isomorphic encoding to a single input., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c34de0ce771c
[wpt PR 12154] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ddf2f763b38c
https://hg.mozilla.org/mozilla-central/rev/c34de0ce771c
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.