Closed Bug 1719449 Opened 3 years ago Closed 3 years ago

Intermittent docshell/test/chrome/test_bug360511.xhtml | current url is not the previous fragment url - got "http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html#bottom", expected "http://*/docshell/test/chrome/bug360511_case1.html"

Categories

(Core :: DOM: Navigation, defect, P5)

defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox89 --- unaffected
firefox90 --- unaffected
firefox91 --- fixed
firefox92 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mattwoodrow)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-07-07T10:20:38.815Z] 10:20:38     INFO - TEST-START | docshell/test/chrome/test_bug360511.xhtml
[task 2021-07-07T10:20:38.818Z] 10:20:38     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2021-07-07T10:20:38.818Z] 10:20:38     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2021-07-07T10:20:38.942Z] 10:20:38     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4244
[task 2021-07-07T10:20:38.989Z] 10:20:38     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4242
[task 2021-07-07T10:20:39.009Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.090Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.114Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page bug360511 case 1, persisted=false
[task 2021-07-07T10:20:39.169Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.199Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pagehide events
[task 2021-07-07T10:20:39.200Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.208Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pagehide event for page bug360511 case 1, persisted=true
[task 2021-07-07T10:20:39.223Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.238Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page generic page, persisted=false
[task 2021-07-07T10:20:39.266Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.268Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.270Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page bug360511 case 1, persisted=true
[task 2021-07-07T10:20:39.308Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.311Z] 10:20:39     INFO - TEST-INFO | started process screentopng
[task 2021-07-07T10:20:39.589Z] 10:20:39     INFO - TEST-INFO | screentopng: exit 0
[task 2021-07-07T10:20:39.590Z] 10:20:39     INFO - Buffered messages logged at 10:20:39
[task 2021-07-07T10:20:39.591Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | Page initially has a non-zero scrollY property 
[task 2021-07-07T10:20:39.591Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pagehide event was expected, but a pagehide event occurred 
[task 2021-07-07T10:20:39.592Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | originalTarget for last pagehide event not an HTMLDocument 
[task 2021-07-07T10:20:39.593Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pagehide event was expected for page bug360511 case 1, but was fired for page bug360511 case 1 
[task 2021-07-07T10:20:39.594Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | The persisted property of the pagehide event on page http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html#bottom had an unexpected value 
[task 2021-07-07T10:20:39.594Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected, but a pageshow event occurred 
[task 2021-07-07T10:20:39.596Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected, but a pageshow event occurred 
[task 2021-07-07T10:20:39.596Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | originalTarget for last pageshow event not an HTMLDocument 
[task 2021-07-07T10:20:39.596Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected for page bug360511 case 1, but was fired for page bug360511 case 1 
[task 2021-07-07T10:20:39.597Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | The persisted property of the pageshow event on page http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html#bottom had an unexpected value 
[task 2021-07-07T10:20:39.597Z] 10:20:39     INFO - Buffered messages finished
[task 2021-07-07T10:20:39.599Z] 10:20:39     INFO - TEST-UNEXPECTED-FAIL | docshell/test/chrome/test_bug360511.xhtml | current url is not the previous fragment url - got "http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html#bottom", expected "http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html"
[task 2021-07-07T10:20:39.599Z] 10:20:39     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2021-07-07T10:20:39.599Z] 10:20:39     INFO - testIterator@chrome://mochitests/content/chrome/docshell/test/chrome/bug360511_window.xhtml:98:11
[task 2021-07-07T10:20:39.600Z] 10:20:39     INFO - nextTest@chrome://mochitests/content/chrome/docshell/test/chrome/bug360511_window.xhtml:23:13
[task 2021-07-07T10:20:39.600Z] 10:20:39     INFO - doPageNavigation_complete@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:302:17
[task 2021-07-07T10:20:39.600Z] 10:20:39     INFO - doPageNavigation/<@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:240:34
[task 2021-07-07T10:20:39.601Z] 10:20:39     INFO - waitForTrue/intervalid<@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:529:22
[task 2021-07-07T10:20:39.601Z] 10:20:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-07T10:20:39.602Z] 10:20:39     INFO - TEST-UNEXPECTED-FAIL | docshell/test/chrome/test_bug360511.xhtml | document.location is not the previous fragment url - got "http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html#bottom", expected "http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case1.html"
[task 2021-07-07T10:20:39.602Z] 10:20:39     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2021-07-07T10:20:39.602Z] 10:20:39     INFO - testIterator@chrome://mochitests/content/chrome/docshell/test/chrome/bug360511_window.xhtml:100:11
[task 2021-07-07T10:20:39.603Z] 10:20:39     INFO - nextTest@chrome://mochitests/content/chrome/docshell/test/chrome/bug360511_window.xhtml:23:13
[task 2021-07-07T10:20:39.604Z] 10:20:39     INFO - doPageNavigation_complete@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:302:17
[task 2021-07-07T10:20:39.604Z] 10:20:39     INFO - doPageNavigation/<@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:240:34
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - waitForTrue/intervalid<@chrome://mochitests/content/chrome/docshell/test/chrome/docshell_helpers.js:529:22
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | current url is not the original url 
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | document.location is not the original url 
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page bug360511 case 2, persisted=false
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.606Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | Page initially has a non-zero scrollY property 
[task 2021-07-07T10:20:39.614Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pagehide events
[task 2021-07-07T10:20:39.614Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.615Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pagehide event for page bug360511 case 2, persisted=false
[task 2021-07-07T10:20:39.616Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pagehide event was expected, but a pagehide event occurred 
[task 2021-07-07T10:20:39.617Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | originalTarget for last pagehide event not an HTMLDocument 
[task 2021-07-07T10:20:39.617Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pagehide event was expected for page bug360511 case 2, but was fired for page bug360511 case 2 
[task 2021-07-07T10:20:39.618Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | The persisted property of the pagehide event on page http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case2.html#bottom had an unexpected value 
[task 2021-07-07T10:20:39.618Z] 10:20:39     INFO - GECKO(2231) | TEST: Called dummy unload function to prevent page from being bfcached.
[task 2021-07-07T10:20:39.619Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.620Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page generic page, persisted=false
[task 2021-07-07T10:20:39.620Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected, but a pageshow event occurred 
[task 2021-07-07T10:20:39.621Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.621Z] 10:20:39     INFO - GECKO(2231) | TEST: registering a listener for pageshow events
[task 2021-07-07T10:20:39.622Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.623Z] 10:20:39     INFO - GECKO(2231) | TEST: eventListener received a pageshow event for page bug360511 case 2, persisted=false
[task 2021-07-07T10:20:39.623Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected, but a pageshow event occurred 
[task 2021-07-07T10:20:39.625Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | originalTarget for last pageshow event not an HTMLDocument 
[task 2021-07-07T10:20:39.625Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | A pageshow event was expected for page bug360511 case 2, but was fired for page bug360511 case 2 
[task 2021-07-07T10:20:39.625Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | The persisted property of the pageshow event on page http://mochi.test:8888/chrome/docshell/test/chrome/bug360511_case2.html#bottom had an unexpected value 
[task 2021-07-07T10:20:39.632Z] 10:20:39     INFO - GECKO(2231) | TEST: removing event listeners
[task 2021-07-07T10:20:39.634Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | current url is not the previous fragment url 
[task 2021-07-07T10:20:39.636Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | document.location is not the previous fragment url 
[task 2021-07-07T10:20:39.665Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | current url is not the original url 
[task 2021-07-07T10:20:39.666Z] 10:20:39     INFO - TEST-PASS | docshell/test/chrome/test_bug360511.xhtml | document.location is not the original url 
[task 2021-07-07T10:20:39.669Z] 10:20:39     INFO - must wait for focus
[task 2021-07-07T10:20:39.673Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:184
[task 2021-07-07T10:20:39.703Z] 10:20:39     INFO - GECKO(2231) | MEMORY STAT | vsize 3012MB | residentFast 415MB | heapAllocated 156MB
[task 2021-07-07T10:20:39.724Z] 10:20:39     INFO - TEST-OK | docshell/test/chrome/test_bug360511.xhtml | took 908ms
[task 2021-07-07T10:20:39.749Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2021-07-07T10:20:39.749Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2021-07-07T10:20:39.778Z] 10:20:39     INFO - GECKO(2231) | [Parent 2231, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1371
[task 2021-07-07T10:20:39.851Z] 10:20:39     INFO - TEST-START | docshell/test/chrome/test_bug364461.xhtml
Has Regression Range: --- → yes
Assignee: nobody → matt.woodrow
Status: NEW → ASSIGNED
Flags: needinfo?(matt.woodrow)
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e8c702cc5b89
Store fragment URL after we're sure we've scrolled. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

The patch landed in nightly and beta is affected.
:mattwoodrow, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(matt.woodrow)

Just a test change, don't think it's worth uplifting.

Flags: needinfo?(matt.woodrow)

Uplifted it to prevent the test failure for Gecko 91 beta & release.

https://hg.mozilla.org/releases/mozilla-beta/rev/8204381cf930

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: