Commit Graph

261 Commits

Author SHA1 Message Date
Jon Coppeard
0eac977006 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jon Coppeard
2cf0941496 Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Andrea Marchesini
b720c4a525 Bug 949946 - unique SharedWorker key composed by name and spec, r=bent 2014-02-06 14:39:10 +00:00
Boris Zbarsky
9a04c1b2a3 Bug 958667 part 2. Store in workers whether they come from privileged or certified apps. r=khuey 2014-02-05 13:38:16 -05:00
Kyle Huey
10bd0f9941 Bug 958011: Fix worker object cycle collection to not rely on the JSObject being finalized, which is a bogus assumption. r=bent,mccr8 2014-02-02 10:08:50 -08:00
Nikhil Marathe
1d8ed471de Bug 966169 - OfflineStatusChangeRunnable modifies busy count. r=khuey 2014-02-01 15:30:55 -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
Kevin Grandon
5e22487099 Bug 964148 - location.origin is not available in workers. r=bent, r=baku 2014-01-31 13:22:52 -05:00
Bobby Holley
f9fbf9a616 Bug 872273 - Use js::ErrorReportToString for worker ErrorEvents. r=bent
Historically, we've sometimes reported ErrorEvent.message as |Error.name|, and
sometimes as |Error.name: Error.message|, depending on which path we took
through js_ReportUncaughtException. We need to standardize on something, so
let's use the latter, since it contains strictly more information. This involves
updating a few tests.
2014-01-30 09:30:30 -08:00
Andrea Marchesini
841f2c538c Bug 931887 - No getter_AddRefs for loadInfo.mChannel because HttpChannelChild is not thread-safe, r=bz 2014-01-26 00:16:46 +00:00
Chris Peterson
c930b6f393 Bug 960416 - Always use JIT hardening. r=luke
--HG--
extra : rebase_source : ae9e635eac09044f05fea9ad27ab52bb888c703e
2013-12-25 00:21:59 -08:00
Kyle Huey
0283e9455f Bug 957693: Check the state of the sync loop after processing control runnables, which might cause the world to shift underneath us. r=bent 2014-01-13 15:22:53 -08:00
Kyle Huey
0c5a0c0bdf Bug 957693: Fix a worker hang and other related bugs. r=bent 2014-01-10 16:37:47 -08:00
Nikhil Marathe
0ee2ac83fd Bug 925437 - Implement navigator.onLine on Workers. r=khuey sr=sicking 2013-11-19 15:08:50 -08:00
Olli Pettay
00b2f6140e Bug 949722 - Assigning to '.onerror' of XHR appends an event listener, rather than overwriting it (only in workers), r=khuey 2013-12-21 02:22:13 +02:00
Ben Turner
ca4ad0f71d Bug 951671, Periodic Worker activity during idle. r=khuey. 2013-12-20 14:03:19 -05:00
Andrea Marchesini
2dace622d0 Bug 949456 - MessageEventInit updated to the latest spec, r=bz 2013-12-20 08:51:03 +00:00
Terrence Cole
8ae36cf3ba Bug 951407 - Fix two hazards introduced by bug 951282; r=sfink 2013-12-17 14:24:22 -08: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
Chris Peterson
5d44678ff5 Bug 949353 - Fix -Wsometimes-uninitialized warnings in dom/workers/WorkerPrivate.cpp. r=khuey 2013-12-11 21:13:24 -08:00
Andrea Marchesini
b9acf58fb0 Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent 2013-12-10 11:43:16 +00:00
Carsten "Tomcat" Book
cce5b12a88 Backed out changeset 10800c0df8b5 (bug 487070) for build bustage on a CLOSED TREE 2013-12-11 10:56:23 +01:00
Andrea Marchesini
e75faa3bba Bug 487070 - a pref for enabling the lastest version of JS in Web Workers, r=baku, r=bent 2013-12-10 11:43:16 +00:00
Ryan VanderMeulen
151237519f Backed out changeset dc5b1daf5fbb (bug 487070) for B2G mochitest-8 orange.
--HG--
extra : rebase_source : 83864e72c5b5082ccd2956cd89e25e1a6f16fee8
2013-12-10 14:28:44 -05:00
Andrea Marchesini
9b8a8f628f Bug 487070 - a pref for enabling the lastest version of JS in Web Workers 2013-12-10 11:43:16 +00:00
Nicholas Nethercote
e02408b49d Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8 Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Kyle Huey
a01c841420 Bug 935692: Don't try to fire error events on non-DOM globals. r=bent 2013-12-09 13:59:15 -08:00
Kyle Huey
138e6cb7b0 Back out bug 935692 on this CLOSED TREE due to warnings-as-errors bustage. 2013-12-09 10:46:18 -08:00
Kyle Huey
7f206ea621 Bug 935692: Don't try to fire error events on non-DOM globals. r=bent 2013-12-09 10:20:06 -08:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Nicholas Nethercote
e9715bfc41 Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Nicholas Nethercote
f877b263ed Bug 927740 (part 3) - Make workers respond to "child-cc-request" notifications. r=khuey.
--HG--
extra : rebase_source : 34a15c4bf15bb0fd1601675e7e7cc4b5117ed433
2013-12-02 20:07:02 -08:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nikhil Marathe
dcf9134d27 Bug 936700 - Worker Preferences cache. r=bent 2013-11-24 11:27:15 -08:00
Steve Fink
5168cbc4a9 Bug 940779 - MessageEventInit is a dictionary, r=bent
--HG--
extra : rebase_source : 37d006cf615cc6e7ed2a7141df54d9b948248946
2013-11-21 12:42:50 -08:00
Steve Fink
e8f7a3c438 Backed out changeset 4088133a80e6 (bug 940779). It was the wrong fix.
--HG--
extra : rebase_source : 91ba320384e6ad196d0f8ce923e7bc33de45388a
2013-11-21 12:39:43 -08:00
Boris Zbarsky
a7501e7c35 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Jon Coppeard
03f1cafdf0 Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Steve Fink
eaca6210f7 Bug 940779 - Restrict the scope of a MessageEventInit so it cannot be live across a GC call, r=bent
--HG--
extra : rebase_source : 2db09dc1eaab090b94f210bd2478be8d45c976a2
2013-11-19 23:03:32 -08:00
Ed Morley
99a1af352f Backed out changeset db0f8a5eeb33 (bug 940754) 2013-11-20 16:37:52 +00:00
Jon Coppeard
7d4a5840da Bug 940754 - Fix rooting hazard in WorkerPrivateParent::WrapObject() r=bent 2013-11-20 15:37:30 +00:00
Kyle Huey
017986a69c Bug 936327. r=bent 2013-11-19 14:05:41 +08:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
David Rajchenbach-Teller
ad09809ce4 Bug 930924 - Open workers from xpcshell. r=bent 2013-11-06 09:05:17 -05:00
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11: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