Commit Graph

387 Commits

Author SHA1 Message Date
Joel Maher
de4267c2de Bug 1308343 - Intermittent browser/modules/test/browser/browser_ContentSearch.js. temporarily disable. r=gbrown
MozReview-Commit-ID: 1tvAPxjIZ0J
2017-04-26 11:01:20 -04:00
Sebastian Hengst
d35452358e Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug: fix test annotation. r=bustage-fix 2017-04-20 20:51:42 +02:00
Joel Maher
9422af15a0 Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug. r=adw
MozReview-Commit-ID: F6ypnlL4BQx
2017-04-20 14:09:08 -04:00
Jeff Walden
8d8bc5ba9a Bug 1350613 - Don't repeatedly create DateTimeFormat instances for the exact same set of options, but instead use cached formatters. r=markh
MozReview-Commit-ID: 6FteRerCH2x
2017-04-14 13:29:02 -07:00
Zibi Braniecki
8c433fc56a Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
64bae2dccf Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Drew Willcoxon
01cf26a2ce Bug 1334615 - Add a probe to determine whether the keyboard or the mouse was used to select an action. r=bsmedberg,mak
MozReview-Commit-ID: G3K2l6jnCR8
2017-04-14 17:27:51 -07:00
Panos Astithas
014c6e1eaf Add an index-per-type histogram for awesomebar results (bug 1345834). data-review=bsmedberg r=adw,bsmedberg
MozReview-Commit-ID: HxqENFSYcJy
2017-04-05 17:51:41 +03:00
Fischer.json
28360e42ce Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME
2017-04-11 12:07:29 +08:00
Prathiksha
5a945dceda Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LIsJ8VG0stN
2017-04-09 11:45:01 +05:30
Mark Banner
7945b07153 Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Gijs Kruitbosch
c5923f8015 Bug 1351300 - stop using the hidden DOM window from HiddenFrame.jsm, r=kmag
MozReview-Commit-ID: JiAYDG73NMy
2017-03-28 15:24:05 +01:00
Johann Hofmann
8a0dbf708e Bug 1349990 - Update host matching for webrtc prompts. r=Paolo
MozReview-Commit-ID: IIuHvVTy2G7
2017-03-24 13:13:18 +01:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Nihanth Subramanya
7dd5dae955 Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2
2017-03-19 02:22:39 +05:30
Carsten "Tomcat" Book
2287512321 Backed out changeset 4e2d53d22566 (bug 1347503) for crashes in windows a11y tests 2017-03-23 09:15:29 +01:00
Nihanth Subramanya
f045a15daa Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2
2017-03-19 02:22:39 +05:30
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132 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
2017-03-20 12:36:37 +01:00
Nihanth Subramanya
ce0dad089e Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH
2017-02-24 18:42:36 -08:00
Florian Quèze
c1bca211b8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
49d8db6821 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
d69b0cfb01 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Carsten "Tomcat" Book
b4e9d644a2 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
08870c8c85 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC
2017-03-14 19:58:38 -04:00
Mark Banner
8aae1860ea Bug 1086549 - Converting browser tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: BdRCP6DOHZS
2017-03-08 20:39:05 +00:00
Panos Astithas
acf8e847de Revert "Bug 1334617 - Temporarily disable tests for FX_URLBAR_SELECTED_RESULT_INDEX since it's expired. rs=Dexter, landing on central with a=tomcat" r=mak
This reverts commit 59d83a5d449a7815378c880a03eb4e44c68e7127.
2017-03-09 14:21:55 +02:00
Panos Astithas
cb35ef60ad Revert "Bug 1334617 followup - Eslint loves commented code. a=tomcat" r=mak
This reverts commit d253a0bdaa12c8dfd96ca9bb2f89ff35bfc47b10.
2017-03-09 14:20:31 +02:00
Marco Bonardo
90ed7e7dac Bug 1334617 followup - Eslint loves commented code. a=tomcat
MozReview-Commit-ID: HEeFwdv8c7j
2017-03-07 17:35:52 +01:00
Marco Bonardo
327c4ecf71 Bug 1334617 - Temporarily disable tests for FX_URLBAR_SELECTED_RESULT_INDEX since it's expired. rs=Dexter, landing on central with a=tomcat
MozReview-Commit-ID: 3EPjO4hgC4e
2017-03-07 16:56:33 +01:00
Georg Fritzsche
3b75819ee9 Bug 1313326 - Part 1 - Support recording events in child processes. r=dexter,froydnj 2017-02-14 14:43:51 +01:00
Mark Banner
320eaf1633 Bug 1343521 - Move the mochitests in browser/modules/test/ to their own subdirectory. r=jaws
MozReview-Commit-ID: AV3QzLofo2w
2017-03-01 17:10:16 +00:00
Wes Kocher
02ba8e42cf Merge inbound to central, a=merge
MozReview-Commit-ID: 2yQjOIMCCiO
2017-02-06 17:45:21 -08:00
Bob Owen
2709ee86ed Bug 1317921 Part 2: Check that nested URIs are loaded in the correct remote type. r=Gijs 2017-02-06 12:14:21 +00:00
Mark Banner
ba10e01046 Bug 1336070 - Enable eslint no-undef for browser/, apart from components/ and base/content/. r=mossop
MozReview-Commit-ID: CJtpm8zlLxa
2017-02-02 09:08:42 +00:00
Wes Kocher
5c5bcbe39e Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer
5bd46231f4 Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-27 11:19:45 +01:00
Johann Hofmann
e446de3bd1 Bug 1331579 - Explicitly update the identity block on re-requesting expired permissions. r=Paolo
MozReview-Commit-ID: CxvHSp1NjFg
2017-01-23 11:44:03 +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
Nihanth Subramanya
cc6d23df92 Bug 1313568 - Remove CaptivePortalWatcher.jsm and move tests to browser/base/content/tests/captivePortal. r=MattN
MozReview-Commit-ID: 3dSsLNmSUMA
2017-01-14 04:28:50 +05:30
Nihanth Subramanya
af07dc10fa Bug 1313568 - Update CaptivePortalWatcher tests to work with per-window handling of captive portal UI. r=MattN
MozReview-Commit-ID: LXjaP37l2dQ
2017-01-14 04:24:43 +05:30
Nihanth Subramanya
882395b6f6 Bug 1313568 - Handle captive portal UI in per-window script. r=MattN
MozReview-Commit-ID: FxjE2NblJe4
2017-01-08 03:23:09 +01:00
Dão Gottwald
66f5bd0481 Bug 1331172 - Current permission state should use the past tense. r=Paolo
MozReview-Commit-ID: 7XqHa0xrfsh
2017-01-16 20:33:00 +01:00