Commit Graph

19551 Commits

Author SHA1 Message Date
Sebastian Hengst
8c96c22f75 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Kris Maglione
0275d91832 Bug 1385880: Part 2 - Store promise returned by bootstrap startup method. r=aswan
This is also the first step in moving async startup/shutdown tracking into the
add-on manager.

MozReview-Commit-ID: Uf4ecSW77S
2017-08-04 13:20:36 -07:00
Kris Maglione
65f0669a7d Bug 1385880: Part 1 - Remove WebExtensionBootstrap.js. r=aswan
MozReview-Commit-ID: X4JoEC61TF
2017-08-04 23:12:24 -07:00
Doug Thayer
42d726322a Bug 1385396 - Cache early setExperimentActive calls r=gfritzsche
Calling setExperimentActive too early during startup can change
the order of some initialization. setExperimentActive probably
shouldn't have this kind of effect, so simply cache early calls
to it until gGlobalEnvironment has been initialized through other
functions.

Additionally, I am speculatively including work to ensure that
setExperimentInactive and getActiveExperiments have the same
behavior, while remaining correct by working from the same cache
that setExperimentActive uses.

MozReview-Commit-ID: IlzT1J0o6gK
2017-08-02 15:10:34 -07:00
Tim Nguyen
8c3d881f13 Bug 1342712 - Allow scoping a theme per-window. r=jaws
MozReview-Commit-ID: FYsmgz5qAjx
2017-08-04 20:08:57 +00:00
Tomislav Jovanovic
7424578610 Bug 1385864 - Drop invalid optional_permissions from manifests r=kmag
MozReview-Commit-ID: Df2wjNOTVkF
2017-08-04 00:26:50 +02:00
Sebastian Hengst
e5a6ff5037 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Georg Fritzsche
32ef5ba3ce Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=dexter 2017-07-27 07:19:00 -04:00
Georg Fritzsche
9385f14125 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.
2017-08-03 07:03:00 -04:00
Kate Ustiuzhanina
c5e7ca3c41 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-08-04 10:11:38 +01:00
Paolo Amadini
d1e1b518d1 Bug 1381411 - Implement the DownloadHistoryList object. r=mak
This also changes the Library window to use the newly added back-end object. The only user-visible change should be how the selection behaves when retrying downloads.

