Commit graph

1165 commits

Author SHA1 Message Date
Zibi Braniecki
3d91da8726 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

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 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
c2cd68a689 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

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Mike Conley
8903636fae Bug 1347514 - Regression test. r=dao
MozReview-Commit-ID: 98EE9BUsVtz

--HG--
extra : rebase_source : 5993a816fd71371b5e159dc79bc05a76a2f93df9
2017-03-20 12:00:33 -04:00
Mike Conley
e7aad715c1 Bug 1347514 - Tear down customize mode in a background tab if the users sends it to a different page. r=dao
MozReview-Commit-ID: HQ39mwAhQjS

--HG--
extra : rebase_source : e1546482c4081bc50a621b6daacd8c84b2166a64
2017-03-20 11:08:48 -04:00
Dão Gottwald
fefc17425c Bug 1348122 - Share code between the customizable zoom control and the location bar's zoom indicator. r=Gijs
MozReview-Commit-ID: 7iRRr1gF9R5

--HG--
rename : browser/modules/URLBarZoom.jsm => browser/modules/FullZoomUI.jsm
extra : rebase_source : 90a4f8f0b4a3804c3306a4f5bc70d566b288979f
2017-03-21 09:23:24 +01:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Jared Wein
bb9354d1a2 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 9468cd5b1f67461e4338d4e0782761667f2f2184
2017-03-14 19:58:38 -04:00
Jim Porter
5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Carsten "Tomcat" Book
10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
47bca0c9c7 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : e0c8ebf58f73644ba17978afea72a3470df770d8
2017-03-14 19:58:38 -04:00
Sebastian Hengst
4f039f9373 Backed out changeset 8bd3a85551ae (bug 1345375) for failing browser_urlBar_zoom.js. r=backout 2017-03-13 20:34:51 +01:00
Jared Wein
9794edea1a Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 8ee29ae20c5170b44a06368b46ebb43f2649497d
2017-03-10 15:33:07 -05:00
Edouard Oger
a014194719 Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : d8e1bb4f52723071d395db3ac3c896096ca6df2a
2017-03-10 20:14:51 -05:00
Wes Kocher
7c2b508df2 Backed out changeset cfe8ab5f1c08 (bug 1269277) for failures in browser_aboutAccounts.js a=backout
MozReview-Commit-ID: FgcSoHPCnoH
2017-03-10 16:55:36 -08:00
Edouard Oger
812a782093 Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : e5ace2f6dfd828c14edfd3f3d84da2b5043361b2
2017-03-09 15:53:08 -05:00
Wes Kocher
4894923a57 Backed out changeset 805da5d5567f (bug 1269277) for failures in browser_device_connected.js and browser_aboutAccounts.js a=backout
MozReview-Commit-ID: 1xafqaoxNWG
2017-03-10 12:31:13 -08:00
Edouard Oger
a28ba6f4da Bug 1269277 - Add Manage Device button in Synced Tabs menu/sidebar. r=markh
MozReview-Commit-ID: 2BMgLeI0DNF

--HG--
extra : rebase_source : 048e6b5ede97b4908a65997cb674153c5e34c21d
2017-03-09 15:53:08 -05:00
Florian Quèze
9d62681259 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
37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze
7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Mark Banner
561b6cfb0c Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
MozReview-Commit-ID: DUnxVITvZgh

--HG--
extra : rebase_source : abe5adf3b024a45c2804d048f078c6a59a936242
2017-03-03 09:29:14 +00:00
Jared Wein
dcc9efeeac Bug 864562 - Fix the tests and move more logic from JS to CSS now that the values exist as CSS Variables. r=mikedeboer
MozReview-Commit-ID: BuJdjtVBnin

--HG--
extra : rebase_source : 47d244f3fa2e4f8768ce803201f238f456b22ecb
2017-02-28 12:15:04 -05:00
Jared Wein
4dad3da594 Bug 864562 - CustomizeMode should use CSS variables for setting LWT properties. r=mikedeboer
MozReview-Commit-ID: 5ZLJ0HNbJ9w

--HG--
extra : rebase_source : 22a26649053f10c5a854d45c198e74f2c844d7fe
2017-02-22 15:50:41 -05:00
Sebastian Hengst
249cf37b55 Backed out changeset 028a63d5008c (bug 864562) 2017-02-23 19:33:26 +01:00
Jared Wein
df85eed31c Bug 864562 - CustomizeMode should use CSS variables for setting LWT properties. r=mikedeboer
MozReview-Commit-ID: 5ZLJ0HNbJ9w

--HG--
extra : rebase_source : c6cf32963087b3234cc4150933b1b63b7078d1b3
2017-02-22 15:50:41 -05:00
Edouard Oger
54ace62c98 Bug 1244622 - Add "Show More/All" (tabs) buttons in the Synced Tabs menu. r=markh
MozReview-Commit-ID: 7z9fTVCDGgF

