Luke Wagner
9b038447f4
Bug 1347644 - Simplify/rename JS::AsyncTask (r=till,bkelly,mccr8)
...
MozReview-Commit-ID: BahNzYPv0AO
2017-08-16 14:38:53 -05:00
Carsten "Tomcat" Book
eea1986e03
merge mozilla-inbound to mozilla-central a=merge
2017-08-16 11:23:24 +02:00
Nicholas Nethercote
4d15e13fc4
Bug 1390036 (part 3) - Remove nsXPIDLString. r=erahm.
...
--HG--
extra : rebase_source : 87094fef8b919094926ec1be26867985a7fe8708
2017-08-14 15:25:04 +10:00
Nicholas Nethercote
64c9cd5e75
Bug 1390036 (part 2) - Remove nsXPIDLString use from NullString(). r=dbaron.
...
This requires adding a new constructor for ns[C]String that can be used to
create an IsVoid string.
--HG--
extra : rebase_source : 8cb078bd0a41e63af0d9d144b9eef369875a05e0
2017-08-14 14:46:53 +10:00
Michael Layzell
65ece3dba5
Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj
...
HangAnnotations was very complex, required a separate allocation, and used this
unfortunate virtual interface implementation which made it harder to do
interesting things with it (such as serialize it over IPC).
This new implementation is much simpler and more concrete, making
HangAnnotations simply be a nsTArray<Annotation>. This also simplifies some of
the IPC code which was added in part 7.
MozReview-Commit-ID: EzaaxdHpW1t
2017-08-15 16:35:46 -04:00
Michael Layzell
916fbaa397
Bug 1380081 - Part 5: Add some helper methods to HangAnnotations, r=froydnj
...
These will be used to implement IPC serialization and deserialization of the
HangDetails object to send over IPC. This is a temporary measure as
HangAnnotations is rewritten in part 11.
MozReview-Commit-ID: 1WHNvhDrMF5
2017-08-15 16:35:06 -04:00
Michael Layzell
b7564c8ece
Bug 1380081 - Part 4: Move BHR into its own component, r=froydnj
...
MozReview-Commit-ID: 7TOGofAYM6W
--HG--
rename : xpcom/threads/BackgroundHangMonitor.cpp => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.cpp
rename : xpcom/threads/BackgroundHangMonitor.h => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.h
rename : toolkit/components/telemetry/ThreadHangStats.h => toolkit/components/backgroundhangmonitor/ThreadHangStats.h
rename : xpcom/threads/ThreadStackHelper.cpp => toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp
rename : xpcom/threads/ThreadStackHelper.h => toolkit/components/backgroundhangmonitor/ThreadStackHelper.h
rename : xpcom/threads/nsIHangDetails.idl => toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
2017-08-15 16:35:00 -04:00
Michael Layzell
cd973809f7
Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
...
MozReview-Commit-ID: EtrktVmc3vP
2017-08-15 16:34:21 -04:00
Andrew Osmond
42266555ed
Bug 1389479
- Part 1. Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete. r=froydnj
2017-08-15 15:02:14 -04:00
Wes Kocher
3945278423
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Valentin Gosu
97a44a506c
Bug 1369317 - Filter and escape URI string in only one pass r=mcmanus
...
MozReview-Commit-ID: KU4C4cS3jZC
--HG--
extra : rebase_source : 4995b4d8a133b8568af5b130be2077ee90f8b4e4
2017-08-13 10:03:34 +02:00
Masatoshi Kimura
f7fb96c7e5
Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
...
MozReview-Commit-ID: ErqU4M1f7Oj
--HG--
extra : rebase_source : 968490c3f787949324c44ba75b6daf5c346f54c3
2017-08-14 20:46:55 +09:00
Bill McCloskey
268004b056
Bug 1382172
- Compute names for all JS-implemented XPCOM objects (r=mrbkap)
...
MozReview-Commit-ID: 4kPbqOpGYnq
2017-08-14 22:42:42 -07:00
Phil Ringnalda
6bfeb0577d
Backed out changeset c0c52209c8f2 (bug 1382172
) for static build bustage
...
CLOSED TREE
MozReview-Commit-ID: 9GzjXjoIrp5
2017-08-14 22:23:57 -07:00
Kris Maglione
1e4b0c194f
Bug 1389848: Make isServiceInstantiated*() return false rather than throw for uninstantiated services. r=ehsan
...
MozReview-Commit-ID: J8w7eQ6R3eS
--HG--
extra : rebase_source : 5fabd584d645267b72bbcd15bbdfc01dd15f2386
2017-08-12 16:15:19 -07:00
Bill McCloskey
96944ff355
Bug 1382172
- Compute names for all JS-implemented XPCOM objects (r=mrbkap)
...
MozReview-Commit-ID: 4kPbqOpGYnq
2017-08-14 21:10:14 -07:00
Bevis Tseng
b31fd1ee95
Backed out changeset c29f8828b859
...
--HG--
extra : rebase_source : 4a32c7d30c128dd9041e209c6226030c7fba567c
2017-08-15 10:45:28 +08:00
Bevis Tseng
41242cf89a
Bug 1367497 - Part 1: Improve Error Handling in {Add|Remove}ObjectLocked(). r=froydnj
...
MozReview-Commit-ID: 6ecIS6PnVdj
--HG--
extra : source : 0a273c823e19e1048d78f9e6b1ddedf8cc034bd6
2017-05-26 14:36:17 +08:00
Sebastian Hengst
7b4e0b8924
Backed out changeset 0a273c823e19 (bug 1367497) for intermittently crashing in mochitest-chrome-3's layout/style/test/chrome/test_stylesheet_clone_import_rule.html on debug. r=backout
2017-08-15 18:47:29 +02:00
Bevis Tseng
c12623dcbe
Bug 1367497 - Part 1: Improve Error Handling in {Add|Remove}ObjectLocked(). r=froydnj
...
MozReview-Commit-ID: 6ecIS6PnVdj
2017-05-26 14:36:17 +08:00
Wes Kocher
7a772df5bf
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: BYZASFIrXxp
2017-08-14 17:58:17 -07:00
Masatoshi Kimura
e698863015
Bug 1389702 - Remove MOZ_DEPRECATED. r=froydnj
...
MozReview-Commit-ID: 4pOKIFXc4wa
--HG--
extra : rebase_source : 57d503f2253d87fbd422e28c34f49e48115be478
2017-08-13 21:00:10 +09:00
Bevis Tseng
4b1a41e00e
Bug 1367497 - Part 1: Improve Error Handling in {Add|Remove}ObjectLocked(). r=froydnj
...
MozReview-Commit-ID: 6ecIS6PnVdj
2017-05-26 14:36:17 +08:00
Ehsan Akhgari
047b7f969e
Bug 1384821 - Optimize inherited cycle-collectible QueryInterface() implementations for nsCycleCollectionISupports; r=peterv
2017-08-14 12:42:01 -04:00
Michael Layzell
ba3aeb0481
Bug 1365309 - Part 2: re-enable BHR on linux, r=froydnj
...
MozReview-Commit-ID: BtRZecG4IYA
2017-08-14 10:05:24 -04:00
Sebastian Hengst
416a65a57f
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-08-14 01:34:42 +02:00
Sebastian Hengst
d98ea1f774
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: FzIkMLHbOh2
2017-08-14 01:30:32 +02:00
Masatoshi Kimura
69ccb403f8
Bug 1387803
- Remove the [deprecated] annotation from XPIDL. r=froydnj
...
MozReview-Commit-ID: 1TOAHAgyf1y
--HG--
extra : rebase_source : a8c33671400fab266cf0a86f3f87eeba589b0125
2017-08-06 14:25:57 +09:00
Sebastian Hengst
56c035fa36
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Michael Layzell
8d41010aea
Bug 1389252 - Disable BHR in beta, r=froydnj
...
MozReview-Commit-ID: K98DceJ2uHz
2017-08-11 17:50:13 -04:00
Eric Rahm
ee8cbfef96
Bug 1382001 - Part 1: Handle gperf-like preamble in make_dafsa. r=froydnj
...
This updates make_dafsa.py to include anything preceding the first '%%' in the
generated header.
For example:
> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
> %%
> foo.bar.com, 1
> %%
Would generate:
> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
>
> const unsigned char kDafsa[] = {
> ...
> };
MozReview-Commit-ID: 1oR3ssnlUyA
2017-08-11 14:12:03 -07:00
Wes Kocher
5a4357c768
Merge inbound to central, a=merge
...
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Kris Maglione
9b1d6490e3
Bug 1384689: Add a helper for adding dynamic chrome registry entries. f=Mossop r=froydnj
...
I went with the simplest possible approach here, and only added support for
"locale" and "override" entries, since we don't expect this to stick around
very long.
MozReview-Commit-ID: IDQ86s3jgnu
--HG--
extra : rebase_source : 32cfcfad667d2cb82be6acd1e0a42ca1854b7691
2017-08-03 20:32:25 -07:00
Masatoshi Kimura
4c76bc32c0
Bug 1389566 - Remove @deprecated nsIBrowserBoxObject. r=bkelly
...
MozReview-Commit-ID: 7olN9TBFG5B
--HG--
extra : rebase_source : 7b56ed6c89beb946d733c46dee44d6035554730e
2017-08-12 02:19:44 +09:00
Wes Kocher
cff9e9b197
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Wes Kocher
936a9461f6
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: KRQeIGmhAPA
2017-08-10 18:14:34 -07:00
Sebastian Hengst
51d351f567
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-08-10 17:41:11 +02:00
Valentin Gosu
b3e75dbf06
Bug 1386683 - Do not escape the `'` character in the URL hash r=junior
...
MozReview-Commit-ID: DkoDvWGbWfu
--HG--
extra : rebase_source : 22de804e82136114a0688ce271cac8c49f8c4f23
2017-08-06 11:13:04 +02:00
Bill McCloskey
a7bc022071
Bug 1384336 - Stop using OS-level event loop in content process (r=mstange)
...
MozReview-Commit-ID: 1ouSlgGchWl
2017-08-09 21:24:20 -07:00
Stone Shih
4e8f0045a9
Bug 1351148 Part10: nsChainedEventQueue::PutEvent should always put high priority event in mHighQueue. r=smaug.
...
MozReview-Commit-ID: H6TV9bdm6QM
2017-07-26 10:52:06 +08:00
Sylvestre Ledru
8c03b39a29
Bug 1387002 - Replace .size() by .empty() when applicable in xpcom/ r=froydnj
...
MozReview-Commit-ID: LWzpVGVV7Py
--HG--
extra : rebase_source : 1e3aa342a096afcdd194b1272ac693b225081599
2017-08-03 12:08:32 +02:00
Kyle Machulis
649634a721
Bug 1387184 - Remove nsIDOMHTMLEmbedElement; r=bz
...
Removes nsIDOMHTMLEmbedElement and all references. HTML elements are
now handled by WebIDL. With the deprecation of extensions, XPCOM
interfaces to HTML elements are no longer needed.
MozReview-Commit-ID: DI4XVvdgPDI
--HG--
extra : rebase_source : 74bd92619e3d1db04c3dd40ec3022474fe1d647c
2017-08-09 12:05:08 -07:00
Ryan VanderMeulen
64905fbd5a
Backed out changesets 19b8d672b55d and 2980183d98fb (bug 1362338) for hazard analysis failures.
2017-08-09 21:12:28 -04:00
Emilio Cobos Álvarez
ea4858c92f
Bug 1362338: followup: Tentatively fix windows build bustage. r=me
...
Windows apparently uses __stdcall for this, so need to use the ugly macros...
MozReview-Commit-ID: 4J27sCYwdHg
2017-08-09 14:45:37 +02:00
Emilio Cobos Álvarez
300ebe9ee1
Bug 1362338: Make nsIAtom::AddRef and nsIAtom::Release final. r=froydnj
...
MozReview-Commit-ID: CFWcSNocGIm
2017-08-09 14:20:17 +02:00
Emilio Cobos Álvarez
e99fdbe52e
Bug 1362338: Take a bit from the atom's length to store a tristate. r=froydnj
...
MozReview-Commit-ID: Elu9EioSDXk
2017-08-09 14:19:30 +02:00
Emilio Cobos Álvarez
a7d696a18f
Bug 1362338: Preliminary whitespace cleanup in nsIAtom.idl. r=froydnj
...
MozReview-Commit-ID: DN2tN0OMWEk
2017-08-09 14:18:15 +02:00
Phil Ringnalda
858a553b02
Backed out 2 changesets (bug 1386103) for Android x86 build bustage
...
Backed out changeset eec506d87d03 (bug 1386103)
Backed out changeset 3f9ec011c9bd (bug 1386103)
MozReview-Commit-ID: 8ak71R7vUOC
2017-08-08 22:08:54 -07:00
Nicholas Nethercote
7512aa2dea
Bug 1386103 (part 2) - Convert nsFixed[C]String uses to nsAuto[C]String. r=erahm.
...
In all of these cases the fixed buffer has the same lifetime as the string
object, so we can use nsAuto[C]String for simplicity.
For the 128-length ones in dom/xul/ I just switched to the default of 64 for
simplicity, because the choice of 128 didn't seem that important. (These code
paths weren't hit when I started the browser and opened a few sites.)
Finally, the patch also changes LoggingIdString to use
nsAutoCStringN<NSID_LENGTH>, similar to NullPrincipalURI.
2017-08-01 11:58:56 +10:00
Nicholas Nethercote
e9daf4d245
Bug 1386103 (part 1) - Specify nsAuto[C]String storage size via template parameter. r=dbaron.
...
This patch parameterizes nsAuto[C]String, renames them as nsAuto[C]StringN, and
redefines nsAuto[C]String as typedefs for nsAuto[C]StringN<64>.
(The alternative would be to templatize nsAuto[C]String and use a default
parameter, but that would require writing "nsAuto[C]String<>" everywhere.)
2017-08-01 11:58:45 +10:00