Ryan VanderMeulen
8c15c6ab96
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
9df3dafe56
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Jon Coppeard
e0d8a1ab35
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Jan de Mooij
2186cf857d
Bug 1041148 - Move HoldJSObjects call to XMLHttpRequest constructor to simplify the code. r=bz
2014-08-06 15:23:33 -07:00
Ben Kelly
bf1b5506d6
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Boris Zbarsky
1284410aa0
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Shian-Yow Wu
1caefcaf10
Bug 1022607 - Only cache the response when the readyState is DONE. r=bent
2014-06-11 11:37:47 +08:00
Shian-Yow Wu
c4b96477a3
Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent
2014-06-06 12:17:57 +01:00
Shian-Yow Wu
f3127851fa
Bug 1014466 - Part 2: Allow setting responseType after abort() or new open(). r=khuey
2014-06-06 12:12:15 +01:00
Shian-Yow Wu
337cb606bc
Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey
2014-06-06 12:12:12 +01:00
Carsten "Tomcat" Book
001c46fbc8
Backed out changeset 63eb4a7d5a3c (bug 1008126) for possible causing m1 and m8 test failures on a CLOSED TREE
2014-06-06 12:08:49 +02:00
Carsten "Tomcat" Book
d5709f0485
Backed out changeset b85f5ec21392 (bug 1014466) for Android 2.3 Opt M-8 test failures on a CLOSED TREE
2014-06-06 10:21:36 +02:00
Carsten "Tomcat" Book
78caaa94c3
Backed out changeset 355e895f7ae9 (bug 1014466)
2014-06-06 10:21:00 +02:00
Shian-Yow Wu
4eeb27960d
Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent
2014-06-06 13:34:29 +08:00
Shian-Yow Wu
e4122a6965
Bug 1014466 - Part 2: Allow setting responseType after abort() or new open(). r=khuey
2014-06-06 12:17:54 +08:00
Shian-Yow Wu
af0f6e9452
Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey
2014-06-06 12:17:53 +08:00
Kyle Huey
081cb57b98
Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug
2014-06-03 15:52:36 -07:00
Kyle Huey
937895df76
Back out bug 1019248 due to test failures.
2014-06-02 20:18:17 -07:00
Kyle Huey
70244d48b8
Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug
2014-06-02 19:02:37 -07:00
Kyle Huey
085314c510
Bug 965309: Shut down the sync loop, if any, when we shut down the XHR. r=bent
2014-05-28 22:07:38 -07:00
Shian-Yow Wu
d5da409df9
Bug 1010784: Null out sync loop target to avoid assertions when reusing sync XHR. r=khuey
2014-05-28 22:07:02 -07:00
Kyle Huey
941a5ee91b
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Tim Taubert
77aebbb2bc
Backed out changeset 67652107c498 (bug 965309)
2014-05-23 08:03:19 +02:00
Tim Taubert
e018840e95
Bug 965309 - Stop the SyncLoop of a running sync XHR if the proxy was released before the LoadStartDetectionRunnable could run r=khuey
2014-05-09 12:53:12 +02:00
xKhorasan
8ca164cae9
Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug
2014-05-17 09:24:37 +09:00
Chris Peterson
ed406b4edb
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Nicholas Nethercote
05f2fa59d4
Bug 952650 (part 17) - Remove JSVAL_IS_UNIVERSAL. r=till.
...
--HG--
extra : rebase_source : 40b7d3ded42fac02abe2423d9aa39a4e7750cedb
2014-04-28 16:41:16 -07:00
Nicholas Nethercote
c3b4a130ee
Bug 952650 (part 14) - Remove JSVAL_IS_GCTHING. r=till.
...
--HG--
extra : rebase_source : 469430d481f5fdb14d49609d8460f9fcbc90927f
2014-04-28 16:01:30 -07:00
Rodrigo Rodriguez Jr.
e1c05e08db
Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
...
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
413ffc41d6
Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence.
...
--HG--
extra : rebase_source : 83d1cdaf71260fd99b688c23303ceb2de7b00031
2014-04-27 19:30:51 -07:00
Birunthan Mohanathas
504b581650
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
fdbb455d4f
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
3f26a82832
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
982a619880
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
b7a8d4a392
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Ben Turner
10c324966a
Bug 974645 - AssertNoGcThing failure in worker XMLHttpRequest. r=khuey.
2014-02-20 14:35:47 -08:00
Kyle Huey
5f91ce5f1d
Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent
2014-01-31 21:50:07 -05:00
Tim Taubert
6379be0937
Bug 965468 - Make LoadStartDetectionRunnable wait for loadstart r=bent
2014-01-29 12:32:50 -08:00
Tim Taubert
d4899ef556
Bug 956284 r=khuey
2014-01-28 09:51:44 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Kyle Huey
0c5a0c0bdf
Bug 957693: Fix a worker hang and other related bugs. r=bent
2014-01-10 16:37:47 -08:00
Boris Zbarsky
878193f1fb
Bug 949890. Fix rooting hazard in workers::XMLHttpRequest::Send. r=khuey
2013-12-20 14:28:18 -05:00
Ben Turner
d219ceadaa
Bug 914762 - Switch Workers to use a normal nsThread event loop, r=mrbkap.
...
--HG--
extra : transplant_source : /%93%60%CC%3A%16%B16%A1%5Bmx%9F%FA%7B%10JD%F0%E7
2013-10-23 06:16:49 -07:00
Martijn Wargers
b63881f925
Bug 927196 - Check more stuff in XHR. r=jonas
2013-10-16 19:20:51 +02:00
Terrence Cole
c75079071e
Bug 941784 - Fix an exact rooting hazard false positive in XMLHttpRequest::Send; r=bent
...
--HG--
extra : rebase_source : d27bf81bb50528c49ad1036e19fcef6040ae4575
2013-11-21 10:56:35 -08:00
Steve Fink
0246463f1b
Bug 940724 - Move XMLHttpRequest off of the stack to silence analysis, r=bent
...
--HG--
extra : rebase_source : 591b96238eddbeb88ef3f1df3728fc5d02b9229a
2013-11-19 15:27:00 -08:00
Ed Morley
6682ad6c0d
Backed out changeset e6a9c98d62d0 (bug 927196) for causing bug 939269
2013-11-18 10:59:01 +00:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
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
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Martijn Wargers
799d306df8
Bug 927196 - Check more stuff in XHR. r=sicking
2013-10-16 19:20:51 +02:00
Kyle Huey
a754cd2b5a
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
be3b270819
Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan
2013-10-28 10:04:47 -04:00
Terrence Cole
05b45c0c0f
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Kyle Huey
7bf860132d
Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz
2013-09-08 20:29:21 -07:00
Ehsan Akhgari
3956f8e1f5
Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley
2013-09-06 13:50:24 -04:00
Kyle Huey
fe9a03e77b
Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv
2013-08-22 22:17:09 -07:00
Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Joshua Cranmer
f44c71b4ef
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Jon Coppeard
8bcb261a97
Bug 888338 - 7 - add post barriers to workers r=smaug
2013-07-23 10:58:27 +01:00
Justin Lebar
09d2312322
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
cab87a0cce
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
aaa284cd89
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
Bobby Holley
ba05c93769
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
620839f027
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
David Zbarsky
3c839fc3b2
Bug 868312: Root dom/workers r=bz
2013-05-09 03:27:40 -04:00
Terrence Cole
fd72fc252e
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Nathan Froyd
9fd3f3a56a
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Sankha Narayan Guria
6349c5c599
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
ef70ce04b7
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Bobby Holley
9bdc2f1c11
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
0a621fd246
Bug 820170 - nsDOMEventTarget holds a global. r=smaug
2013-04-04 11:30:36 +02:00
Andrew Sutherland
86bf52bd0c
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
16aae426b8
Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
...
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Masatoshi Kimura
34260ccf6d
Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey
2013-03-08 07:27:21 +09:00
Henri Sivonen
9e1fb08628
Bug 843508 - Remove support for multipart XHR responses. r=jst.
2013-03-04 11:06:15 +02:00
Peter Van der Beken
bfc9de7860
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
19dd19ed37
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
70a2f7c413
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Kyle Huey
8ce4c9d5f0
Bug 823953: Improve sync queue handling. r=bent
...
--HG--
extra : rebase_source : 04c9eb2a7462d2c94c66b8126507fa690df0f13d
2012-12-21 12:14:47 -08:00
Boris Zbarsky
1eaaab321a
Bug 819741. Add support for passing an ArrayBufferView to XHR.send(). r=sicking,bent
2012-12-19 17:47:39 -08:00
William Chen
c349db0a4d
Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz
2012-12-17 13:44:04 -08:00
Ed Morley
fea5ff8037
Backout 67d84be0cc83 (bug 820544) for bustage
2012-12-14 16:58:51 +00:00
William Chen
98dfaef8d1
Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz
2012-12-11 16:05:46 -08:00
Matt Joras
6d89044915
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Bobby Holley
a75f5ca4d9
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ryan VanderMeulen
1501d1c8ce
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
cca020df08
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Ben Turner
3fa518de63
Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug.
2012-11-01 20:37:55 -07:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ms2ger
7fec2d16ba
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Andrea Marchesini
843fcc1b9b
Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent
2012-09-16 20:20:16 -04:00
Boris Zbarsky
2268aac36b
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
809d00113d
Bug 782606 - Use NS_FAILED instead of boolean test (dom/indexedDB/, dom/workers/); r=khuey
2012-08-14 12:10:41 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ms2ger
9a5021b946
Bug 718260 - Fix a crash in DispatchPrematureAbortEvent; r=bent
2012-07-25 22:49:24 +02:00
Boris Zbarsky
0a1d212672
Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
...
There are several parts here:
1) Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2) Make dictionaries no longer be distinguishable from nullable types.
3) Disallow dictionaries or unions containing dictionaries inside a nullable type.
4) Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00
Ed Morley
57e533a7ae
Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures
2012-07-17 17:48:11 +01:00