Commit Graph

118 Commits

Author SHA1 Message Date
Gijs Kruitbosch
4408f908d1 Bug 1354083 - create a photon structure pref and a panel for photon hamburger menu use, r=mikedeboer
MozReview-Commit-ID: CKdxucwQfXV
2017-04-10 20:02:43 +01:00
Doug Thayer
a5b27a8e9b Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX
2017-03-21 13:50:09 -07:00
Zibi Braniecki
e1617486a8 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Sebastian Hengst
1f6ea2382a Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
a56e4c7360 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Wes Kocher
be3c2198cc Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Kris Maglione
f0333bcfb0 Bug 1259093: Part 2 - Reparent view nodes before dispatching ViewShowing event. r/rs=Gijs
MozReview-Commit-ID: IRkAJYQFd1C
2016-08-16 18:31:57 -07:00
Kris Maglione
efcf532168 Bug 1259093: Part 1 - Allow async initialization from ViewShowing events. r=Gijs
This changes the `detail` of the ViewShowing events in an incompatible way.
There were only a few places it was used in mozilla-central, which I fixed. I
searched add-ons in DXR and didn't find any that used the `detail` member of
this event, but I had to resort to a random sampling, so it's possible that
some do exist.

MozReview-Commit-ID: CYzGw6KH7uI
***
amend-0

MozReview-Commit-ID: EZfo1k7YhSx
2016-08-16 18:46:56 -07:00
Katie Broida[:ktbee]
0bcb756d06 Bug 1171746 - Ensure tab-specific panels close when you switch the tab. r=jaws 2016-08-19 07:27:00 -04:00
Sebastian Hengst
10c1305bca Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Jared Wein
cfe3213e30 Bug 1252224 - Remove synchronous layout flushes and style invalidations during the opening of multiview panels. r=mconley
MozReview-Commit-ID: 9T4gAPwFrXp
* * *
[mq]: temp

MozReview-Commit-ID: Bj91OhNd8ed
* * *
[mq]: temp

MozReview-Commit-ID: J8h8InaMRP4
2016-08-04 17:30:54 -04:00
Sumit Tiwari
4edded08d9 Bug 1290698 - Replace Iterator() with Object.{values, entries}; r=mossop
MozReview-Commit-ID: DEoVeqEZWpd
2016-08-07 21:58:24 -04:00
gasolin
197660a82c Bug 1260718 - use plain promise in panelUI.js; r=Gijs
MozReview-Commit-ID: 8WkAovMOMop
2016-04-06 15:05:11 +08:00
Gijs Kruitbosch
206f1e8be0 Bug 1256085 - fix hamburger menu losing pressed state when a context menu inside the panel closes, r=jaws
MozReview-Commit-ID: 6ZhBPlYMU4y
2016-03-15 21:28:31 +00:00
Dão Gottwald
0debf7316f Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Carsten "Tomcat" Book
6a9ce8a5af Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Dão Gottwald
b454fc92a1 Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-19 00:50:17 +01:00
Jared Wein
dabbbb279c Bug 1242137 - Fix eslint errors in /browser/components/customizableui. r=gijs 2016-01-23 14:55:27 -05:00
Kris Maglione
654f576847 Bug 1217129: Part 2 - Clear open state of view widgets if view opening is prevented. r=gijs 2016-01-07 19:26:33 -08:00
Carsten "Tomcat" Book
d392a8cd54 Backed out 8 changesets (bug 1217129) for test failures in browser_ext_pageAction_context.js
Backed out changeset dc5742de0823 (bug 1217129)
Backed out changeset 106365a3847c (bug 1217129)
Backed out changeset 628af985c7eb (bug 1217129)
Backed out changeset 7ad8b56958c5 (bug 1217129)
Backed out changeset 71f46fe62f59 (bug 1217129)
Backed out changeset 7d8dee4c335b (bug 1217129)
Backed out changeset 3b5fb2845c3b (bug 1217129)
Backed out changeset 93266f211716 (bug 1217129)
2016-01-18 09:08:35 +01:00
Kris Maglione
e499dd6e26 Bug 1217129: Part 2 - Clear open state of view widgets if view opening is prevented. r=gijs 2016-01-07 19:26:33 -08:00
Dave Townsend
6bc2e9ae43 Bug 1229224: Fix linting for some browser files that tests depend on. r=felipe 2015-12-17 15:19:00 -08:00
Jared Wein
bd85f630cc Bug 1205436 - Add extra logging to PanelUI show/hide and customizing enter/exit. r=Gijs 2015-11-09 18:15:38 -05:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Shu-yu Guo
a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Tooru Fujisawa
90c9445b4c Bug 1207491 - Part 3: Remove use of expression closure from browser/components/customizableui/content/. r=Gijs 2015-09-23 18:36:20 +09:00
Gijs Kruitbosch
1b68c43e67 Bug 1164942 - do not load pocket's jsm or other scripts until used with extra getter to satisfy tests, r=jaws 2015-05-15 14:25:57 +01:00
Phil Ringnalda
32c8140ba9 Back out 5f81902ee93e (bug 1164942) for leaking pktUIMessaging from browser_UITour_pocket.js on Windows
CLOSED TREE
2015-05-17 14:21:57 -07:00
Gijs Kruitbosch
8eceec4429 Bug 1164942 - do not load pocket's jsm or other scripts until used, r=jaws 2015-05-15 14:25:57 +01:00
Gijs Kruitbosch
e399417046 Bug 1106119 - fix locale detection for menu panel, r=mconley 2015-05-11 22:49:39 +01:00
Jared Wein
273eced542 Bug 1161793 - Wait to run the Pocket popupshowing code until the popupshowing event is dispatched, same for the popupshown code. r=dolske 2015-05-07 17:55:21 -04:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Florian Quèze
2eeebf0ef1 Bug 1156878 - Send a request to the server when clicking the Pocket toolbar button, r=jaws. 2015-04-27 11:49:21 +02:00
Gijs Kruitbosch
85ca8cb369 Bug 1074520 - use CSS instead of hacks to make the forget button panel lay out correctly, r=jaws 2014-10-22 12:39:04 +01:00
Gijs Kruitbosch
96cd46d4b3 Bug 987230 - use consumeanchor attribute to fix button click, r=enn,mconley 2014-07-01 01:09:43 +01:00
Gijs Kruitbosch
c0f333f727 Bug 979207 - add PanelUI panelshown listener before showing panel, r=mikedeboer 2014-06-09 10:02:59 +01:00
Gijs Kruitbosch
18be31858a Bug 1015494 - allow disabling panel animations during tests, r=mconley 2014-05-27 13:43:56 +01:00
vikneshwar
5b1606cb96 Bug 1003888 - Replaced getter for isReady() instead of a function(). r=mconley 2014-05-09 11:29:00 +02:00
Henri Sivonen
84445fd4f3 Bug 943252 m-c part - Remove dead code related to the old Character Encoding menu implementation. r=Unfocused. 2014-04-30 10:41:15 +03:00
Gijs Kruitbosch
efbcb4c2ed Bug 994712 - fix CART regression caused by switch to Promise.jsm for Task.jsm. r=mconley. 2014-04-25 14:49:28 +02:00
Jared Wein
c57ab7e54b Bug 962884 - Offer opt-out from auto-hyphenation for labels in the menu panel. r=Gijs 2014-03-27 15:53:18 -04:00
Gijs Kruitbosch
202371894c Bug 980534 - [australis] Make Australis' standalone subview panels wider. r=Unfocused 2014-03-16 23:38:49 +00:00