Commit Graph

1706 Commits

Author SHA1 Message Date
Alexandre Poirot
208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02:00
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
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
Carsten "Tomcat" Book
00da9b8f70 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Mike Conley
ffb4cca140 Bug 1352501 - Remove Reader Mode promotion panel. r=jaws,MattN
Note that the UITour library can still show a panel in the event that we want to
promote the feature that way.

MozReview-Commit-ID: FzKSzO987h7
2017-04-19 16:42:10 -04:00
Florian Queze
c9a0637249 Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Andrew Swan
1e2a2ba9f6 Bug 1358229 Fix exception during optional permission prompts r=rhelmer
MozReview-Commit-ID: 5e3tlFF7uvp
2017-04-24 10:44:41 -07:00
Wes Kocher
60ba222aed Merge m-c to autoland, a=merge
MozReview-Commit-ID: DPzfAm14Tdx
2017-04-20 15:52:28 -07: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
Dão Gottwald
4ed9116127 Bug 1356911 - Remove unnecessary onWidgetInstanceRemoved listener. r=jaws
MozReview-Commit-ID: VywL0KoiMA
2017-04-20 23:34:55 +02:00
Kevin Jones
8593e2602b Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Wes Kocher
e66b36fd81 Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Joel Maher
12505893fc Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Andrew Swan
fb39d45627 Bug 1343498: Don't fail on unparseable host permissions r=kmag
MozReview-Commit-ID: BHIzjjz23N7
2017-04-14 16:45:10 -07: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
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +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
Gijs Kruitbosch
4d22728a9a Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
MozReview-Commit-ID: DUuYqamNMdT
2017-04-13 11:42:56 +01:00
Andrew Swan
c5c9303396 Bug 1352152 Fix several issues with optional webextension permissions r=kmag
1. Use the right strings in permission dialogs
2. Don't show permissions dialogs for non-promptable permissions
3. Enable dialogs by default

MozReview-Commit-ID: JJdxxcP7IeU
2017-04-10 19:12:23 -07:00
Wes Kocher
15e788d2f7 Merge inbound to central, a=merge 2017-04-12 14:39:09 -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
Chris Peterson
07aee24a74 Bug 1354778 - Remove expired telemetry probes PLUGIN_ACTIVATION_COUNT and PLUGIN_TINY_CONTENT. r=bsmedberg
As of Firefox 52, Flash is the only NPAPI plugin ever activated. As a keyed histogram for all plugin names, PLUGIN_ACTIVATION_COUNT telemetry is unwieldy to view. We can use the BLOCKED_ON_PLUGIN_INSTANCE_INIT_MS telemetry probe's sample count to track the number of Flash instantiations.

MozReview-Commit-ID: 62iGNLQ0nnE
2017-04-11 20:39:58 -07:00
Mark Striemer
3e713a9229 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5
2017-02-28 15:26:12 -06:00
Gijs Kruitbosch
0bb03c74c3 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H
2017-04-03 21:25:16 +01: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
Wes Kocher
0f1d144954 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Gijs Kruitbosch
0b280a0dd6 Bug 1352043 - attempt to fix intermittents by forcing an initial system load in HiddenFrames, r=kmag
MozReview-Commit-ID: 5iBIqPclToU
2017-04-10 15:55:53 +01: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
Andrew McCreight
d0b676b9b5 Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U
2017-04-07 08:48:58 -07:00
Phil Ringnalda
e0f09f93e6 Backed out changeset 3d1ad05d7b99 (bug 1353104) for Android bustage in test_chrome_ext_hybrid_addons.html 2017-04-07 13:39:54 -07:00
Gijs Kruitbosch
d7c46bd33b Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H
2017-04-03 21:25:16 +01:00
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
Benjamin Smedberg
8636d0ae7e Bug 1345905 - remove FLASH_PLUGIN_* telemetry, r=felipe
MozReview-Commit-ID: CgIvYJKLIHm
2017-03-09 10:46:18 -05:00
Gijs Kruitbosch
fb9ea4d4cf Bug 1347271 - log preloaded top sites in telemetry and update their naming, r=mak
MozReview-Commit-ID: 6q2H01aa42s
2017-03-22 13:23:15 +00:00
Andrew McCreight
908db6c633 Bug 1353174, part 2 - Fix up ContentObservers.js. r=Gijs
This is split into a separate patch in an attempt to get a better
diff.

MozReview-Commit-ID: L9AI3VD2pbV
2017-04-04 11:25:05 -07:00
Andrew McCreight
be157ecf4d Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg
2017-04-04 11:21:48 -07:00
Christoph Kerschbaumer
574344af6e Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book
4f3ecfe971 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
9a82733457 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02: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
Zack Herrick
50c0d3d538 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-29 11:52:08 -04: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
Nihanth Subramanya
94d812386f Bug 1349841 - Don't show "Never For This Session" option in web notification permission prompts in PBM. r=johannh
MozReview-Commit-ID: CLUfqRubjZ9
2017-03-23 11:37:30 +05:30
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
aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00