Commit Graph

147211 Commits

Author SHA1 Message Date
Simone Carletti
e248caa61d Bug 910095 - update .sv and .om in PSL, and relevant test. r=gerv.
--HG--
extra : rebase_source : a6866a18f959f15af84640e1efa935b1e16ca415
2013-09-17 17:51:49 +01:00
Simone Carletti
3a55bc1867 Bug 912464 - update PSL for .ar. r=gerv.
--HG--
extra : rebase_source : ac1d0137c965018ab3ad1637a62a8e185861a00e
2013-09-17 17:56:51 +01:00
Terrence Cole
77df39999e Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Camilo Viecco
546a202c87 Bug 916226: Enable ecdhe AES128 CGM ciphers in psm now that nss support them. r=bsmith
--HG--
extra : rebase_source : 82379823637ef6cda9ffd8765881ff30a76b5b46
2013-09-16 15:43:05 -07:00
Nikhil Marathe
23bfe209f1 Bug 867614 - SimplePush: Failure to register should lead to socket reconnection. r=dougt
--HG--
extra : rebase_source : 798bf44e8e63c07692f91c5af526f962041bb518
2013-09-17 10:10:36 -07:00
Benoit Girard
2a60684be8 Bug 916259 - Make it easier to dump layer tree from opt & mobile. r=jrmuizel 2013-09-13 15:44:29 -04:00
Ehsan Akhgari
a92a47810e Bug 917301 - Remove some dead code in layout/; r=dholbert 2013-09-17 13:02:02 -04:00
Jeff Walden
ddb31f55b2 Bug 912701 - Expand some Intl self-hosting assertion messages to aid in debugging-by-eye. r=trivial
--HG--
extra : rebase_source : 736ee90d527ea2b44cc3929e0ba7a40947842a0b
2013-09-16 14:26:56 -07:00
Jeff Walden
04d13243c9 Bug 916394 - Remove the |it| object from the shell: everything it tests is better-tested with a JSAPI test these days, and it's largely redundant. r=jorendorff
--HG--
extra : rebase_source : f97d63fdf89a0eacf0f2e091fc3f64aa590371eb
2013-09-12 15:45:43 -07:00
Tom Schuster
58d1d4beba Bug 916534 - Test for find highlight should work in subframes. r=mikdeboer 2013-09-17 12:54:35 -04:00
Tom Schuster
0e33aaaa25 Bug 916534 - Find Highlight should work in subframes. r=mikdeboer 2013-09-17 12:54:35 -04:00
Tom Schuster
a3b259dd77 Bug 916864 - When bluring the findbar, remove the selections and don't focus content. r=mikedeboer 2013-09-17 12:54:34 -04:00
Tom Schuster
4c469dec3d Bug 914353 - Throw an error if call to GetRandomValues fails. r=khuey 2013-09-17 12:54:34 -04:00
Tom Schuster
3f1f05810b Bug 914353 - Use the new window.crypto implementation in e10s. r=khuey 2013-09-17 12:54:34 -04:00
Ehsan Akhgari
d2564b10a0 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Bobby Holley
8f78b2faeb Bug 905926 - Remove workaround in xpcshell. r=billm 2013-09-17 09:46:33 -07:00
Bobby Holley
c8872347c9 Bug 905926 - Be more explicit about GCing twice in the nsXPConnect destructor. r=billm
In the current setup, we'll end up GCing once when destroying the SafeJSContext,
and then once again immediately after in the explicit GC we do before destroying
the XPCJSRuntime. It would be nice to avoid the first GC entirely, but we
currently need both to avoid leaking.

All in all, these patches cause us to GC three times during shutdown, rather
than twice as we did before, because the second GC was rolled together with
the runtime destruction GC when we destroyed the last JSContext. There are a
number of ways to eliminate these, at least in opt builds, but mccr8 thinks
it probably doesn't matter, since there shouldn't be much left in the heap after
the second GC.

We can probably get away with eliminating rambo GC entirely at some point. But
this might become irrelevant for the browser if we end up doing bug 662444.

It would also be interesting to see what, if anything, the rambo GC actually
collects. We might even be able to get away with asserting that all the zones
are gone and removing the GC entirely.

We also take the opportunity to kill mOwnSafeJSContext, which no longer holds
any meaning.
2013-09-17 09:46:32 -07:00
Bobby Holley
c0d1afa8de Bug 905926 - Stop using hasContexts(). r=billm,jonco
This patch is a joint effort between billm and myself. I'm marking myself as
the author because I worked on it more recently, which means that Bill should
probably review it again in addition to jonco, and self-review is frowned upon.

