Closed Bug 1679890 Opened 4 years ago Closed 4 years ago

Change UrlbarProviderExtension.notificationTimeout into a pref

Categories

(Firefox :: Address Bar, task, P2)

task
Points:
2

Tracking

()

RESOLVED FIXED
85 Branch
Iteration:
85.2 - Nov 30 - Dec 13
Tracking Status
firefox84 + fixed
firefox85 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(2 files)

[Tracking Requested - why for this release]:
We'd like to ship this change in 84 to meet the timeline for a planned experiment. The change will be narrowly scoped to only affect Urlbar extensions, which can currently only be used by Mozilla in experiments. No other Urlbar experiments are running in 84.


UrlbarProviderExtension.notificationTimeout controls how long extensions have to return a result before they timeout. The default value is 200ms. This may not be enough time to get a response from some web services that we want to experiment with in the Urlbar. We should change notificationTimeout into a hidden pref that Urlbar experimental add-ons can set via experimental APIs.

Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe6d35236c45 Change UrlbarProviderExtension.notificationTimeout into a pref. r=adw
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b4c317421a5 Change the default value of browser.urlbar.extension.timeout to 400ms. r=adw

Comment on attachment 9190417 [details]
Bug 1679890 - Change UrlbarProviderExtension.notificationTimeout into a pref. r?adw!

Beta/Release Uplift Approval Request

  • User impact if declined: Mozilla won't be able to run an experiment it has planned for 84 (bug 1678126).
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This patch is narrowly scoped to only affect Urlbar extensions, which can currently only be used by Mozilla in experiments. No other Urlbar experiments are running in 84. It's a three-line change plus some changes to tests.
  • String changes made/needed:
Attachment #9190417 - Flags: approval-mozilla-beta?
Attachment #9190625 - Flags: approval-mozilla-beta?

(In reply to Harry Twyford [:harry] from comment #7)

  • Has the fix been verified in Nightly?: No Yes

I verified this in Nightly today.

Comment on attachment 9190417 [details]
Bug 1679890 - Change UrlbarProviderExtension.notificationTimeout into a pref. r?adw!

Approved for 84.0b8.

Attachment #9190417 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9190625 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: