Commit Graph

114 Commits

Author SHA1 Message Date
Rodrigo Rodriguez Jr.
ddb500cb53 Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies. 2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
34b9987192 Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence. 2014-04-27 19:30:51 -07:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Boris Zbarsky
b95c359828 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
ae0180ee85 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Terrence Cole
2ff359db99 Bug 987666 - Follow to remove a SkipRoot that leaked into the browser; r=bustage ON A CLOSED TREE 2014-03-28 12:01:50 -04:00
Masayuki Nakano
2eb2bd8616 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug 2014-03-18 13:48:21 +09:00
Ben Turner
cebe1fd74b Bug 974645 - AssertNoGcThing failure in worker XMLHttpRequest. r=khuey. 2014-02-20 14:35:47 -08:00
Kyle Huey
37bc369f92 Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent 2014-01-31 21:50:07 -05:00
Tim Taubert
9097fd998b Bug 965468 - Make LoadStartDetectionRunnable wait for loadstart r=bent 2014-01-29 12:32:50 -08:00
Tim Taubert
c73d6aff0e Bug 956284 r=khuey 2014-01-28 09:51:44 -08:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Kyle Huey
68853bc3c9 Bug 957693: Fix a worker hang and other related bugs. r=bent 2014-01-10 16:37:47 -08:00
Boris Zbarsky
0ae88d778d Bug 949890. Fix rooting hazard in workers::XMLHttpRequest::Send. r=khuey 2013-12-20 14:28:18 -05:00
Ben Turner
081c6e49da Bug 914762 - Switch Workers to use a normal nsThread event loop, r=mrbkap. 2013-10-23 06:16:49 -07:00
Martijn Wargers
7fba195daa Bug 927196 - Check more stuff in XHR. r=jonas 2013-10-16 19:20:51 +02:00
Terrence Cole
c23a4316fa Bug 941784 - Fix an exact rooting hazard false positive in XMLHttpRequest::Send; r=bent 2013-11-21 10:56:35 -08:00
Steve Fink
5bb40a47a7 Bug 940724 - Move XMLHttpRequest off of the stack to silence analysis, r=bent 2013-11-19 15:27:00 -08:00
Ed Morley
2bced63576 Backed out changeset e6a9c98d62d0 (bug 927196) for causing bug 939269 2013-11-18 10:59:01 +00:00
Tom Schuster
581e784f12 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
c64c57fcbf Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
ebd0246750 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Martijn Wargers
3372de5c3f Bug 927196 - Check more stuff in XHR. r=sicking 2013-10-16 19:20:51 +02:00
Kyle Huey
d5105d151b Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Birunthan Mohanathas
87889c27b7 Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan 2013-10-28 10:04:47 -04:00
Terrence Cole
ef4b355c9c Bug 929800 - Handlify the structured clone interface; r=sfink,smaug 2013-10-22 17:18:32 -07:00
Kyle Huey
10d56b428a Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Ehsan Akhgari
2d1cc87337 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Kyle Huey
7a5b7ba1a8 Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
279381a195 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Joshua Cranmer
46b6048262 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands. 2013-07-18 21:21:20 -05:00
Jon Coppeard
533b79db4d Bug 888338 - 7 - add post barriers to workers r=smaug 2013-07-23 10:58:27 +01:00
Justin Lebar
8cc88f21ce Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
James Kitchener
1f3bbb13ac Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz 2013-06-13 01:20:10 -04:00
Bobby Holley
c3247a55cf 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
Boris Zbarsky
843379bd34 Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
David Zbarsky
cc3ae7e546 Bug 868312: Root dom/workers r=bz 2013-05-09 03:27:40 -04:00
Terrence Cole
afa7e6700f Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Nathan Froyd
eaa42918b5 Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz 2013-05-06 15:28:13 -04:00
Sankha Narayan Guria
b4a935c1df Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
David Zbarsky
a4d5e39056 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Bobby Holley
5869781fad 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
Gabor Krizsanits
d4d8bac310 Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Andrew Sutherland
df14dd4125 Bug 857393 - XHR in Web Workers fails to throw XMLHttpRequest::Send failures to callers (ex: NS_ERROR_FILE_NOT_FOUND), exception may be reported erroneously elsewhere. r=bent
try build was:
https://tbpl.mozilla.org/?tree=Try&rev=1757a26ab7b4
2013-04-03 01:12:15 -04:00
Terrence Cole
c5e2dbc6c8 Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8 2013-03-26 15:10:34 -07:00
Masatoshi Kimura
5c59dd2cf2 Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey 2013-03-08 07:27:21 +09:00
Henri Sivonen
7778611de3 Bug 843508 - Remove support for multipart XHR responses. r=jst. 2013-03-04 11:06:15 +02:00
Peter Van der Beken
cefe1bd88b Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz. 2012-12-03 17:07:49 +01:00
Ed Morley
f91e010656 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00