Commit Graph

147200 Commits

Author SHA1 Message Date
Tom Schuster
9a5a2fb0c3 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
fd2209b6e6 Bug 914353 - Throw an error if call to GetRandomValues fails. r=khuey 2013-09-17 12:54:34 -04:00
Tom Schuster
e512bc4ffb Bug 914353 - Use the new window.crypto implementation in e10s. r=khuey 2013-09-17 12:54:34 -04:00
Ehsan Akhgari
ef3770d249 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Bobby Holley
14890f5c3c Bug 905926 - Remove workaround in xpcshell. r=billm 2013-09-17 09:46:33 -07:00
Bobby Holley
e6da6b2483 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
db0f1b2486 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
405434ea57 Bug 905926 - Move rambo GC to runtime destruction. r=jonco 2013-09-17 09:46:32 -07:00
Bobby Holley
1ad8df102b 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
c681efb5f2 Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm 2013-09-17 09:46:31 -07:00
Bobby Holley
f52162ac7e 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
c7e7c05aa3 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
abdd2621a2 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
04cc7dffd1 Bug 916983 - Stop allowing writes for named access to cross-origin properties. r=bz 2013-09-17 09:46:30 -07:00
Bobby Holley
f8051a0c81 Bug 860494 - Tests. r=bz 2013-09-17 09:46:30 -07:00
Ehsan Akhgari
6557b64946 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
f2b19490e5 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
0837121b5e 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
f03f348ad5 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
e748e79566 Bug 917267 - Remove some unneeded code in xpconnect; r=bholley 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
1b5b1b4de9 Bug 917302 - Remove some dead code in embedding/; r=bsmedberg 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
bf77bae213 Bug 917304 - Remove some dead code in docshell/; r=bzbarsky 2013-09-17 12:38:56 -04:00
Ehsan Akhgari
ff292be3eb Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Ed Morley
cb991ebb51 Backed out changeset 58dbd84ae828 (bug 917246) for crashes on a CLOSED TREE 2013-09-17 17:24:30 +01:00
Ed Morley
a3ff7956ba Backed out changeset 9524b1df278e (bug 908669) 2013-09-17 17:14:58 +01:00
Ed Morley
6a8bde5bc5 Backed out changeset fb89f2090779 (bug 881959) 2013-09-17 17:14:55 +01:00
Ed Morley
f2619af990 Backed out changeset fe576415129e (bug 881959) 2013-09-17 17:14:52 +01:00
Ed Morley
845ddef04c Backed out changeset 5e5d5e42f6c2 (bug 881959) 2013-09-17 17:14:49 +01:00
Ed Morley
fc3dc2a135 Backed out changeset b221626331b4 (bug 881959) 2013-09-17 17:14:45 +01:00
Ed Morley
14cbc2101a Backed out changeset 2aa38a1a2b06 (bug 881959) 2013-09-17 17:14:42 +01:00
Ed Morley
1b19fad168 Backed out changeset 3d2aac8dc618 (bug 916773) 2013-09-17 17:14:39 +01:00
Ed Morley
b566ba4f8e Backed out changeset ade49a801461 (bug 881959) 2013-09-17 17:14:36 +01:00
Ed Morley
6013f526dd Backed out changeset 4323508b3412 (bug 917260) 2013-09-17 17:14:33 +01:00
Ed Morley
8ff05e11a4 Backed out changeset 924b0619e616 (bug 881959) 2013-09-17 17:14:29 +01:00
Ed Morley
5ec4d375ee Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Ed Morley
934ad01583 Backed out changeset 7469a58a5f3d (bug 908669) 2013-09-17 17:14:23 +01:00
Paul Adenot
aaab9cfc05 Bug 908669 - Remove an unrelated chunk that sneaked in, on a CLOSED TREE. 2013-09-17 17:30:30 +02:00
Paul Adenot
35cd2c5606 Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Boris Zbarsky
ef66ca3e72 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
Boris Zbarsky
f433995200 Bug 916995. Force a gc that we hope will collect the event listener's script, instead of just hoping a GC will happen. r=past 2013-09-17 11:15:45 -04:00
Trevor Saunders
65a89a70c5 bug 888981 - add Accessible::IsAcceptableChild() r=surkov
this patch does several things
- makes DocAccessible::BindToDocument return void the only case in which
  it would "fail" was when passed null, and we know none of the callers
do that.
- adds Accessible::IsAcceptableChild() which returns true if its ok for
  the possible child to be a child of this accessible.
- replace several over rides of Accessible::CacheChildren() that are
  only to prevent certain types of children to over rides of
Accessible::IsAcceptableChild()
2013-09-06 15:27:07 -04:00
Geoff Brown
b7b2ba5787 Bug 913627 - Disable a few more media mochitests on Android x86 only; r=jmaher 2013-09-17 08:55:03 -06:00
Dan Minor
19591cf9e2 Bug 907351 - Android pandaboard reftests run significantly slower; r=gbrown 2013-09-16 06:54:39 -04:00
Aryeh Gregor
29f6c717cd Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan 2013-09-17 14:05:12 +03:00
Brian Hackett
fd18d7f13c Bug 916914 - Remove ScriptAnalysis::ionInlineable(), r=jandem. 2013-09-17 08:39:01 -06:00
Ed Morley
cdd4002812 Merge mozilla-central and inbound 2013-09-17 15:30:21 +01:00
Paul Adenot
136940c8bc Bug 881959 - Fix inbound bustage on XP. 2013-09-17 16:25:13 +02:00
Andrea Marchesini
f7e05b1545 Bug 917254 - Only enable MessageEvent.ports when MessagePort is enabled; r=smaug 2013-09-17 10:26:23 -04:00
Alex Keybl
9312d29ec1 Merging in version bump NO BUG 2013-09-17 09:38:37 -04:00
Alex Keybl
e974fd841e Added tag FIREFOX_AURORA_26_BASE for changeset 2520866d5874 2013-09-17 09:36:55 -04:00