Closed Bug 1560192 Opened 5 years ago Closed 5 years ago

Prompt:Open can be slightly optimized

Categories

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

defect

Tracking

(firefox-esr60 fixed, firefox67 fixed, firefox68 fixed, firefox69 fixed)

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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: