Bobby Holley
8f823bfe9a
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
...
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.
We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
f2943090bd
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
764d0eecd5
Bug 834701 - Stop setting the XBL script in the browser. r=bz
2013-05-20 22:34:17 -06:00
Boris Zbarsky
dbe1f3da32
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Boris Zbarsky
e46734cb01
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
Boris Zbarsky
2a61b9f9b0
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Ted Mielczarek
3cfd62c3d2
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Ryan VanderMeulen
2e83f084b9
Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
...
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
9831f1768e
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Ehsan Akhgari
cc7519e043
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Ehsan Akhgari
04e1c87b5e
Backed out 2 changesets (bug 871315) because different compilers have different standards on what is and is not C++
...
Backed out changeset d0d2e13e8b83 (bug 871315)
Backed out changeset be3976bd2d57 (bug 871315)
Landed on a CLOSED TREE
2013-05-13 14:42:03 -04:00
Ehsan Akhgari
9dda412b4e
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
David Zbarsky
480bf64980
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Bobby Holley
76d7cbe7e6
Bug 857356 - Convert field-y XBL tests to run with dom.use_xbl_scopes_for_remote_xul=false. r=bz
...
There are a couple of tests here that do funny things with fields. Our basic
position here is that fields have no place for in-content XBL bindings, but
there's still value in testing this stuff given our heavy usage of XBL in
chrome code. They really should be converted to chrome tests, but I was having
trouble doing that, so I decided to convert them to run without XBL scopes, like
we do for remote XUL.
As a nice side effect, this gives us a tiny bit more test coverage for the
remote XUL configuration.
--HG--
rename : content/xbl/test/test_bug372769.xhtml => content/xbl/test/file_bug372769.xhtml
rename : content/xbl/test/test_bug397934.xhtml => content/xbl/test/file_bug397934.xhtml
2013-05-09 09:16:02 -07:00
Bobby Holley
23a6a80c76
Bug 857356 - Fix in-content XBL tests. r=bz
2013-05-09 09:16:02 -07:00
Bobby Holley
cc5157a913
Bug 857356 - Remove XBL field auto-waiving. r=bz
2013-05-09 09:16:01 -07:00
Ehsan Akhgari
344d02533a
Bug 868783 - Fix rooting hazards in nsXBLSerialize.cpp; r=till
2013-05-04 19:48:13 -04:00
Bobby Holley
23a2145399
Bug 834699 - Fix tests that munge dom.xbl_scopes. r=bz
2013-05-02 16:02:04 -07:00
David Zbarsky
8cdcfa8969
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Ed Morley
cd58a5c447
Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures
2013-05-02 11:58:05 +01:00
David Zbarsky
1527681014
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Boris Zbarsky
b834439797
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
f3f44cfa74
Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv
2013-04-24 14:59:15 -04:00
Nathan Froyd
02364d25bf
Bug 781702 - silence warning spew from nsXBLProtoImplMethod.cpp; r=bz
2012-10-08 15:52:24 -04:00
David Zbarsky
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Jeff Walden
763718651b
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
David Zbarsky
82c97fe5c6
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 3 r=Ms2ger
2013-04-14 14:27:33 -04:00
Jacek Szpot
a38774d086
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
0c3a721fee
Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE.
2013-04-11 13:59:02 -04:00
David Zbarsky
9b3220a8ef
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 3 r=Ms2ger
2013-04-11 12:24:47 -04:00
Aryeh Gregor
337756f144
Bug 857102 part 4 - Make NS_NewCommentNode and nsIDocument::CreateCommentNode infallible; r=bz
2013-04-04 15:02:22 +03:00
Aryeh Gregor
b26de96c21
Bug 857102 part 3 - Make various GetNodeInfo callers infallible; r=bz
2013-04-04 15:01:11 +03:00
Aryeh Gregor
5925b452a5
Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz
2013-04-04 15:01:08 +03:00
Ryan VanderMeulen
4df26dd5ac
Backed out changeset a85d21e394c0 (bug 854503) for bustage.
2013-04-06 14:37:33 -04:00
Jacek Szpot
ab74228011
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-04 12:14:32 +02:00
David Zbarsky
3febe3b914
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
David Zbarsky
59707ec484
Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger
2013-04-05 20:44:15 -04:00
Bobby Holley
e8aa91a4a3
Bug 858642 - Null-check the XBL scope. r=bz
2013-04-05 12:04:09 -07:00
Tom Schuster
dfae8f8295
Bug 855411 - Root XBL_DeserializeFunction. r=bz,terrence
2013-04-05 15:21:03 +02:00
Tom Schuster
d2b16afff1
Bug 855411 - Root various things. r=bz,terrence
2013-04-05 15:21:03 +02:00
Tom Schuster
fe9a880927
Bug 855411 - Root InstallField. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
1ab1ec9b42
Bug 855411 - Root InstallAccessors. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
c961aa53b0
Bug 855411 - Root InstallXBLField. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
ac36a9dbb3
Bug 855411 - Root Execute. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
36c599a683
Bug 855411 - Root Read. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
1eb714c64a
Bug 855411 - Root CompileMember. r=bz,terrence
2013-04-05 15:21:02 +02:00
Tom Schuster
a463f6bb01
Bug 855411 - InstallMember. r=bz,terrence
2013-04-05 15:21:02 +02:00