MozReview-Commit-ID: 7CQr1m21rcB
2017-08-04 14:48:53 +01:00
David Keeler
5b5ede8b27 bug 1386955 - update test_logins_decrypt_failure.js to work after fixing NSS bug 1379273 r=mossop
Before this patch, test_logins_decrypt_failure.js would essentially call
PK11_ResetToken and then PK11_ChangePW (via nsIPK11Token.reset and
nsIPK11Token.changePassword, respectively). This was never correct (after
PK11_ResetToken, the token has no password, so it can't be changed), and after
bug 1379273 this actually fails. The correct thing to do is PK11_ResetToken and
then PK11_InitPin (nsIPK11Token.initPassword).
2017-08-03 11:22:11 -07:00
Wes Kocher
8382b157bc Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
JerryShih
1d02e108f4 Bug 1368531 - Put the task gfxPlatformFontList::InitOtherFamilyNames() into idle queue. r=jfkthame
Add a boolean value in FindFamily() to check if gecko needs to defer the
InitOtherFamilyNames() task into idle queue.

Add a new telemetry data FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING for the
execution time of InitOtherFamilyNames() running regularly at main thread
instead of in idle queue.

MozReview-Commit-ID: A3YPDcHtXrX
2017-08-02 20:33:00 -04:00
Sebastian Hengst
099b25f815 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5MywkQxECqB
2017-08-03 11:46:00 +02:00
Masatoshi Kimura
c4753531a6 Bug 1313625 - Remove nsIScriptableDateFormat. r=jfkthame
MozReview-Commit-ID: C9Ek1aQRD2
2017-08-03 16:46:55 +09:00
steveck-chung
bb0f61d5b2 Bug 1387004 - Part 2: Record credit card enable state in TelemetryEnvironment. r=francois
MozReview-Commit-ID: EffoAFq8mc8
2017-08-03 18:29:47 +08:00
Kris Maglione
7a5899b259 Bug 1386937: Fix typo in initialization check. r=trivial
MozReview-Commit-ID: 7MD79wChHyG
2017-08-02 22:01:58 -07:00
Kris Maglione
c4d42444e0 Remove unused lazy imports. r=trivial (no bug)
MozReview-Commit-ID: rqUFJw7Wsb
2017-08-02 21:09:38 -07:00
Wes Kocher
5c702642f6 Merge m-c to inbound a=merge
MozReview-Commit-ID: 1p4eNdfSz9p
2017-08-02 17:46:32 -07:00
Wes Kocher
8ad489263c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Sebastian Hengst
9963c31b36 Backed out changeset e1d538cd1cf8 (bug 1368531) for bustage on Windows: 'gfxPlatformFontList::InitOtherFamilyNamesRunnable::Cancel': overriding virtual function differs from 'mozilla::CancelableRunnable::Cancel' only by calling convention. r=backout 2017-08-02 21:12:51 +02:00
Kate Ustiuzhanina
e616ddc4b1 Bug 1385931 - Add send failures types to documentation. r=gfritzsche 2017-08-02 11:54:37 +01:00
JerryShih
079b03e13d Bug 1368531 - Put the task gfxPlatformFontList::InitOtherFamilyNames() into idle queue. r=jfkthame
Add a boolean value in FindFamily() to check if gecko needs to defer the
InitOtherFamilyNames() task into idle queue.

Add a new telemetry data FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING for the
execution time of InitOtherFamilyNames() running regularly at main thread
instead of in idle queue.

MozReview-Commit-ID: A3YPDcHtXrX
2017-08-01 01:07:00 -04:00
Kris Maglione
81d6b6f832 Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
MozReview-Commit-ID: KgqAKMLmuTI
2017-08-02 12:49:25 -07:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Marco Bonardo
445956b9d1 Bug 1386540 - Remove deprecated and unused methods from PlacesUtils. r=standard8
MozReview-Commit-ID: 2am7bx3pGRc
2017-08-02 14:24:16 +02:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
c4ad0ce869 Backed out changeset c0ab60d3c1f8 (bug 1375490) for failing browser_ext_popup_corners.js on OSX and Windows. r=backout on a CLOSED TREE 2017-08-02 13:12:55 +02:00
Nicholas Nethercote
c5d67f0fc9 Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium.
MozStackWalk() is different on Windows to the other platforms. It has two extra
arguments, which can be used to walk the stack of a different thread.

This patch makes those differences clearer. Instead of having a single function
and forbidding those two arguments on non-Windows, it removes those arguments
from MozStackWalk, and splits off MozStackWalkThread() which retains them. This
also allows those arguments to have more appropriate types (HANDLE instead of
uintptr_t; CONTEXT* instead of than void*) and names (aContext instead of
aPlatformData).

The patch also removes unnecessary reinterpret_casts for the aClosure argument
at a couple of MozStackWalk() callsites.
2017-07-27 12:46:47 +10:00
Kris Maglione
23871a6c13 Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
MozReview-Commit-ID: KgqAKMLmuTI
2017-08-01 15:28:25 -07:00
Alexandre Poirot
db0629c2f3 Bug 1386299 - Make WebExtension use toolkit's EventEmitter instead of DevTools one. r=rpl
MozReview-Commit-ID: 2w1ndV1g1h1
2017-08-03 15:07:05 +02:00
Rob Wu
37467a9494 Bug 1362448 - Support "incognito" in downloads.create r=aswan
MozReview-Commit-ID: HN3x6eFT9xB
2017-07-14 17:14:18 +02:00
Mark Banner
26cb05f6da Bug 1094812 - Remove now unused PlacesTransactions.RemoveBookmarksForUrls. r=mak
MozReview-Commit-ID: HFAQCIbbT5E
2017-07-31 16:26:21 +01:00
Bob Silverberg
7ca1f24ce4 Bug 1339550 - Implement browser.settings.allowPopupsForUserEvents, r=aswan
This will modify the "dom.popup_allowed_events" preference to control whether events from
user actions are allowed to open pop-up windows or not. If set to `false` then pop-ups from
user actions will not be allowed and will result in a doorhanger being displayed informing
the user that a pop-up was blocked. If set to `true` then all of the default events
will be allowed to open pop-up windows.

MozReview-Commit-ID: 8UFziq23zug
2017-07-31 16:46:36 -04:00
Wes Kocher
b99a449aab Merge m-c to autoland, a=merge
MozReview-Commit-ID: LFuPHJf6OyA
2017-08-01 18:09:08 -07:00
Wes Kocher
d0a62bfc22 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2tRGdPKIBj4
2017-08-01 13:17:43 -07:00
Wes Kocher
9c5cac286c Merge inbound to central, a=merge
MozReview-Commit-ID: 6SriUFkS6u7
2017-08-01 13:17:21 -07:00
Dean
deb71c0ef5 Bug 1381470 - Added a less memory consuming method to tell if a histogram is empty. r=chutten 2017-07-31 21:38:48 +02:00
Kris Maglione
4e26cbfb44 Bug 1380267: Add 1s max delay to extension shutdown blocker. r=aswan
MozReview-Commit-ID: GqFPiVVgXUs
2017-07-31 12:02:23 -07:00
Andrew Osmond
6f97be32a4 Bug 1383404 - Part 5. PageIconProtocolHandler should set the content length when creating a channel. r=mak 2017-08-01 06:59:12 -04:00
Sebastian Hengst
153a945725 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Phil Ringnalda
9faf750b95 Backed out changeset 4446ecfee3d7 (bug 1385417) for Win8 permaorange in test_TelemetryHealthPing.js
MozReview-Commit-ID: 9icHWi2MI0M
2017-07-31 22:19:35 -07:00
Francois Marier
d33e0251eb Bug 1386013 - Log an error when Safe Browsing times out. r=hchang
MozReview-Commit-ID: A99ov9T7rtm
2017-07-31 20:29:25 -07:00
Nicholas Nethercote
01d077755d Bug 1384834 (part 2) - Remove remaining uses of nsAdoptingCString. r=erahm. 2017-07-28 11:21:47 +10:00
Wes Kocher
3f50b11fc9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Wes Kocher
11c90747d8 Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
fbbb4fbe67 Bug 1357517 - Remove unneeded ternary operators to fix eslint failure. r=me 2017-07-31 16:23:15 +02:00
Marco Castelluccio
ce56433409 Bug 1357517 - TelemetrySend crash annotations are controlled by TelemetryEnabled pref on Android, FhrUploadEnabled on other platforms. r=me 2017-07-31 15:53:10 +02:00
Andrew Swan
ab32078a6b Bug 1350151 Part 3: Use requireUserInput for downloads.open() r=kmag
MozReview-Commit-ID: GhXBZ5sWlRt
2017-07-25 23:01:05 -07:00