Closed Bug 1356129 Opened 7 years ago Closed 7 years ago

Remove some old UI migration steps

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1280999 +++
Blocks: 1352069
This is needed to avoid bug 1352069 comment 14.
Comment on attachment 8857786 [details]
Bug 1356129 - Remove another batch of old UI migration steps.

https://reviewboard.mozilla.org/r/129768/#review132464

I didn't know we had a check for functions complexity, which test is doing that check? I'd like to know more about it.

::: browser/components/nsBrowserGlue.js:1594
(Diff revision 1)
>        Services.prefs.clearUserPref("dom.disable_window_move_resize");
>        Services.prefs.clearUserPref("dom.disable_window_flip");
>        Services.prefs.clearUserPref("dom.event.contextmenu.enabled");
>        Services.prefs.clearUserPref("javascript.enabled");
>        Services.prefs.clearUserPref("permissions.default.image");
>      }

probably you could also remove this (Firefox 23)

The first migration step would then be 14, that is Firefox 25.
Attachment #8857786 - Flags: review?(mak77) → review+
(In reply to Marco Bonardo [::mak] from comment #3)
> Comment on attachment 8857786 [details]
> Bug 1356129 - Remove another batch of old UI migration steps.
> 
> https://reviewboard.mozilla.org/r/129768/#review132464
> 
> I didn't know we had a check for functions complexity, which test is doing
> that check? I'd like to know more about it.

I have no idea, it's probably very new.

> ::: browser/components/nsBrowserGlue.js:1594
> (Diff revision 1)
> >        Services.prefs.clearUserPref("dom.disable_window_move_resize");
> >        Services.prefs.clearUserPref("dom.disable_window_flip");
> >        Services.prefs.clearUserPref("dom.event.contextmenu.enabled");
> >        Services.prefs.clearUserPref("javascript.enabled");
> >        Services.prefs.clearUserPref("permissions.default.image");
> >      }
> 
> probably you could also remove this (Firefox 23)

Okay.
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47c1ac2f3f47
Remove another batch of old UI migration steps. r=mak
(In reply to Marco Bonardo [::mak] from comment #3)
> Comment on attachment 8857786 [details]
> Bug 1356129 - Remove another batch of old UI migration steps.
> 
> https://reviewboard.mozilla.org/r/129768/#review132464
> 
> I didn't know we had a check for functions complexity, which test is doing
> that check? I'd like to know more about it.

It's an eslint rule. See http://eslint.org/docs/rules/complexity and https://bugzilla.mozilla.org/show_bug.cgi?id=1347884
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #7)
> (In reply to Marco Bonardo [::mak] from comment #3)
> > Comment on attachment 8857786 [details]
> > Bug 1356129 - Remove another batch of old UI migration steps.
> > 
> > https://reviewboard.mozilla.org/r/129768/#review132464
> > 
> > I didn't know we had a check for functions complexity, which test is doing
> > that check? I'd like to know more about it.
> 
> It's an eslint rule. See http://eslint.org/docs/rules/complexity and
> https://bugzilla.mozilla.org/show_bug.cgi?id=1347884

I think that's a bit problematic. Commented in bug 1326071 comment 3.
https://hg.mozilla.org/mozilla-central/rev/47c1ac2f3f47
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Blocks: 1478041
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: