Closed Bug 1727615 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 30182 - Tests for history.pushState() URL rewriting

Categories

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

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Domenic Denicola <d@domenic.me>' wrote:

Tests for history.pushState() URL rewriting

See https://github.com/whatwg/html/issues/6836.

/cc @rakina

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 35 subtests

Status Summary

Firefox

OK : 1
PASS: 9
FAIL: 26

Chrome

OK : 1
PASS: 26
FAIL: 9

Safari

OK : 1
PASS: 30
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/html/browsers/history/the-history-interface/history_pushstate_url_rewriting.html
http://web-platform.test:8000/common/blank.html to blob:(a blob URL for this origin) should not work: FAIL
http://web-platform.test:8000/common/blank.html to about:blank should not work: FAIL
http://web-platform.test:8000/common/blank.html to about:srcdoc should not work: FAIL
blob:(a blob URL for this origin) to blob:(a blob URL for this origin) should work: FAIL
blob:(a blob URL for this origin) to blob:(a blob URL for this origin)#newhash should work: FAIL
blob:(a blob URL for this origin) to blob:newpath should not work: FAIL
about:blank to about:srcdoc should not work: FAIL
about:blank to about:blank?newsearch should not work: FAIL
about:blank to http://web-platform.test:8000/blank should not work: FAIL
http://web-platform.test:8000/common/blank.html to javascript:'foo' should not work: FAIL
javascript:'foo' to javascript:'foo' should not work: FAIL
javascript:'foo' to javascript:'foo'?newsearch should not work: FAIL
javascript:'foo' to javascript:'foo'#newhash should not work: FAIL
about:srcdoc to about:srcdoc?newsearch should not work: FAIL
about:srcdoc to http://web-platform.test:8000/srcdoc should not work: FAIL
data:(script to run this test) to data:(script to run this test) should work: FAIL
data:(script to run this test) to data:(script to run this test)#newhash should work: FAIL
data:(script to run this test) to data:newpath should not work: FAIL

New Tests That Don't Pass

/html/browsers/history/the-history-interface/history_pushstate_url_rewriting.html
http://web-platform.test:8000/common/blank.html to blob:(a blob URL for this origin) should not work: FAIL (Chrome: PASS, Safari: PASS)
http://web-platform.test:8000/common/blank.html to about:blank should not work: FAIL (Chrome: PASS, Safari: PASS)
http://web-platform.test:8000/common/blank.html to about:srcdoc should not work: FAIL (Chrome: PASS, Safari: PASS)
blob:(a blob URL for this origin) to blob:(a blob URL for this origin) should work: FAIL (Chrome: PASS, Safari: PASS)
blob:(a blob URL for this origin) to blob:(a blob URL for this origin)#newhash should work: FAIL (Chrome: PASS, Safari: PASS)
blob:(a blob URL for this origin) to blob:(a blob URL for this origin)?newsearch should not work: FAIL (Chrome: FAIL, Safari: FAIL)
blob:(a blob URL for this origin) to blob:newpath should not work: FAIL (Chrome: PASS, Safari: PASS)
blob:(a blob URL for this origin) to blob:http://web-platform.test:8000/syntheticblob should not work: FAIL (Chrome: FAIL, Safari: FAIL)
blob:(a blob URL for this origin) to blob:(another blob URL for this origin) should not work: FAIL (Chrome: FAIL, Safari: FAIL)
about:blank to about:blank should work: FAIL (Chrome: FAIL, Safari: PASS)
about:blank to about:srcdoc should not work: FAIL (Chrome: PASS, Safari: PASS)
about:blank to about:blank?newsearch should not work: FAIL (Chrome: PASS, Safari: PASS)
about:blank to about:blank#newhash should work: FAIL (Chrome: FAIL, Safari: PASS)
about:blank to http://web-platform.test:8000/blank should not work: FAIL (Chrome: PASS, Safari: PASS)
http://web-platform.test:8000/common/blank.html to javascript:'foo' should not work: FAIL (Chrome: PASS, Safari: PASS)
javascript:'foo' to javascript:'foo' should not work: FAIL (Chrome: PASS, Safari: PASS)
javascript:'foo' to javascript:'foo'?newsearch should not work: FAIL (Chrome: PASS, Safari: PASS)
javascript:'foo' to javascript:'foo'#newhash should not work: FAIL (Chrome: PASS, Safari: PASS)
about:srcdoc to about:srcdoc should work: FAIL (Chrome: FAIL, Safari: PASS)
about:srcdoc to about:srcdoc?newsearch should not work: FAIL (Chrome: PASS, Safari: PASS)
about:srcdoc to about:srcdoc#newhash should work: FAIL (Chrome: FAIL, Safari: PASS)
about:srcdoc to http://web-platform.test:8000/srcdoc should not work: FAIL (Chrome: PASS, Safari: PASS)
data:(script to run this test) to data:(script to run this test) should work: FAIL (Chrome: PASS, Safari: PASS)
data:(script to run this test) to data:(script to run this test)#newhash should work: FAIL (Chrome: PASS, Safari: PASS)
data:(script to run this test) to data:(script to run this test)?newsearch should not work: FAIL (Chrome: FAIL, Safari: FAIL)
data:(script to run this test) to data:newpath should not work: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/393ff76ec74e
[wpt PR 30182] - Tests for history.pushState() URL rewriting, a=testonly
https://hg.mozilla.org/integration/autoland/rev/88542b253e4c
[wpt PR 30182] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.