Closed Bug 1693442 Opened 4 years ago Closed 3 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 INCOMPLETE
Fission Milestone Future

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2021-02-18T00:51:39.291Z] 00:51:39     INFO - TEST-OK | /html/browsers/history/the-history-interface/001.html | took 2941ms
[task 2021-02-18T00:51:39.292Z] 00:51:39     INFO - TEST-START | /html/browsers/history/the-history-interface/002.html
[task 2021-02-18T00:51:39.293Z] 00:51:39     INFO - Closing window 6442450955
[task 2021-02-18T00:51:40.491Z] 00:51:40     INFO - PID 9103 | [Parent 9103, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/cache2/CacheFileChunk.cpp:403
[task 2021-02-18T00:51:40.993Z] 00:51:40     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(newURI->GetUserPass(newUserPass), NS_ERROR_FAILURE) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11240
[task 2021-02-18T00:51:40.999Z] 00:51:40     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(newURI->GetUserPass(newUserPass), NS_ERROR_FAILURE) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11240
[task 2021-02-18T00:51:41.173Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/StructuredCloneData.cpp:131
[task 2021-02-18T00:51:41.174Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'rv.Failed()', file /builds/worker/checkouts/gecko/dom/base/nsStructuredCloneContainer.cpp:54
[task 2021-02-18T00:51:41.178Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11160
[task 2021-02-18T00:51:41.178Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/StructuredCloneData.cpp:131
[task 2021-02-18T00:51:41.178Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'rv.Failed()', file /builds/worker/checkouts/gecko/dom/base/nsStructuredCloneContainer.cpp:54
[task 2021-02-18T00:51:41.178Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11160
[task 2021-02-18T00:51:41.181Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/StructuredCloneData.cpp:131
[task 2021-02-18T00:51:41.181Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'rv.Failed()', file /builds/worker/checkouts/gecko/dom/base/nsStructuredCloneContainer.cpp:54
[task 2021-02-18T00:51:41.181Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11160
[task 2021-02-18T00:51:41.182Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/StructuredCloneData.cpp:131
[task 2021-02-18T00:51:41.183Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: 'rv.Failed()', file /builds/worker/checkouts/gecko/dom/base/nsStructuredCloneContainer.cpp:54
[task 2021-02-18T00:51:41.184Z] 00:51:41     INFO - PID 9103 | [Child 9337, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR): file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:11160
[task 2021-02-18T00:51:42.299Z] 00:51:42     INFO - PID 9103 | [Parent 9103, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/dom/security/FramingChecker.cpp:210
[task 2021-02-18T00:51:42.476Z] 00:51:42     INFO - 
[task 2021-02-18T00:51:42.476Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.length should update when setting location.hash 
[task 2021-02-18T00:51:42.476Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.replaceState must exist 
[task 2021-02-18T00:51:42.476Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.replaceState must exist within iframes 
[task 2021-02-18T00:51:42.477Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | initial history.state should be null 
[task 2021-02-18T00:51:42.477Z] 00:51:42     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-02-18T00:51:42.477Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.state should update after a state is pushed 
[task 2021-02-18T00:51:42.477Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | hash should not change when replaceState is called without a URL 
[task 2021-02-18T00:51:42.477Z] 00:51:42     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-02-18T00:51:42.477Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | hash should change when replaceState is called with a URL 
[task 2021-02-18T00:51:42.477Z] 00:51:42     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-02-18T00:51:42.477Z] 00:51:42     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-02-18T00:51:42.477Z] 00:51:42     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:87:26
[task 2021-02-18T00:51:42.477Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.477Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.478Z] 00:51:42     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:86:13
[task 2021-02-18T00:51:42.478Z] 00:51:42     INFO - 
[task 2021-02-18T00:51:42.479Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create invalid URLs 
[task 2021-02-18T00:51:42.479Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be allowed to create cross-origin URLs 
[task 2021-02-18T00:51:42.480Z] 00:51:42     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-02-18T00:51:42.480Z] 00:51:42     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:96:30
[task 2021-02-18T00:51:42.481Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.481Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.482Z] 00:51:42     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:95:13
[task 2021-02-18T00:51:42.482Z] 00:51:42     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-02-18T00:51:42.482Z] 00:51:42     INFO - tests4/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:99:30
[task 2021-02-18T00:51:42.482Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.482Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.482Z] 00:51:42     INFO - tests4@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:98:13
[task 2021-02-18T00:51:42.483Z] 00:51:42     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-02-18T00:51:42.483Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must be able to set location.pathname 
[task 2021-02-18T00:51:42.483Z] 00:51:42     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-02-18T00:51:42.483Z] 00:51:42     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-02-18T00:51:42.483Z] 00:51:42     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 "test3"
[task 2021-02-18T00:51:42.483Z] 00:51:42     INFO - tests6/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:133:26
[task 2021-02-18T00:51:42.483Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.483Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.483Z] 00:51:42     INFO - tests6@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:132:13
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not fire hashchange events 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be able to use a function as data 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must not be able to use a DOM node as data 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-FAIL | /html/browsers/history/the-history-interface/002.html | replaceState must be able to use an error object as data - The object could not be cloned.
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - tests7/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:159:25
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - tests7@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:157:13
[task 2021-02-18T00:51:42.498Z] 00:51:42     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 (2) 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | replaceState must be able to make structured clones of complex objects 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.state should also reference a clone of the original object 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | history.state should be a clone of the original object, not a reference to it 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-PASS | /html/browsers/history/the-history-interface/002.html | popstate event should fire when navigation occurs 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-UNEXPECTED-FAIL | /html/browsers/history/the-history-interface/002.html | popstate event should pass the state data - assert_true: state information does not contain the expected value - browser is probably stuck in the wrong history position expected true got false
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - tests9/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:220:24
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2092:25
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - test@http://web-platform.test:8000/resources/testharness.js:566:30
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - tests9@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:218:13
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - tests8/<@http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html:211:104
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - 
[task 2021-02-18T00:51:42.498Z] 00:51:42     INFO - TEST-UNEXPECTED-FAIL | /html/browsers/history/the-history-interface/002.html | state data should cope with circular object references - can't access property "looped", ev.state is null```
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Blocks: WPT-Fis
Fission Milestone: --- → Future

Resolving as incomplete because there have been no failures in six months.

Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.