Commit Graph

2618 Commits

Author SHA1 Message Date
Bobby Holley
1d054dbbaf Bug 910863 - Skip firing the operation callback if a debugger is attached. r=mrbkap,glandium 2013-08-30 09:46:02 -07:00
Masatoshi Kimura
7bcce3ab11 Bug 910751 - Hide UserDataHandler from content. r=smaug 2013-08-30 20:39:37 +09:00
Olli Pettay
fec6e6d8e3 Bug 910797, make Event.isTrusted to work in workers, r=khuey 2013-08-30 12:47:19 +03:00
Bobby Holley
11de773cd0 Bug 908019 - Split up watchdog tests to run in parallel. r=mrbkap
This speeds up local xpcshell-test runs by ~6 seconds.
2013-08-29 09:32:25 -07:00
Nicholas Nethercote
7fbc04343e Bug 910109 (part 2) - Make jswrapper.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : 138e93b074691e9da0feab9cd24e149f4d5edf6a
2013-08-28 17:24:34 -07:00
Nicholas Nethercote
f4ed58505f Bug 910109 (part 1) - Make jsproxy.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : bc2fa911e3a7feaafb778b756994e126257585a7
2013-08-28 17:20:24 -07:00
Bobby Holley
9f5aedccaa Bug 732665 - Tests. r=luke 2013-08-28 11:04:16 -07:00
Bobby Holley
f77b84aa7f Bug 732665 - Use separate stack depths for XPConnect JS. r=luke 2013-08-28 11:04:16 -07:00
Bobby Holley
55c123084f Bug 732665 - Clean up and clarify the stack sizing logic. r=luke
The only change in behavior here is that we give the osx check higher precedence
than the DEBUG check, meaning that we end up with 7MB stacks on osx debug rather
than 4MB stacks. But this seems strictly better given the logic involved here.
2013-08-28 11:04:16 -07:00
Bobby Holley
40b9e31be6 Bug 732665 - Disable a few test on mac. r=tbsaunde,me
These tests trigger very slow infinite recursion in the status quo. With the
existing stack quotas, they always (or usually) hit the native stack limit
before the test times out, causing them to be green on tinderbox. But when
we bump the debug mac stack limit, they end up timing out. We have bugs on
file for the various issues, but let's not let them block this landing.
2013-08-28 11:04:15 -07:00
Boris Zbarsky
b475c29ce3 Bug 909645 part 4. Don't include ipdl headers in DesktopNotification.h. r=ms2ger,glandium 2013-08-28 00:14:57 -04:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
eb0a0a84bd Bug 831193 (part 3) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in XPCJSRuntime.cpp. r=terrence.
--HG--
extra : rebase_source : 09df0ea5b3bb546e5c75d59d170f54124d834b4d
2013-01-15 21:28:35 -08:00
Nicholas Nethercote
3c5b0c6b29 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Ryan VanderMeulen
ed2d647b4b Merge m-c to inbound on a CLOSED TREE. 2013-08-27 22:40:49 -04:00
Ryan VanderMeulen
6f0d3838c9 Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Andrew McCreight
f8bde121bd Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Bobby Holley
3ef78b339d Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
0542144683 Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
0a90738ba7 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
66f5004091 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
d8ec53aa09 Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
a9a3af4e97 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-08-27 15:21:37 -07:00
Bobby Holley
ba0f5bdd30 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Justin Lebar
35a65ed466 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Szu-Yu Chen [:aknow]
16c6da04b2 Bug 882983 - Part 1: Add ota status event (idl, webidl). r=hsinyi, sr=smaug 2013-08-27 08:25:53 -04:00
Mike Hordecki
c834c1d2bf Bug 908918 - Fix an XPConnect typo. r=bholley 2013-08-26 11:28:26 -04:00
Geoff Brown
fd9a8160b1 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Boris Zbarsky
1be13ddcad Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
30987641e2 Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
7393f81fff Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
5962434202 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
Gabor Krizsanits
fdec3cbd4e Bug 886237 - follow-up part2: Comment formatting in sandbox.cpp. r=bholley 2013-08-23 09:56:03 +02:00
Gabor Krizsanits
43212356ff Bug 886237 - follow-up part1: Moving Sandbox/XPCComponents helpers into namespace xpc. r=bholley 2013-08-23 09:55:47 +02:00
Kyle Huey
5b32f16814 Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv 2013-08-22 22:17:10 -07:00
Kyle Huey
a4c454d166 Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
d2e93ff015 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Nicholas Nethercote
789875a768 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
36ec1052f2 Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Bobby Holley
e4d85c190a Bug 903891 - Default the iid to nsISupports in NativeInterface2JSObject, and assert |Interface| when getting an XPCWrappedNative. r=mrbkap 2013-08-22 15:51:35 -07:00
Bobby Holley
e8a333cf1c Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Gabor Krizsanits
9df5adf4ff Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Ms2ger
f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
8040c0cadd Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
34addaf4e6 Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Bobby Holley
a9ebf59ecb Bug 907508 - Provide a mechanism for adding extra slots for XPConnect globals. r=bz
mhordecki needs this in bug 898559.
2013-08-20 21:21:01 -07:00