Open
Bug 1886140
Opened 8 months ago
Updated 6 months ago
TypeError: can't access property "isPrivate", queryContext is undefined
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
REOPENED
126 Branch
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox124 | --- | wontfix |
firefox125 | --- | wontfix |
firefox126 | --- | fixed |
People
(Reporter: cbaica, Assigned: daleharvey)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [sng-scrubbed][search-regression])
Attachments
(3 files)
Found in
- Fx125.0b1
Affected versions
- Fx 126.0a1
- Fx 125.0b1
- Fx 124.0RC
Affected platforms
- Windows
- Ubuntu
- macOS
Steps to reproduce
- Launch Firefox and open the browser console.
- Navigate to any website and copy some text or a link.
- Open a new tab and right click the address bar.
- Choose the 'Paste & Go' option.
Expected result
- User is taken to the appropriate page(either SERP or website) without any errors.
Actual result
- The following error is displayed in the console:
TypeError: can't access property "isPrivate", queryContext is undefined
onEngagement resource:///modules/UrlbarProviderTopSites.sys.mjs:338
tryMethod resource:///modules/UrlbarUtils.sys.mjs:2367
notifyEngagementChange resource:///modules/UrlbarProvidersManager.sys.mjs:351
_internalRecord resource:///modules/UrlbarController.sys.mjs:970
record resource:///modules/UrlbarController.sys.mjs:827
handleNavigation resource:///modules/UrlbarInput.sys.mjs:747
handleCommand resource:///modules/UrlbarInput.sys.mjs:598
_initPasteAndGo resource:///modules/UrlbarInput.sys.mjs:3158
Regression range
- First bad: 2024-01-19
- Last good: 2024-01-18
- Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2b70f662a79773d519e78f0b8b64723a20b1e788&tochange=743bf7dec6d18c0026d8344a68f43f19b2f9308f
Additional notes
- The error received on beta and RC builds has a slightly different name, but the same files seem to be affected:
TypeError: queryContext is undefined
onEngagement resource:///modules/UrlbarProviderTopSites.sys.mjs:310
tryMethod resource:///modules/UrlbarUtils.sys.mjs:2365
notifyEngagementChange resource:///modules/UrlbarProvidersManager.sys.mjs:351
_internalRecord resource:///modules/UrlbarController.sys.mjs:1026
record resource:///modules/UrlbarController.sys.mjs:840
handleNavigation resource:///modules/UrlbarInput.sys.mjs:747
handleCommand resource:///modules/UrlbarInput.sys.mjs:598
_initPasteAndGo resource:///modules/UrlbarInput.sys.mjs:3093
Comment 1•8 months ago
|
||
:daleharvey, since you are the author of the regressor, bug 1841762, could you take a look?
For more information, please visit BugBot documentation.
Flags: needinfo?(dharvey)
Updated•8 months ago
|
status-firefox-esr115:
--- → unaffected
Updated•8 months ago
|
Updated•8 months ago
|
Has STR: --- → yes
Updated•8 months ago
|
Priority: -- → P3
Whiteboard: [sng-scrubbed][search-regression]
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Assignee: nobody → dharvey
Flags: needinfo?(dharvey)
Assignee | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c59be65c8118
Fix undefined queryContext in paste-and-go. r=adw
Comment 4•7 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Comment 5•7 months ago
•
|
||
The patch landed in nightly and RC is affected.
:daleharvey, is this bug important enough to require an uplift?
- If yes, please nominate the patch for release approval.
- If no, please set
status-firefox125
towontfix
.
For more information, please visit BugBot documentation.
Flags: needinfo?(dharvey)
Comment 6•7 months ago
|
||
I can still reproduce this issue on Firefox Nighly 126.0a1(latest nightly build), on macOS/Windows 10/Ubuntu 22 using the same steps as in Comment 0.
Assignee | ||
Comment 7•7 months ago
|
||
Yeh the impact is low here, no need to uplift
Flags: needinfo?(dharvey)
Reporter | ||
Comment 8•7 months ago
|
||
Re-opening the issue based on the last comment left from QA.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•6 months ago
|
||
Updated•6 months ago
|
Attachment #9401913 -
Attachment description: Bug 1886140 - Ensure queryContext is defined in 'Paste and Go' actions. r=adw → Bug 1886140 - Prevent console errors during 'Paste & Go'. r=adw
You need to log in
before you can comment on or make changes to this bug.
Description
•