Max Li
5ce2573638
Bug 743250 - test_xhr_implicit_cancel.html is() calls miss their msg parameter. r=khuey
2012-04-07 14:16:05 -04:00
Boris Zbarsky
a3d695962d
Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
...
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Boris Zbarsky
e1d7ebf663
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Julian Seward
004a71f006
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
54ef3d2952
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
Jan de Mooij
d1d46a2f99
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Boris Zbarsky
fd290b314c
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
fa5496e7a4
Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:55 -04:00
Ted Mielczarek
110919af49
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
Nathan Froyd
6b5880dddb
Bug 871007 - fix clang warning about class/struct mismatch for JS::RuntimeStats; r=bz
...
In file included from /opt/build/froydnj/build-mc/dom/bindings/BatteryManagerBinding.cpp:9:
/home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: warning: class 'RuntimeStats' was previously declared as a struct [-Wmismatched-tags]
namespace JS { class RuntimeStats; }
^
../../dist/include/js/MemoryMetrics.h:361:8: note: previous use is here
struct RuntimeStats
^
/home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: note: did you mean struct here?
namespace JS { class RuntimeStats; }
^~~~~
struct
2013-05-10 16:49:43 -04:00
David Zbarsky
1e6ff1698e
Bug 868312 - Some more rooting fixes for dom r=bz
2013-05-10 22:39:45 -04:00
Boris Zbarsky
ebeb2778f7
Bug 870219 part 2. Add a way for chrome JS that's implementing a WebIDL interface to get/set event handlers sanely on content objects. r=smaug
2013-05-09 13:07:16 -04:00
Boris Zbarsky
e8a330d3b3
Back out revision 52f646b2055c (bug 870219) because apparently worker code can't handle ChromeOnly properties
2013-05-09 14:12:12 -04:00
Boris Zbarsky
e7125a7329
Bug 870219. Add a way for chrome JS that's implementing a WebIDL interface to get/set event handlers sanely on content objects. r=smaug
2013-05-09 13:07:16 -04:00
David Zbarsky
7921fbf41a
Bug 868312: Root dom/workers r=bz
2013-05-09 03:27:40 -04:00
Terrence Cole
cd1aec056b
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Bobby Holley
a97ccff46a
Bug 869800 - Stop using calling JS_SetGlobalObject in workers. r=bent
...
This makes workers the first consumer to be weaned off this API. \o/
2013-05-08 10:45:46 -07:00
Bobby Holley
47b0761c9a
Bug 869800 - Remove JS_GetGlobalObject from workers. r=bent
2013-05-08 10:45:46 -07:00
Luke Wagner
0adc1f4120
Bug 868184 - OdinMonkey: enable by default on beta/release (r=vlad)
...
--HG--
extra : rebase_source : c97bf37723eded74f95aae21e2baa692cf059c2e
2013-05-07 13:34:17 -07:00
Nathan Froyd
dc3bfcbc39
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Sankha Narayan Guria
7f0c4baace
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
d0b5eecb70
Bug 868312: Various dom rooting fixes, part 2 r=bz
2013-05-04 03:53:00 -04:00
David Zbarsky
d4b3d0a59f
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Boris Zbarsky
3200d7e8dc
Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence
2013-05-03 19:29:08 -04:00
Boris Zbarsky
4d5cf6450f
Bug 865969 part 1. Better rooting in bindings for 'object' arguments, as well as for worker interface arguments passed as JSObject*. r=smaug
2013-05-03 19:29:07 -04:00
David Zbarsky
c239a75547
Bug 866450 Part 7: Root some additional JS::Values found during review r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
e6b1eb46b4
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Ed Morley
dfe0338333
Backed out changeset b514d768d793 (bug 866450)
2013-05-02 11:57:14 +01:00
Ed Morley
5cfaa67828
Backed out changeset e0b51717bb64 (bug 866450)
2013-05-02 11:56:57 +01:00
David Zbarsky
2e0cd0171f
Bug 866450 Part 7: Root some additional JS::Values found during review r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
bc9b1bccdc
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Boris Zbarsky
583e53379d
Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:12 -04:00
Terrence Cole
e417ffe01a
Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco
2013-04-16 16:20:44 -07:00
Bobby Holley
8490fc8be1
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Boris Zbarsky
20ab2b6db5
Bug 862629 part 2. Remove the now-unused scope object bit in js-to-native conversions. r=peterv
2013-04-24 14:59:15 -04:00
David Zbarsky
82391d9a22
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Xin Zhang
5d0104d77b
Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
...
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Xin Zhang
25f43429b6
Bug 857385 - Make various JSPropertySpec arrays const. r=waldo
...
--HG--
extra : rebase_source : 4ad63f7ddf8c441219bb7f30e19d66abf1747fe2
2013-04-22 14:15:36 -07:00
Benoit Girard
d8168f5e54
Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
...
--HG--
extra : rebase_source : ce0d9f94d2b4deb249e09198f9315f69ad6ee7d4
2013-04-03 18:59:17 -04:00
James Willcox
07acfb74dc
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Bobby Holley
47c4da9c33
Bug 860438 - Convert workers to SafeAutoJSContext. r=gabor
...
The only functional difference here is that AutoSafeJSContext entered a request.
Really, we should always enter a request and a compartment at the same time. But
for now we just preserve the old behavior with a JSAutoRequest.
2013-04-18 11:36:04 -04:00
Bobby Holley
344cf83bcf
Bug 860438 - Simplify JSContext handling {Cancel,Suspend,Resume}WorkersForWindow. r=gabor
...
The only functional difference here is the removal of a bug in which we were
constructing a dom::workers::AutoSafeJSContext around aCx, but then continuing
to pass aCx to the callee. If aCx were to be null, we'd end up with a mismatch
between the stack and the active cx. But it looks likes stuff depends on cx
being non-null anyway, so that probably never happened.
2013-04-18 11:36:04 -04:00
Bobby Holley
629d0d4121
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Ryan VanderMeulen
5f40d14478
Backed out 3 changesets (bug 734691, bug 862500) for leaks.
...
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
Benoit Girard
c285db56f3
Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
...
--HG--
extra : rebase_source : 4e7e1681355146e32fbc5ff2aa9891470e241347
2013-04-03 18:59:17 -04:00
James Willcox
7fb0f556cd
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Ryan VanderMeulen
4dfeea9c71
Backed out 2 changesets (bug 734691) for leaks.
...
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
Benoit Girard
d755cb0d1a
Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
...
--HG--
extra : rebase_source : 41af95bcc4b6044b7394538e2524528f67cbd1d5
2013-04-03 18:59:17 -04:00