Closed Bug 1560192 Opened 1 year ago Closed 1 year ago

Prompt:Open can be slightly optimized

Categories

(Toolkit :: Notifications and Alerts, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr60 --- fixed
firefox67 --- fixed
firefox68 --- fixed
firefox69 --- fixed

People

(Reporter: johannh, Assigned: johannh)

Details

Attachments

(1 file)

While looking into window modal prompts I noticed that the prompt open code is overly complicated, we can just pass a boolean to that function since we're choosing between two strings anyway.

Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/bfd88bfc61c4
Clean up prompt open calls in Prompter.jsm. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.