--HG--
extra : rebase_source : 99afed681759d8f65605f6c11a8b0c72e8012888
2017-02-06 16:31:31 -05:00
Andrea Marchesini
cd3d39251f Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs 2017-02-15 13:12:52 +01:00
dorelbarbu
f33b7daead Bug 1228478 - Replaced the use of sync-illustration.png and sync-illustration@2x.png with sync-illustration.svg r=eoger,markh
MozReview-Commit-ID: 6lyEEdG9CMb

--HG--
extra : rebase_source : c6921274d6aac62f4e5d7490eb52c05a28f4809b
2017-02-11 22:19:39 +02:00
Shane Caraveo
6359cf10d6 Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR

--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Sebastian Hengst
f17908f2ea Backed out changeset 4f2d1a062ed1 (bug 1228478) for mass test failures. r=backout on a CLOSED TREE 2017-01-30 18:34:36 +01:00
dorelbarbu
2eb20d6ae1 Bug 1228478 - Replaced the use of sync-illustration.png and sync-illustration@2x.png with sync-illustration.svg r=eoger,markh
MozReview-Commit-ID: 5h7BlVvV32W

--HG--
extra : rebase_source : 3a9098549c27bb43f57df71ec14280fd5071ea99
2017-01-25 19:06:45 +02:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Edouard Oger
f5eb6dc494 Bug 1296767 part 7 - Remove non-in-content legacy Sync pref screens. r=markh
MozReview-Commit-ID: LK9akz4chd1
2017-01-27 13:31:57 -05:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Wes Kocher
c3cc3b6407 Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)

MozReview-Commit-ID: 2XBNsd8JrZL

--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Edouard Oger
b41402ea7b Bug 1296767 part 7 - Remove non-in-content legacy Sync pref screens. r=markh
MozReview-Commit-ID: LK9akz4chd1

--HG--
extra : rebase_source : b7113c37a486f88ae1138c54e314bb0ff07ef1af
2017-01-18 17:39:11 -05:00
Florian Quèze
0e0865f4fc 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
Gijs Kruitbosch
490012393e Bug 1333305 - fix perma-orange by only removing buttons if they're present (splice(-1, 1) removes the last element of an array), r=mikedeboer
MozReview-Commit-ID: INCwigBboL1

--HG--
extra : rebase_source : e923696e6c9804cc9a36d4c61cd663c651e29d56
extra : source : 7409a2f8e974b455fbfdd43c280fce77af0e90bf
2017-01-24 09:55:51 +00:00
Gijs Kruitbosch
a18ca4322b Backed out changeset b3761531b00b (bug 1306561) for perma-oranging a lot of tests once 53 merges to aurora, rs=bustage,me,etc.
MozReview-Commit-ID: 9m4g9aqYPW8
2017-01-22 00:24:47 +00:00
Mike Taylor
594faddcca Bug 1324062. Part 2 - Fix CustomizableUI test failures due to NIGHTLY-only Report Site Issue button. r=Gijs
MozReview-Commit-ID: 8fZMVz05X6n

--HG--
extra : rebase_source : e5362e0c3bf83648d82f1cdf7efba442a5249d9b
2017-01-17 14:28:25 -06:00
Mike Taylor
8660be2ede Bug 1324062. Part 1 - Add a "Report Site Issue" button to the panel menu for NIGHTLY_BUILDs. r=Gijs
MozReview-Commit-ID: 74T8uRuqpyf

--HG--
extra : rebase_source : a047d01a70df5f0689c251698fc00c3f89a236ae
2017-01-17 14:27:03 -06:00
Wes Kocher
333d007681 Backed out 3 changesets (bug 1324062) for frequent Win7VM bc2 failures a=backout
Backed out changeset d01f82be01f1 (bug 1324062)
Backed out changeset 054cfcf60c75 (bug 1324062)
Backed out changeset 1658b20cb69c (bug 1324062)

MozReview-Commit-ID: LTl7fJ8zrp9
2017-01-20 11:53:36 -08:00
Mike Taylor
2704a86b3d Bug 1324062. Part 2 - Fix CustomizableUI test failures due to NIGHTLY-only Report Site Issue button. r=Gijs
MozReview-Commit-ID: 8fZMVz05X6n

--HG--
extra : rebase_source : e5362e0c3bf83648d82f1cdf7efba442a5249d9b
2017-01-17 14:28:25 -06:00
Mike Taylor
85464e788f Bug 1324062. Part 1 - Add a "Report Site Issue" button to the panel menu for NIGHTLY_BUILDs. r=Gijs
MozReview-Commit-ID: 74T8uRuqpyf

--HG--
extra : rebase_source : a047d01a70df5f0689c251698fc00c3f89a236ae
2017-01-17 14:27:03 -06:00
Andrew Swan
2e63037fde Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK

--HG--
extra : rebase_source : 732c178b13c231b36dea0c8c9f0871c7486e18c3
2017-01-18 18:16:19 -08:00