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
James Willcox
a9072ded93
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Masatoshi Kimura
145b5b5cd1
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Nicholas Nethercote
f5378cec64
Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
...
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Jeff Walden
f9d3bc73ed
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
Boris Zbarsky
c72e933878
Bug 861064. Root WebIDL dictionary Init. r=smaug,terrence
2013-04-12 23:34:22 -04:00
Masatoshi Kimura
7c989863ee
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
Nils Maier
447d037468
Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn
2013-04-04 11:55:56 -04:00
Gabor Krizsanits
4995dd1d6c
Bug 820170 - nsDOMEventTarget holds a global. r=smaug
2013-04-04 11:30:36 +02:00
Ryan VanderMeulen
4946dc588c
Merge m-c to inbound on a CLOSED TREE.
2013-04-03 11:50:19 -04:00
Jan de Mooij
aaa969fc58
Merge from mozilla-inbound.
2013-04-02 19:20:31 +02:00
Jan de Mooij
918f8f0f23
Merge from mozilla-inbound.
2013-03-29 15:55:22 +01:00
Phil Ringnalda
80524b85aa
Back out 89e99ecdf29f (bug 734691) for leaking
...
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
79399bb1c9
Bug 734691 - Add multi-thread support to profiler. r=benwa
2013-03-28 19:51:15 -04:00
Jan de Mooij
c99782e8ff
Merge from mozilla-inbound.
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 10:27:13 +01:00
Jan de Mooij
76d5e1151c
Merge from mozilla-central.
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.h
2013-03-21 11:23:12 +01:00
Jan de Mooij
a9086aedc6
Merge from mozilla-central.
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.h
2013-03-20 12:54:47 +01:00
Andrew Sutherland
1e71fb42a3
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
Trevor Saunders
b2b4f6a9c0
bug 856700 - don't check the result of infalible nsTArray::SwapElements() in dom/ r=khuey
2013-04-01 13:35:13 -04:00
Jan de Mooij
18dfd23998
Merge from mozilla-inbound.
2013-03-19 10:31:21 +01:00
Jan de Mooij
6317f934e9
Merge from mozilla-central.
...
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.cpp
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.h
2013-03-18 16:53:57 +01:00
Bill McCloskey
a3cea08b3a
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Jan de Mooij
ce7520efef
Merge from mozilla-inbound.
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.h
2013-03-14 10:50:28 +01:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Jan de Mooij
0ff1c79c80
Merge from mozilla-central.
2013-03-11 15:18:12 +01:00
Jan de Mooij
8ff567ce1a
Merge from mozilla-central.
2013-03-08 09:57:47 +01:00
Masatoshi Kimura
f139345dd5
Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey
2013-03-08 07:27:21 +09:00
Jan de Mooij
cabe3243b6
Merge from mozilla-central.
2013-03-05 11:47:34 +01:00
Jan de Mooij
ee55e9860e
Merge from mozilla-central.
...
--HG--
rename : accessible/src/msaa/nsAccessNodeWrap.cpp => accessible/src/windows/msaa/nsAccessNodeWrap.cpp
rename : accessible/src/msaa/nsAccessNodeWrap.h => accessible/src/windows/msaa/nsAccessNodeWrap.h
2013-03-04 12:08:20 +01:00
Jan de Mooij
3cf273a773
Bug 846297 - Enable baseline compiler for web workers and chrome. r=djvj
2013-02-28 17:38:20 +01:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
e2966f651c
Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey
2013-02-25 12:47:20 -08:00
Gregory Szorc
ed102f4876
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Mike Shal
e9f8bc0fbd
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
David Zbarsky
5cc0fcdcdf
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Jon Coppeard
8d5fd16382
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
fe417ad697
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
fa71007e65
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Olli Pettay
e5921ddec1
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Jose Cortes
c8f0394d0c
Bug 842186 - Replace a few instances of jsval with JS::Value in the WorkerPrivate class. r=jwalden
...
--HG--
extra : rebase_source : 5eda1a6052f05d6c4562e1a271cee68d224c8f45
2013-02-20 10:23:40 -08:00
L. David Baron
a144cc1c82
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Ryan VanderMeulen
af6a83507b
Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey
2013-02-26 16:30:09 -05:00
Luke Wagner
e48f129191
Bug 840282 - OdinMonkey (sr=dmandelin)
...
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Jon Coppeard
b752526987
Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
...
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Sid Stamm
9cffa13ce4
Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz
2012-10-15 13:54:58 -07:00
Terrence Cole
9801ecf36c
Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
...
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Boris Zbarsky
d59f4a7e9d
Bug 854001 part 1. Give workers that are pretending to be on WebIDL bindings separate JSClasses for instance objects and prototype objects. r=peterv,bent
2013-03-28 15:43:33 -04:00
Boris Zbarsky
014d3901d3
Bug 853910 part 2. Stop using prclist for individual ListenerCollections. r=khuey
2013-03-27 22:47:25 -04:00
Boris Zbarsky
3da0c1009f
Bug 853910 part 1. Stop using prclist for our list of ListenerCollections. r=khuey
2013-03-27 22:47:25 -04:00
Gregor Wagner
d5c38be4e0
Bug 841041 - Fix memory broadcast bug for workers. r=bent.
2013-02-15 14:12:19 -08:00
Robert O'Callahan
8192e0a0c4
Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
...
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
88b3687da5
Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE.
2013-03-29 18:18:38 -04:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
James Willcox
80f7ea8c39
Bug 734691 - Add multi-thread support to profiler r=benwa
2013-03-29 15:34:49 -04:00
Kyle Huey
d78c0220ba
Bug 849094: Tests. r=bent
2013-03-12 13:33:40 -07:00
Kyle Huey
230fa260b0
Bug 849094: Check our state again after spinning a sync loop. r=bent
2013-03-12 13:33:40 -07:00
Gregory Szorc
2288b28e43
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Ben Turner
f6f1ac3cc1
Bug 839117 - 'Don't allow a leaking memory reporter to hang workers'. r=jlebar.
2013-02-08 03:50:00 -08:00
Andrea Marchesini
598d08c5e9
Bug 838567 - URL.createObjectURL(new Object()); in Workers crashes debug builds reliably. r=bent
2013-02-06 10:50:27 -05:00
Andrea Marchesini
01bac8a971
Bug 813253 - URL.createobjectURL in WebWorker. r=bent
2013-02-05 18:17:17 -05:00
Ben Turner
78bb29569f
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Nicholas Nethercote
524f6ea9b5
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
b4eec14ca3
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
ae7837bdef
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Terrence Cole
a3e6adc9fa
Bug 706885 - Rework Rooting APIs to preserve all available type information; r=billm
2013-01-28 18:25:23 -08:00
Peter Van der Beken
b9d2ae906f
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
bc0702d0d7
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94
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
Bill McCloskey
8544cb4e1d
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Gregor Wagner
6cbbf2b5b2
Bug 828887 - "unused-arenas" is not freed unless worker is idle for 5 seconds. r=bent
2013-01-10 23:50:40 +01:00
Kyle Huey
6525389cc0
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Ed Morley
acba59dcdf
Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE
2013-01-10 15:21:39 +00:00
Kyle Huey
fb593adfcf
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Ian Melven
ed81718e8f
Bug 752529 - workers shouldn't use string origins as null principals don't have them. Part 2 - nsPrincipal GetBaseDomain (r=bz)
2013-01-08 13:53:32 -08:00
Ben Turner
4a1f82b8ea
Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap.
2013-01-08 13:57:44 +01:00
Gavin Sharp
dd4e7eaac6
Bug 827193: fix typo in WorkerScope, r=khuey
...
--HG--
extra : rebase_source : 2ccc411444fd9b16d96d152d4f85931c1706f359
2013-01-07 11:18:19 -08:00
Henri Sivonen
67ec77499c
Bug 843508 - Remove support for multipart XHR responses. r=jst.
2013-03-04 11:06:15 +02:00
Ed Morley
d3c39437f7
Backout e4550612487b & c3008e662841 (bug 827274) for mochitest-chrome crashes on a CLOSED TREE
2013-01-07 18:11:22 +00:00
Ben Turner
8c910e1e42
Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap, a=jlebar.
2013-01-07 17:34:08 +01:00
Ben Turner
07413737fe
Bug 813867 - 'Report memory for web workers that use ctypes'. r=jlebar+jorendorff.
...
--HG--
extra : rebase_source : 8ecb268167e840f26dd53a774c7e978b15ae3017
2012-12-30 10:21:52 -08:00
Jeff Walden
a57391c29c
Bug 824217 - Remove the JSRESOLVE_ASSIGNING test that guards definition of DOM Worker constructors and Gecko-specific script namespace manager constructors. r=bz
2013-01-03 12:29:16 -06:00
Jeff Walden
e03bb4799c
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Masatoshi Kimura
b5e27745c8
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Nicholas Nethercote
acc80a9abd
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Kyle Huey
9ee1dd55e5
Bug 824723: Don't fire error events if the worker is shutting down. r=bent
2012-12-31 07:48:57 -08:00
Masatoshi Kimura
1f8808f4be
Bug 825195 - Update method signatures of TextDecoder and TextEncoder per the latest spec. r=jonas
2012-12-29 09:55:32 +09:00
Josh Matthews
8c6ec75b56
Backed out changeset 40c1df07b407 (bug 824217)
2012-12-28 19:13:36 -05:00
Jeff Walden
efc17396e8
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
2012-12-19 19:32:34 -05:00
Masatoshi Kimura
18c56467cb
Bug 795542 - Part 2: Implement StringEncoding API objects in Workers. r=bent
2012-12-22 09:16:14 +09:00
Kyle Huey
4cc0a4aebc
Bug 823953: Improve sync queue handling. r=bent
...
--HG--
extra : rebase_source : 04c9eb2a7462d2c94c66b8126507fa690df0f13d
2012-12-21 12:14:47 -08:00
Peter Van der Beken
b208a08d09
Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Boris Zbarsky
0bb5f9396e
Bug 819741. Add support for passing an ArrayBufferView to XHR.send(). r=sicking,bent
2012-12-19 17:47:39 -08:00
Ben Turner
c7f6c9cea0
Bug 814026, r=mrbkap.
2012-12-18 08:01:42 -08:00
William Chen
d33f454e9f
Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz
2012-12-17 13:44:04 -08:00
Ed Morley
4f54b7fbbe
Backout 67d84be0cc83 (bug 820544) for bustage
2012-12-14 16:58:51 +00:00
Kyle Huey
b0e79fc559
Bug 820476: Allow postMessage on pending workers. r=bent
...
--HG--
extra : rebase_source : dcf71f5eafcf06b6c4da2cc8412e9b65eda144c4
2012-12-14 08:16:11 -08:00
William Chen
93b1b7ccbe
Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz
2012-12-11 16:05:46 -08:00
Kyle Huey
947106a519
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Ms2ger
ac97224f7a
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Ed Morley
afe82ab291
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Kyle Huey
9b92167718
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 03:54:08 -08:00
Andrea Marchesini
2e7f3fbe1e
Bug 812249 - When "javascript.options.strict" is enabled related warnings/errors trigger worker.onerror handler. r=bent
...
--HG--
extra : rebase_source : a0bf6f37f2e83cbcc3586240d3312b84b1ca28a5
2012-12-07 19:35:44 -05:00
Boris Zbarsky
52ea909e8e
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Boris Zbarsky
d1c8d3b88e
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Peter Van der Beken
eb1a773525
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Remove hardcoded interface list in workers. r=bz.
...
--HG--
extra : rebase_source : 87b106b79f8e5912f10a603e407da1c93be4ed5d
2012-12-06 11:41:14 +01:00
Boris Zbarsky
43de67ca23
Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking
2012-11-22 01:25:01 -05:00
Ed Morley
b62ff67228
Backout c19edad3d359 (bug 814026) for Android bustage
2012-11-21 19:02:18 +00:00
Ben Turner
c69e371804
Bug 814026, r=bz.
2012-11-21 09:29:52 -08:00
Nicholas Nethercote
311cd9d98e
Bug 812935 - Fix undefined value error in memory reporter for web workers. r=khuey
...
--HG--
extra : rebase_source : 7304009ade1e1560d7e66d0d4e0ab1da2f2a8448
2012-11-18 17:49:13 -08:00
Ryan VanderMeulen
401bd9646a
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
4f359877e9
Bug 663291 ride-along: reactivate the web worker error propagation tests (from bug 595394, disabled in bug 692605). r=ted
...
--HG--
extra : rebase_source : a01f9c3461f4af611e7fdeb442d001bb694a99ec
2012-11-16 15:29:21 -05:00
Matt Joras
5efd4dad8e
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Bobby Holley
46b9d205df
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
a17df69b99
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
ed596163dd
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Masatoshi Kimura
dd3d556427
Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen
2012-11-09 16:00:25 -05:00
Boris Zbarsky
2cca8f2c52
Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
f05491aec8
Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley
2012-11-09 07:43:57 -08:00
David Rajchenbach-Teller
c5b0e90466
Bug 808428 - RuntimeService now calls nsLayoutStatics::AddRef/Release. r=khuey
...
--HG--
extra : rebase_source : 7bd5b6c7c9ddcb2cb5ec619c18fa1f75c4fb1f15
2012-11-04 23:30:00 -08:00
Andrea Marchesini
af43474fab
Bug 793460 - Implement File.lastModifiedDate. r=khuey
...
--HG--
extra : rebase_source : 6ca1c139896f47de428a430e731d39125a0f0435
2012-11-04 07:19:00 -08:00
Ben Turner
1225b426c1
Bug 753981 - 'XHR in Web Workers bypasses Offline AppCache'. r=smaug.
2012-11-01 20:37:55 -07:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Peter Van der Beken
1ef60a85a4
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Peter Van der Beken
efd72d6b0c
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
...
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Bobby Holley
cbd9a55d15
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Benjamin Peterson
632234f58e
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00
Isaac Aggrey
cbb17fe7b2
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Bill McCloskey
760cd44124
Bug 714050 - Add support for optional JS helper threads (r=luke)
2012-10-16 11:57:09 -07:00
Bobby Holley
02fbd34534
Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
...
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.
I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Andrea Marchesini
2cfa5a3d14
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-10-03 18:19:22 -04:00
Eric Faust
3a77484d2d
Bug 795150 - Add DOMCallbacks to worker thread JSRuntimes. (r=bz)
2012-10-03 12:32:06 -04:00
Kyle Huey
ecf8a9c7b5
Bug 785248: Clear the worker's queue when terminating, even if we never ran any script. r=bent
...
--HG--
extra : rebase_source : 22d58a0845298b35c79805ec256cc56e6c3ce1fc
2012-10-02 19:03:28 -07:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
e587aae42c
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Andrea Marchesini
7f0785e84a
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-09-27 23:05:59 -04:00
Terrence Cole
68f1a7379e
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Andrea Marchesini
6fd0393c62
Bug 793020. r=bent
2012-09-22 08:45:00 -04:00
Kyle Huey
c4cca57ccf
Bug 793025: Convert FileReaderSync to WebIDL bindings. r=bz
2012-09-20 19:47:47 -07:00
Ms2ger
05d200bad7
Bug 744907 - Remove BlobBuilder; r=sicking
2012-09-20 09:55:36 +02:00
Andrea Marchesini
138320e12d
Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent
2012-09-16 20:20:16 -04:00
Andrea Marchesini
360071129f
Bug 609748 - Workers: If CSP blocks eval in a page, eval should also be blocked in workers created by that page. r=bent
2012-09-15 14:51:55 -04:00
Ehsan Akhgari
bf95568d0e
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Boris Zbarsky
df94b5400b
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
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Daniel Holbert
f32f6b5f8b
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Ms2ger
921135d916
Bug 768793 - Remove DOMJSClass::mGetWrapperCacheVTableOffset; r=khuey
2012-09-06 09:14:49 +02:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Olli Pettay
ab1e1ec8fe
Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
...
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
David Anderson
25c3dd55c0
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Christian Holler
acbb899d26
Bug 779560 - Revert worker stack limit in ASan builds to default state. r=bent
2012-08-28 13:39:32 +02:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
0fd9123eac
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
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Ms2ger
a45a0051cf
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
Kyle Huey
13f4121fd8
Bug 774770: Move the assertion to after the code that handles the cases the assertion guards against. r=bent
2012-08-06 08:29:03 -07:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Kyle Huey
0162654f53
Bug 758125: Don't rely on the order of the timeout array to discard expired timeouts. Check explicitly instead. r=bent
...
--HG--
extra : rebase_source : 7476aff4c01ee5407cd2419be0ddd4662ccc9dd9
2012-08-10 09:10:22 -07:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Ed Morley
1b0ed1cf7a
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-02 14:19:18 +01:00
Tim Taubert
64e4bda487
merge m-c to fx-team
2012-08-02 13:15:24 +02:00
Jan Varga
05726a5a1a
Bug 778023 - Need to figure out how cycle collected DOM files are supposed to play with workers. r=bent. Make worker.postMessage() to just throw for now.
2012-08-02 07:34:26 +02:00
Eric Faust
012112cde8
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Eric Faust
4f1dd6602a
Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:45:20 -07:00
Eric Faust
e8671110a6
Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
...
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
a7fa8d3129
Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz)
2012-07-31 20:06:35 -07:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Tim Taubert
2105c7e3b4
Bug 779445 - SegFault in WorkerMemoryReporter because it accesses mWorkerPrivate when null; r=bent
2012-08-01 17:23:13 +02:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Eric Faust
a57b8f95a2
Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo)
2012-08-07 22:26:18 -07:00