There were a few places where we relied on !rt->hasContexts() to mean
"this is the last GC". That was never really valid, and it especially isn't
valid with the previous patch. This patch replaces the check everywhere it's
used in the GC.
2013-09-17 09:46:32 -07:00
Bill McCloskey
a3fd52315b Bug 905926 - Move rambo GC to runtime destruction. r=jonco 2013-09-17 09:46:32 -07:00
Bobby Holley
42c719e380 Bug 905926 - Remove watchpoints on all compartments during shutdown, not just the cx compartment. r=billm 2013-09-17 09:46:32 -07:00
Bobby Holley
ac7034ec92 Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm 2013-09-17 09:46:31 -07:00
Bobby Holley
672d08bf20 Bug 905926 - Stop creating an ephemeral JSContext during XPConnect shutdown. r=billm
This interacts badly with our attempts to shut things down nicely, and happens
to be entirely unused. the primary impact of it ends up being that the cx
destruction triggers a GC, which we depend on. But we can do that manually.
2013-09-17 09:46:31 -07:00
Bobby Holley
d09c3fcc99 Bug 905926 - Explicitly track whether a context has been created. r=billm
The current mechanism is pretty sloppy, and falls over if the context count ever
drops to zero and then increases again. Let's do this right.
2013-09-17 09:46:31 -07:00
Bill McCloskey
c6adde8957 Bug 905926 - Fix small bugs. r=jonco
This patch fixes two small issues.

(1) It tightens an assertion in finalizeNow. Stuff finalized in finalizeNow
    should never be finalized off the main thread, so we shouldn't have to
    worry about BFS_JUST_FINISHED.

(2) If the only compartment that's left to GC is the atoms compartment, then
    we're not collecting it. I just moved the |any| check down below the
    code that decides whether to schedule the atoms compartment for GC.
2013-09-17 09:46:31 -07:00
Bobby Holley
20e00df790 Bug 916983 - Stop allowing writes for named access to cross-origin properties. r=bz 2013-09-17 09:46:30 -07:00
Bobby Holley
8ee4b2529c Bug 860494 - Tests. r=bz 2013-09-17 09:46:30 -07:00
Ehsan Akhgari
4da4ab7720 Bug 917348 - Part 2: Use NS_ASSERT_OWNINGTHREAD instead of using _mOwningThread directly; r=bsmedberg
--HG--
extra : rebase_source : 42bade39ec058881c4c82542af35f13e9f54fb1d
2013-09-17 12:34:47 -04:00
Ehsan Akhgari
d4b0483708 Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg
--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
2013-09-17 12:05:13 -04:00
Mark Banner
2024631aeb Bug 916026 Set the expected plugin state at the start of the test to avoid issues with different apps having different preferences set. r=dkeeler 2013-09-17 09:42:39 -07:00
Eitan Isaacson
0be41e0d7e Bug 904687 - Introduce Svox Pico speech synthesis service. r=smaug f=gps
- moz.build updates.
 - Use nsISupports thread-safe decleration macros.
 - Also with PicoVoice, changed to thread-safe add/remove ref macro. We are now creating them off main thread.
 - Do initialization off main thread, but go back to main thread to register the voices.
2013-09-17 09:40:07 -07:00
Ehsan Akhgari
a1158bad50 Bug 917267 - Remove some unneeded code in xpconnect; r=bholley 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
32841d7ffc Bug 917302 - Remove some dead code in embedding/; r=bsmedberg 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
381203f2fb Bug 917304 - Remove some dead code in docshell/; r=bzbarsky 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
e405bd80a2 Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Ed Morley
4ff4e8564b Backed out changeset 58dbd84ae828 (bug 917246) for crashes on a CLOSED TREE 2013-09-17 17:24:30 +01:00
Ed Morley
00f3b24a4a Backed out changeset 9524b1df278e (bug 908669) 2013-09-17 17:14:58 +01:00
Ed Morley
e41d9b2e38 Backed out changeset fb89f2090779 (bug 881959) 2013-09-17 17:14:55 +01:00
Ed Morley
df60e95b67 Backed out changeset fe576415129e (bug 881959) 2013-09-17 17:14:52 +01:00
Ed Morley
0a09374bb8 Backed out changeset 5e5d5e42f6c2 (bug 881959) 2013-09-17 17:14:49 +01:00
Ed Morley
f4ceaf273d Backed out changeset b221626331b4 (bug 881959) 2013-09-17 17:14:45 +01:00
Ed Morley
8c4903c766 Backed out changeset 2aa38a1a2b06 (bug 881959) 2013-09-17 17:14:42 +01:00
Ed Morley
1cc15c93a8 Backed out changeset 3d2aac8dc618 (bug 916773) 2013-09-17 17:14:39 +01:00
Ed Morley
20c76f3425 Backed out changeset ade49a801461 (bug 881959) 2013-09-17 17:14:36 +01:00
Ed Morley
e332c5a8a3 Backed out changeset 4323508b3412 (bug 917260) 2013-09-17 17:14:33 +01:00
Ed Morley
70e1eecd37 Backed out changeset 924b0619e616 (bug 881959) 2013-09-17 17:14:29 +01:00
Ed Morley
d18e1da31d Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Ed Morley
4beae2a7f1 Backed out changeset 7469a58a5f3d (bug 908669) 2013-09-17 17:14:23 +01:00
Paul Adenot
184f41b451 Bug 908669 - Remove an unrelated chunk that sneaked in, on a CLOSED TREE. 2013-09-17 17:30:30 +02:00
Paul Adenot
be744b48ec Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Boris Zbarsky
9cc662a2d6 Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky 2013-09-17 11:16:02 -04:00