Closed Bug 1680541 Opened 5 years ago Closed 5 years ago

Intermittent /html/browsers/history/the-history-interface/001.html | traversing history must also traverse hash changes - assert_equals: (this could cause other failures later on) expected "" but got "test"

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1670525

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

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


[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - TEST-PASS | /html/browsers/history/the-history-interface/001.html | traversing history must traverse pushed states 
[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - TEST-UNEXPECTED-FAIL | /html/browsers/history/the-history-interface/001.html | traversing history must also traverse hash changes - assert_equals: (this could cause other failures later on) expected "" but got "test"
[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - tests3/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:76:26
[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2044:25
[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - test@http://web-platform.test:8000/resources/testharness.js:572:30
[task 2020-12-03T16:27:07.599Z] 16:27:07     INFO - tests3@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:75:13
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - 
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-PASS | /html/browsers/history/the-history-interface/001.html | pushState must not be allowed to create invalid URLs 
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-PASS | /html/browsers/history/the-history-interface/001.html | pushState must not be allowed to create cross-origin URLs 
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-FAIL | /html/browsers/history/the-history-interface/001.html | pushState must not be allowed to create cross-origin URLs (about:blank) - assert_throws_dom: function "function () { history.pushState('','','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/001.html :: tests4/</< :: line 91"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:91:30
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2044:25
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - test@http://web-platform.test:8000/resources/testharness.js:572:30
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:90:13
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-FAIL | /html/browsers/history/the-history-interface/001.html | pushState must not be allowed to create cross-origin URLs (data:URI) - assert_throws_dom: function "function () { history.pushState('','','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/001.html :: tests4/</< :: line 94"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:94:30
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2044:25
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - test@http://web-platform.test:8000/resources/testharness.js:572:30
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html:93:13
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-PASS | /html/browsers/history/the-history-interface/001.html | security errors are expected to be thrown in the context of the document that owns the history object 
[task 2020-12-03T16:27:07.608Z] 16:27:07     INFO - TEST-PASS | /html/browsers/history/the-history-interface/001.html | location.hash must be allowed to change (part 1) ```
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.