Closed Bug 1820081 Opened 7 months ago Closed 7 months ago

Some providers happen error when paste-and-go and drag-and-go

Categories

(Firefox :: Address Bar, defect)

defect

Tracking

()

VERIFIED FIXED
112 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox110 --- unaffected
firefox111 --- unaffected
firefox112 --- verified
firefox113 --- verified

People

(Reporter: daisuke, Assigned: daisuke)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

This is regressed by bug 1817155.
When paste-and-go or drop-and-go on the urlbar, the following errors happen.

console.error: (new TypeError("can't access property \"view\", queryContext is undefined", "resource:///modules/UrlbarProviderQuickActions.sys.mjs", 278))
console.error: (new TypeError("can't access property \"view\", queryContext is undefined", "resource:///modules/UrlbarProviderQuickSuggest.sys.mjs", 371))
console.error: (new TypeError("can't access property \"view\", queryContext is undefined", "resource:///modules/UrlbarProviderWeather.sys.mjs", 433))

We cleared UrlbarController.sys._lastQueryContextWrapper when both actions, but that we are touching its context in their providers is the reason.

We need to fix it.

Set release status flags based on info from the regressing bug 1817155

Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b33cd14f85d
Correspond to cleared query context when paste-and-go and drop-and-go r=adw
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch

The issue is verified fixed using the latest Fx 113.0a1 on WIndows 10 and Ubuntu 20.04. There are no longer any errors logged into the console on paste & go and drag & drop operations. Also, the searches are performed without any issues.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.