Closed Bug 1703431 Opened 4 years ago Closed 4 years ago

Intermittent /html/browsers/history/the-history-interface/002.html | replaceState must replace the existing state without altering the forward history - assert_equals: expected "test2" but got ""

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1693442

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=335655383&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Pm5U-P4eRZev2oXLgw4yMA/runs/0/artifacts/public/logs/live_backing.log


[task 2021-04-07T02:21:43.109Z] 02:21:43     INFO - TEST-START | /html/browsers/history/the-history-interface/002.html
[task 2021-04-07T02:21:43.110Z] 02:21:43     INFO - Closing window 6442450955
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - 
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.length should update when setting location.hash 
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.replaceState must exist 
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.replaceState must exist within iframes 
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | initial history.state should be null 
[task 2021-04-07T02:21:45.166Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.length should not update when replacing a state with no URL 
[task 2021-04-07T02:21:45.167Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.state should update after a state is pushed 
[task 2021-04-07T02:21:45.167Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | hash should not change when replaceState is called without a URL 
[task 2021-04-07T02:21:45.167Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.length should not update when replacing a state with a URL 
[task 2021-04-07T02:21:45.167Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | hash should change when replaceState is called with a URL 
[task 2021-04-07T02:21:45.167Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must replace the existing state and not add an extra one 
[task 2021-04-07T02:21:45.168Z] 02:21:45     INFO - TEST-UNEXPECTED-FAIL | /html/browsers/history/the-history-interface/002.html | replaceState must replace the existing state without altering the forward history - assert_equals: expected "test2" but got ""
[task 2021-04-07T02:21:45.168Z] 02:21:45     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:87:26
[task 2021-04-07T02:21:45.168Z] 02:21:45     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2095:25
[task 2021-04-07T02:21:45.168Z] 02:21:45     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-04-07T02:21:45.168Z] 02:21:45     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:86:13
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create invalid URLs 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create cross-origin URLs 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-FAIL | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create cross-origin URLs (about:blank) - assert_throws_dom: function "function () { history.replaceState('','','about:blank'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html :: tests4/</< :: line 96"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:96:30
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2095:25
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:95:13
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-FAIL | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create cross-origin URLs (data:URI) - assert_throws_dom: function "function () { history.replaceState('','','data:text/html,'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html :: tests4/</< :: line 99"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:99:30
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2095:25
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:98:13
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | security errors are expected to be thrown in the context of the document that owns the history object 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must be able to set location.pathname 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must be able to set absolute URLs to the same host 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not remove any tasks queued by the history traversal task source 
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - TEST-UNEXPECTED-FAIL | /html/browsers/history/the-history-interface/002.html | .go must queue a task with the history traversal task source (run asynchronously) - assert_equals: expected "test5" but got "test2"
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests6/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:133:26
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2095:25
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-04-07T02:21:45.174Z] 02:21:45     INFO - tests6@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:132:13
[task 2021-04-07T02:21:45.181Z] 02:21:45     INFO - .................
[task 2021-04-07T02:21:45.182Z] 02:21:45     INFO - TEST-OK | /html/browsers/history/the-history-interface/002.html | took 2089ms```
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.