Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/html/infrastructure/urls/resolving-urls/query-encoding/* are disabled in Mozilla and Chromium #4934

Open
zcorpan opened this issue Feb 21, 2017 · 10 comments

Comments

@zcorpan
Copy link
Member

zcorpan commented Feb 21, 2017

  • Need to file browser bugs for failing tests.
  • Probably should split tests into smaller chunks for each file.
  • running query-encoding/windows-1251.html I get numerous Python errors
  • Check if there are problems with stability in test results

cc @annevk

@annevk
Copy link
Member

annevk commented Feb 28, 2017

This blocks #552 basically.

@annevk
Copy link
Member

annevk commented May 8, 2018

Per https://bugzilla.mozilla.org/show_bug.cgi?id=1427268 location.search (not other location setters) is different across browsers.

annevk added a commit that referenced this issue May 8, 2018
@zcorpan zcorpan changed the title Clean up html/infrastructure/urls/resolving-urls/query-encoding/ /html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html is disabled in Mozilla and Chromium May 8, 2018
annevk added a commit that referenced this issue May 9, 2018
@zcorpan zcorpan changed the title /html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html is disabled in Mozilla and Chromium /html/infrastructure/urls/resolving-urls/query-encoding/* are disabled in Mozilla and Chromium May 17, 2018
@zcorpan zcorpan added the flaky label May 17, 2018
@zcorpan zcorpan self-assigned this May 17, 2018
annevk added a commit that referenced this issue May 23, 2018
annevk added a commit that referenced this issue May 24, 2018
This also changes how we test the ping IDL attribute as the HTML Standard
does not require it to be reflected other than as a string. It also adds
testing for <area>.

Helps with #4934.
jgraham pushed a commit that referenced this issue May 24, 2018
This also changes how we test the ping IDL attribute as the HTML Standard
does not require it to be reflected other than as a string. It also adds
testing for <area>.

Helps with #4934.
@zcorpan zcorpan removed their assignment May 28, 2018
@inexorabletash
Copy link
Member

WDYT about splitting these up using variant?

<meta name="variant" content="?include=nested-browsing">
<meta name="variant" content="?include=loading">
<meta name="variant" content="?include=submit">
<meta name="variant" content="?include=base-href">
<meta name="variant" content="?include=workers">
<meta name="variant" content="?include=eventsource">
<meta name="variant" content="?include=xmldocument">
<meta name="variant" content="?include=window-open">
<meta name="variant" content="?include=hyperlink-search">
<meta name="variant" content="?include=history">
<meta name="variant" content="?include=svg">
<meta name="variant" content="?include=xhr">
<meta name="variant" content="?include=websocket">
<meta name="variant" content="?include=appcache">
<meta name="variant" content="?include=css">
<meta name="variant" content="?include=xml">
<meta name="variant" content="?include=url">
<meta name="variant" content="?include=scheme">

This would apply to the utf-8, utf-16be, utf-16le, windows-1251 and windows-1252 tests. Perhaps not as elegant as splitting things up into multiple files, but can get this landed pretty quickly via Chrome.

@annevk
Copy link
Member

annevk commented Feb 19, 2020

I think that's probably fine and better than the status quo.

chromium-wpt-export-bot pushed a commit that referenced this issue Feb 19, 2020
These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
chromium-wpt-export-bot pushed a commit that referenced this issue Feb 20, 2020
These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <[email protected]>
Reviewed-by: Philip Jägenstedt <[email protected]>
Cr-Commit-Position: refs/heads/master@{#743019}
pull bot pushed a commit to FreddyZeng/chromium that referenced this issue Feb 20, 2020
These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

web-platform-tests/wpt#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <[email protected]>
Reviewed-by: Philip Jägenstedt <[email protected]>
Cr-Commit-Position: refs/heads/master@{#743019}
@inexorabletash
Copy link
Member

Per wpt.fyi on the PR, looking for consistent failures across Chrome/Firefox/Safari and encodings:

  • appcache - TIMEOUTs 2/3 (CACHE and FALLBACK, NETWORK is ok)
  • history - fails 2/2
  • xmldocument - fails 1/1 (XMLDocument#load is gone, should just remove these)

And FWIW, only these pass everywhere (all browsers/all encodings)

  • submit
  • url
  • websocket

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Feb 27, 2020
…testonly

Automatic update from web-platform-tests
Split html/.../query-encoding/ tests (#21881)

These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

web-platform-tests/wpt#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <[email protected]>
Reviewed-by: Philip Jägenstedt <[email protected]>
Cr-Commit-Position: refs/heads/master@{#743019}

Co-authored-by: Joshua Bell <[email protected]>

--

wpt-commits: d40812425800cccad65582ad1132d97303f1f1b9
wpt-pr: 21881
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Feb 27, 2020
…testonly

Automatic update from web-platform-tests
Split html/.../query-encoding/ tests (#21881)

These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

web-platform-tests/wpt#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <foolipchromium.org>
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Cr-Commit-Position: refs/heads/master{#743019}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: d40812425800cccad65582ad1132d97303f1f1b9
wpt-pr: 21881

UltraBlame original commit: cc3538c8a2d458466b5528342be6f3249f183259
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Feb 27, 2020
…testonly

Automatic update from web-platform-tests
Split html/.../query-encoding/ tests (#21881)

These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

web-platform-tests/wpt#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <foolipchromium.org>
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Cr-Commit-Position: refs/heads/master{#743019}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: d40812425800cccad65582ad1132d97303f1f1b9
wpt-pr: 21881

UltraBlame original commit: cc3538c8a2d458466b5528342be6f3249f183259
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Feb 27, 2020
…testonly

Automatic update from web-platform-tests
Split html/.../query-encoding/ tests (#21881)

These tests cover 5 encodings (UTF-8, UTF-16LE/BE, Windows-1251/1252)
and exercise many features (HTML, CSS, SVG, Workers, ...). They're
currently all skipped in Chrome (and other browser CI systems), since
something in that huge matrix fails or times out for everyone.

web-platform-tests/wpt#4934 suggests
splitting these into separate files. As a stopgap, split them out
using the WPT "variant" mechanism and provide expected failure files
for subsets, which should make fixing the tests and/or browsers more
actionable, and let us catch new regressions.

Bug: 930297
Change-Id: I4813281f547216b2b5f377118a58a419f62cfbc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063808
Commit-Queue: Philip Jägenstedt <foolipchromium.org>
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Cr-Commit-Position: refs/heads/master{#743019}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: d40812425800cccad65582ad1132d97303f1f1b9
wpt-pr: 21881

UltraBlame original commit: cc3538c8a2d458466b5528342be6f3249f183259
xeonchen pushed a commit to xeonchen/gecko that referenced this issue Mar 2, 2020
…tml/.../query-encoding/, a=testonly

Automatic update from web-platform-tests
WPT: Remove XMLDocument#load test from html/.../query-encoding/ (#21973)

Test was failing in all browsers and all encoding permutations. The
load() method has been removed from XMLDocument and all browsers. It
has coverage in dom/historical.html so isn't needed here.

Discussion:
https: //github.com/web-platform-tests/wpt/issues/4934#issuecomment-590807673
Change-Id: Ib38a8b6374e26cb69055c61ed4725ecd9b05a267
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071251
Auto-Submit: Joshua Bell <[email protected]>
Commit-Queue: Stephen McGruer <[email protected]>
Reviewed-by: Stephen McGruer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#744527}

Co-authored-by: Joshua Bell <[email protected]>

--

wpt-commits: 3e5f970dc575b9e0131f5e05ac2a70779a5ba386
wpt-pr: 21973
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Mar 2, 2020
…tml/.../query-encoding/, a=testonly

Automatic update from web-platform-tests
WPT: Remove XMLDocument#load test from html/.../query-encoding/ (#21973)

Test was failing in all browsers and all encoding permutations. The
load() method has been removed from XMLDocument and all browsers. It
has coverage in dom/historical.html so isn't needed here.

Discussion:
https: //github.com/web-platform-tests/wpt/issues/4934#issuecomment-590807673
Change-Id: Ib38a8b6374e26cb69055c61ed4725ecd9b05a267
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071251
Auto-Submit: Joshua Bell <[email protected]>
Commit-Queue: Stephen McGruer <[email protected]>
Reviewed-by: Stephen McGruer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#744527}

Co-authored-by: Joshua Bell <[email protected]>

--

wpt-commits: 3e5f970dc575b9e0131f5e05ac2a70779a5ba386
wpt-pr: 21973
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Mar 3, 2020
…tml/.../query-encoding/, a=testonly

Automatic update from web-platform-tests
WPT: Remove XMLDocument#load test from html/.../query-encoding/ (#21973)

Test was failing in all browsers and all encoding permutations. The
load() method has been removed from XMLDocument and all browsers. It
has coverage in dom/historical.html so isn't needed here.

Discussion:
https: //github.com/web-platform-tests/wpt/issues/4934#issuecomment-590807673
Change-Id: Ib38a8b6374e26cb69055c61ed4725ecd9b05a267
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071251
Auto-Submit: Joshua Bell <jsbellchromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#744527}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: 3e5f970dc575b9e0131f5e05ac2a70779a5ba386
wpt-pr: 21973

UltraBlame original commit: a147c64bcec260fe194fff43b7d5d710cc90711c
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Mar 3, 2020
…tml/.../query-encoding/, a=testonly

Automatic update from web-platform-tests
WPT: Remove XMLDocument#load test from html/.../query-encoding/ (#21973)

Test was failing in all browsers and all encoding permutations. The
load() method has been removed from XMLDocument and all browsers. It
has coverage in dom/historical.html so isn't needed here.

Discussion:
https: //github.com/web-platform-tests/wpt/issues/4934#issuecomment-590807673
Change-Id: Ib38a8b6374e26cb69055c61ed4725ecd9b05a267
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071251
Auto-Submit: Joshua Bell <jsbellchromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#744527}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: 3e5f970dc575b9e0131f5e05ac2a70779a5ba386
wpt-pr: 21973

UltraBlame original commit: a147c64bcec260fe194fff43b7d5d710cc90711c
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Mar 3, 2020
…tml/.../query-encoding/, a=testonly

Automatic update from web-platform-tests
WPT: Remove XMLDocument#load test from html/.../query-encoding/ (#21973)

Test was failing in all browsers and all encoding permutations. The
load() method has been removed from XMLDocument and all browsers. It
has coverage in dom/historical.html so isn't needed here.

Discussion:
https: //github.com/web-platform-tests/wpt/issues/4934#issuecomment-590807673
Change-Id: Ib38a8b6374e26cb69055c61ed4725ecd9b05a267
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071251
Auto-Submit: Joshua Bell <jsbellchromium.org>
Commit-Queue: Stephen McGruer <smcgruerchromium.org>
Reviewed-by: Stephen McGruer <smcgruerchromium.org>
Cr-Commit-Position: refs/heads/master{#744527}

Co-authored-by: Joshua Bell <inexorabletashgmail.com>

--

wpt-commits: 3e5f970dc575b9e0131f5e05ac2a70779a5ba386
wpt-pr: 21973

UltraBlame original commit: a147c64bcec260fe194fff43b7d5d710cc90711c
@annevk
Copy link
Member

annevk commented Jan 16, 2023

I thought this was fixed due to the splitting, but #14519 suggests this was still a problem after the fix got merged.

@inexorabletash
Copy link
Member

FYI, from https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/TestExpectations?q=TestExpectations&ss=chromium

crbug.com/930297 external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html?include=workers [ Skip Timeout ]
crbug.com/930297 external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html?include=workers [ Skip Timeout ]
...

# navigation tests fail or time out when run with run_web_tests.py but passes with run_wpt_tests.py
...
crbug.com/1317067 external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/navigation.sub.html?encoding=windows-1252 [ Failure Timeout ]
crbug.com/1317067 external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/navigation.sub.html?encoding=x-cp1251 [ Failure Timeout ]
crbug.com/1317067 external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/navigation.sub.html?encoding=utf8 [ Failure Timeout ]

I haven't dug in at all, though.

@zcorpan
Copy link
Member Author

zcorpan commented Jan 18, 2023

Checking the results on wpt.fyi for a few shas shows TIMEOUT and ERROR for a few tests across browsers (for different tests), and at least windows-1251.html?include=workers and utf-16be.html?include=workers are flaky in Firefox.

Also see https://bugzilla.mozilla.org/show_bug.cgi?id=1034063

@annevk
Copy link
Member

annevk commented Sep 2, 2023

annevk added a commit that referenced this issue Sep 3, 2023
SharedWorker is only exposed on Window, not in any worker global.

The SharedWorker importScripts() took me a while to debug, but ultimately the problem was that the variable was declared in a function scope and importScripts would attempt to override it in the global scope. As such, the fix is declaring the variable a little earlier on, matching how it's done for Worker importScripts().

Helps with #4934.
annevk added a commit that referenced this issue Sep 3, 2023
It some point windows-1251 was added with an expected query of %26%23229%3B, but the loading tests were never changed to account for that query expectation. This makes them share the windows-1252 expectation which I suppose is not ideal, but unless there's a quick fix I'd prefer that to be follow-up material.

Helps with #4934.
annevk added a commit that referenced this issue Sep 4, 2023
SharedWorker is only exposed on Window, not in any worker global.

The SharedWorker importScripts() took me a while to debug, but ultimately the problem was that the variable was declared in a function scope and importScripts would attempt to override it in the global scope. As such, the fix is declaring the variable a little earlier on, matching how it's done for Worker importScripts().

Helps with #4934.
annevk added a commit that referenced this issue Sep 4, 2023
It some point windows-1251 was added with an expected query of %26%23229%3B, but the loading tests were never changed to account for that query expectation. This makes them share the windows-1252 expectation which is not ideal and improving that is tracked in #41794.

Helps with #4934.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Sep 13, 2023
…elevant settings object, a=testonly

Automatic update from web-platform-tests
HTML: pushState() url resolves against relevant settings object

See web-platform-tests/wpt#4934 (comment)

--

wpt-commits: 83a0e8b67f6bb1daf4336060337eee609768a931
wpt-pr: 41797
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this issue Sep 14, 2023
…elevant settings object, a=testonly

Automatic update from web-platform-tests
HTML: pushState() url resolves against relevant settings object

See web-platform-tests/wpt#4934 (comment)

--

wpt-commits: 83a0e8b67f6bb1daf4336060337eee609768a931
wpt-pr: 41797
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this issue Dec 11, 2023
SharedWorker is only exposed on Window, not in any worker global.

The SharedWorker importScripts() took me a while to debug, but ultimately the problem was that the variable was declared in a function scope and importScripts would attempt to override it in the global scope. As such, the fix is declaring the variable a little earlier on, matching how it's done for Worker importScripts().

Helps with web-platform-tests#4934.
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this issue Dec 11, 2023
It some point windows-1251 was added with an expected query of %26%23229%3B, but the loading tests were never changed to account for that query expectation. This makes them share the windows-1252 expectation which is not ideal and improving that is tracked in web-platform-tests#41794.

Helps with web-platform-tests#4934.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants