In our partial CDP implementation in Firefox we use the sessionHistory to retrieve the URL the user has originally typed into the locationbar. Now that I'm starting to make the test passing with Fission enabled, I can see that the `originalURI` is identical to the `url` property means the originally typed URL is lost: https://treeherder.mozilla.org/logviewer?job_id=352339939&repo=try&lineNumber=26799 > [task 2021-09-22T08:06:56.145Z] 08:06:56 INFO - TEST-UNEXPECTED-FAIL | remote/cdp/test/browser/page/browser_getNavigationHistory.js | History entry has the correct user typed URL set - Got "http://example.com/browser/remote/cdp/test/browser/page/doc_empty.html", expected "http://example.com/browser/remote/cdp/test/browser/page/sjs_redirect.sjs?http://example.com/browser/remote/cdp/test/browser/page/doc_empty.html" For CDP it is implemented here: https://searchfox.org/mozilla-central/rev/f62d42b1d98e67dc3da05d586f71103df02b8c4a/remote/cdp/domains/parent/Page.jsm#397 I assume that this is a regression from the session history in parent work.
Bug 1732250 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In our partial CDP implementation in Firefox we use the sessionHistory to retrieve the URL the user has originally typed into the locationbar. Now that I'm starting to make the test passing with Fission enabled, I can see that the `originalURI` is identical to the `url` property means the originally typed URL is lost: https://treeherder.mozilla.org/logviewer?job_id=352339939&repo=try&lineNumber=26799 > [task 2021-09-22T08:06:56.145Z] 08:06:56 INFO - TEST-UNEXPECTED-FAIL | remote/cdp/test/browser/page/browser_getNavigationHistory.js | History entry has the correct user typed URL set - Got "http://example.com/browser/remote/cdp/test/browser/page/doc_empty.html", expected "http://example.com/browser/remote/cdp/test/browser/page/sjs_redirect.sjs?http://example.com/browser/remote/cdp/test/browser/page/doc_empty.html" For CDP it is implemented here: https://searchfox.org/mozilla-central/rev/f62d42b1d98e67dc3da05d586f71103df02b8c4a/remote/cdp/domains/parent/Page.jsm#397 I assume that this is a regression from the session history in parent work. Note that it only happens when the original page redirects.