Skip to content

Remove unused imports from Get Active Element WPT test.#8226

Merged
jgraham merged 1 commit intomasterfrom
sync_ef5467332f79d71aa8771a616de6d18a6fddf37e
Nov 15, 2017
Merged

Remove unused imports from Get Active Element WPT test.#8226
jgraham merged 1 commit intomasterfrom
sync_ef5467332f79d71aa8771a616de6d18a6fddf37e

Conversation

@jgraham
Copy link
Contributor

@jgraham jgraham commented Nov 15, 2017

MozReview-Commit-ID: NmPXv8mOuu

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1410891 [ci skip]


This change is Reviewable

@jgraham
Copy link
Contributor Author

jgraham commented Nov 15, 2017

Code reviewed upstream.

@jgraham jgraham merged commit f816ed2 into master Nov 15, 2017
@jgraham jgraham deleted the sync_ef5467332f79d71aa8771a616de6d18a6fddf37e branch November 15, 2017 16:38
jakearchibald pushed a commit to jakearchibald/web-platform-tests that referenced this pull request Nov 16, 2017
This also fixes the IgnorableCodePoint test to use inputs which have
nontrivial ISO-2022-JP shift states; previously this test did not
actually ensure correct behavior when non-ASCII characters
representable in ISO-2022-JP and non-ASCII characters not
representable in ISO-2022-JP occur in sequence.

This also adds WPT coverage.

Prior to this fix, encoder state was not respected, leading to
incorrect interpretation of the replacements and sometimes following
bytes too, depending on whether the replacement lengths were even or
odd, and on whether the active state of the ISO-2022-JP G0 character
set was one-byte or two-byte. An example, with results transcribed in
Unicode for readability:

Input: ABC~¤•★星🌟星★•¤~XYZ

Old output:
Bytes: ABC~&web-platform-tests#164;&web-platform-tests#8226;␛$B!z@1🌟@1!z&web-platform-tests#8226;&web-platform-tests#164;␛(B~XYZ
Meaning: ABC~&web-platform-tests#164;&web-platform-tests#8226;★星Γ渦祁卦酸院惕8臆胸Γ蔚柑~XYZ

New output:
Bytes: ABC~&web-platform-tests#164;&web-platform-tests#8226;␛$B!z@1␛(B🌟␛$B@1!z␛(B&web-platform-tests#8226;&web-platform-tests#164;~XYZ
Meaning: ABC~&web-platform-tests#164;&web-platform-tests#8226;★星🌟星★&web-platform-tests#8226;&web-platform-tests#164;~XYZ

Bug: 782565
Change-Id: If2a7b76b99ce77cbec433af5384ed5c4d2e3c581
Reviewed-on: https://chromium-review.googlesource.com/758405
Commit-Queue: Benjamin Wiley Sittler <bsittler@chromium.org>
Reviewed-by: Jungshik Shin <jungshik@google.com>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515425}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants