Commit graph

118 commits

Author SHA1 Message Date
Boris Zbarsky
1f3596354d Bug 1547923 part 2. Remove Promise::GlobalJSObject. r=mccr8
Promise::Compartment is unused.

The callers that want to call AutoJSAPI::Init can pass it an nsIGlobalObject,
which is actually _more_ efficient, since passing a JSObject just gets an
nsIGlobalObject from it and passes that.

Differential Revision: https://phabricator.services.mozilla.com/D29703

--HG--
extra : moz-landing-system : lando
2019-05-02 18:38:04 +00:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Liang-Heng Chen
808d8be324 Bug 1545604 - Update Origin Telemetry's gOriginList to contain safebrowsing hashes r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D28535

--HG--
extra : moz-landing-system : lando
2019-04-24 15:59:04 +00:00
Arpit
5bc34e8fef Bug 1531791 - Removed unused typedef StringToHistogramIdMap r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D27415

--HG--
extra : moz-landing-system : lando
2019-04-17 07:34:56 +00:00
Liang-Heng Chen
b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +00:00
Liang-Heng Chen
6b0c93a5f1 Bug 1543393 - shardIndex should not use ceil(); r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26909

--HG--
extra : moz-landing-system : lando
2019-04-11 18:47:28 +00:00
Michael Froman
0b07404bf5 Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

Differential Revision: https://phabricator.services.mozilla.com/D26566

--HG--
extra : moz-landing-system : lando
2019-04-09 21:13:16 +00:00
Chris H-C
edef257303 Bug 1527656 - Telemetry.recordEvent should not throw r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26380

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:03 +00:00
Georg Fritzsche
4ba158ce96 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS in Telemetry code r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D25934

--HG--
extra : moz-landing-system : lando
2019-04-03 16:30:00 +00:00
Chris H-C
926245cf74 Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

Differential Revision: https://phabricator.services.mozilla.com/D25283

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:50 +00:00
Chris H-C
19a6e337c5 Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:39 +00:00
Chris H-C
2339f1df9b Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

Differential Revision: https://phabricator.services.mozilla.com/D25129

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:31 +00:00
Chris H-C
6faf228f70 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

Differential Revision: https://phabricator.services.mozilla.com/D25127

--HG--
extra : moz-landing-system : lando
2019-04-02 16:58:17 +00:00
Narcis Beleuzu
46ef3ed81b Backed out 6 changesets (bug 1539262) for causing MinGW-Clang bustages
Backed out changeset 7c940e9caee9 (bug 1539262)
Backed out changeset a2f60534ffdb (bug 1539262)
Backed out changeset 0b750c9fbbdc (bug 1539262)
Backed out changeset c3872bfb8197 (bug 1539262)
Backed out changeset e3c8dbb5cb1d (bug 1539262)
Backed out changeset 43ee3d28167f (bug 1539262)
2019-04-02 16:04:07 +03:00
Chris H-C
d443a85cfe Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

Differential Revision: https://phabricator.services.mozilla.com/D25283

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:45 +00:00
Chris H-C
7655e3ca6f Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:28 +00:00
Chris H-C
ae0ff51e56 Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

Differential Revision: https://phabricator.services.mozilla.com/D25129

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:21 +00:00
Chris H-C
e36f525009 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

Differential Revision: https://phabricator.services.mozilla.com/D25127

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:10 +00:00
Eden Chuang
72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Yoshi Cheng-Hao Huang
edbc333422 Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
s/AutoValueVector/RootedValueVector/g

Depends on D23183

Differential Revision: https://phabricator.services.mozilla.com/D23184

--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
Cosmin Sabou
78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Eden Chuang
5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Chris H-C
1a669a8bbf Bug 1530481 - Support encoded snapshots in Firefox Origin Telemetry. r=janerik
The threading and promise handling is kept at the TelemetryImpl level
deliberately to facilitate testing. It also turns out that hangs/modules do
more-or-less the same split for their off-thread collection, so in
retrospect it is the obvious choice.

For the batch ID we're using the app build id as discussed.

Differential Revision: https://phabricator.services.mozilla.com/D22606

--HG--
extra : moz-landing-system : lando
2019-03-22 13:41:28 +00:00
Chris H-C
c7dc924461 Bug 1530481 - Sketch out Firefox Origin Telemetry's impl. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D21756

--HG--
extra : moz-landing-system : lando
2019-03-22 13:41:35 +00:00
Oana Pop Rus
bb62e13d5e Backed out 4 changesets (bug 1530481) for causing leacks on a CLOSED TREE
Backed out changeset 304549224738 (bug 1530481)
Backed out changeset 171275cc24fb (bug 1530481)
Backed out changeset 1dab9495422d (bug 1530481)
Backed out changeset 0ada21a3af93 (bug 1530481)
2019-03-21 21:02:52 +02:00
Chris H-C
7d87ebc0b0 Bug 1530481 - Support encoded snapshots in Firefox Origin Telemetry. r=janerik
The threading and promise handling is kept at the TelemetryImpl level
deliberately to facilitate testing. It also turns out that hangs/modules do
more-or-less the same split for their off-thread collection, so in
retrospect it is the obvious choice.

For the batch ID we're using the app build id as discussed.

Differential Revision: https://phabricator.services.mozilla.com/D22606

--HG--
extra : moz-landing-system : lando
2019-03-21 09:54:03 +00:00
Chris H-C
9f215ada83 Bug 1530481 - Sketch out Firefox Origin Telemetry's impl. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D21756

--HG--
extra : moz-landing-system : lando
2019-03-20 20:51:24 +00:00
Gabriele Svelto
619ed1e77e Bug 1536087 - Remove unnecessary StartupTimeline.h inclusion r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D23847

--HG--
extra : moz-landing-system : lando
2019-03-18 20:29:36 +00:00
jlashton
c25998b4da Bug 1513546 - Change error message for GetKeyedScalarByEnum lookup in ApplyKeyedScalarActions r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D23818

--HG--
extra : moz-landing-system : lando
2019-03-18 15:25:51 +00:00
Gurzau Raul
6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
Jan-Erik Rediger
125702c2b2 Bug 1527673 - Implement name method on JS histogram objects r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D21531

--HG--
extra : moz-landing-system : lando
2019-02-28 18:44:43 +00:00
Narcis Beleuzu
2d670be0df Backed out 2 changesets (bug 1527673) for ESlint failure on test_TelemetryHistograms.js . CLOSED TREE
Backed out changeset c30839448f54 (bug 1527673)
Backed out changeset 083231da8528 (bug 1527673)
2019-02-28 20:37:20 +02:00
Jan-Erik Rediger
e69ea6a493 Bug 1527673 - Implement name method on JS histogram objects r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D21531

--HG--
extra : moz-landing-system : lando
2019-02-28 15:40:30 +00:00
Ryan Hunt
6d8bc2e134 Bug 1523969 part 23 - Move method definition inline comments to new line in 'toolkit/'. r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21124

--HG--
extra : rebase_source : f44a8f1cd9e2e73b6bb2a994d9aeb42779d2d36f
extra : histedit_source : f39b1350e24c58104047e65f14883ee3f710a295
2019-02-25 16:12:51 -06:00
Jan-Erik Rediger
6a2419df19 Bug 1530361 - Properly check if child process is allowed r=chutten
RecordedProcessType::Main is always equal to 1 (now ensured by an assert).
`AllChildren` is always `All-1`.
The process type always has only a single bit set.
We can therefore reduce this to a simple bit check against the allowed values.

Differential Revision: https://phabricator.services.mozilla.com/D21021

--HG--
extra : moz-landing-system : lando
2019-02-25 18:27:32 +00:00
Chris H-C
fcae8c7f2b Bug 1501659 - Ensure child processes know which dynamic scalars were built-in. r=janerik
Depends on D19836

Differential Revision: https://phabricator.services.mozilla.com/D19837

--HG--
extra : moz-landing-system : lando
2019-02-15 19:47:44 +00:00
Sylvestre Ledru
e0c61dafa5 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Summary: # ignore-this-changeset

Reviewers: Ehsan

Reviewed By: Ehsan

Subscribers: emilio, jandem, bbouvier, jya

Bug #: 1519636

Differential Revision: https://phabricator.services.mozilla.com/D20062
2019-02-16 20:20:37 +01:00
Daniel Varga
1e9aa9e1fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 03:51:05 +02:00
Jan-Erik Rediger
c9edc914a9 Bug 1514392 - Use fallback process start time, even if inconsistent r=wlach,chutten
Differential Revision: https://phabricator.services.mozilla.com/D19645

--HG--
extra : moz-landing-system : lando
2019-02-14 16:02:12 +00:00
Christian Holler
40d009a2a5 Bug 1526328 - Disable Telemetry recording in FUZZING builds. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D19359

--HG--
extra : moz-landing-system : lando
2019-02-13 16:16:32 +00:00
Narcis Beleuzu
b4342f1667 Backed out changeset 442a1725c992 (bug 1526328) for build bustages on Telemetry.cpp. CLOSED TREE 2019-02-11 16:27:39 +02:00
Christian Holler
67dd5df98e Bug 1526328 - Disable Telemetry recording in FUZZING builds. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D19359

--HG--
extra : moz-landing-system : lando
2019-02-11 13:54:28 +00:00
Chris H-C
0e4f788996 Bug 1313327 - Add a C++ API for recording Telemetry Events. r=janerik
This isn't the most efficient implementation as it uses the enum parameter to
fetch the strings and then uses internal string APIs (which then get the enum
again), but it's the most straightforward impl with a smallish patch.

If this starts showing on profiles we can look into efficiency then.

Also, I'm not the biggest fan of how this uses a string API to enable recording
but that's what's used in the underlying API and storage so who am I to argue?

Differential Revision: https://phabricator.services.mozilla.com/D18692

--HG--
extra : moz-landing-system : lando
2019-02-08 11:35:01 +00:00
Chris H-C
e2b7d6e230 Bug 1313327 - Flatten the Telemetry Event enums. r=janerik
To support a non-templated API for recording events by enum, all the enum
values must be of the same type. Inheritence doesn't really seem to be a thing
in C++ enums, so that means flattening them all into a single, big enum the
way Scalars and Histograms work.

Alas.

Differential Revision: https://phabricator.services.mozilla.com/D18691

--HG--
extra : moz-landing-system : lando
2019-02-08 11:32:44 +00:00
Kris Maglione
6d47286458 Bug 1524687: Part 8 - Convert remaining toolkit modules to static registration. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D18403

--HG--
extra : rebase_source : 9200029151b677261c0bb16e7d874d56c20f88dc
extra : source : b9862758b98ccb95e90901258bcea159784c7483
2019-01-24 16:34:52 -08:00
Csoregi Natalia
ecd94d6986 Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)

--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
5328226b16 Bug 1524687: Part 8 - Convert remaining toolkit modules to static registration. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D18403

--HG--
extra : rebase_source : 9e44d8428aa1b2ba01b46e17964bca9d6f904367
2019-01-24 16:34:52 -08:00
Boris Zbarsky
d9fc29464f Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

Differential Revision: https://phabricator.services.mozilla.com/D17885

--HG--
extra : moz-landing-system : lando
2019-02-02 03:24:45 +00:00
Gurzau Raul
44e4d42e8a Backed out 7 changesets (bug 1521907) for failing at unit/test_bug1151385.js on a CLOSED TREE.
Backed out changeset ef04359ccf0d (bug 1521907)
Backed out changeset ac1c61bf61e9 (bug 1521907)
Backed out changeset df09b7be63c5 (bug 1521907)
Backed out changeset 585fa0024d46 (bug 1521907)
Backed out changeset e593c29aaff4 (bug 1521907)
Backed out changeset ac2e180a35b6 (bug 1521907)
Backed out changeset 270b1db9ea81 (bug 1521907)
2019-02-02 00:58:16 +02:00
Boris Zbarsky
aaacae7c45 Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

Differential Revision: https://phabricator.services.mozilla.com/D17885

--HG--
extra : moz-landing-system : lando
2019-02-01 18:49:04 +00:00