Commit Graph

273 Commits

Author SHA1 Message Date
Kyle Huey
999f211828 Bug 979951: Always preserve the worker wrapper to ensure that we have something to tell us what compartment to enter. r=bent 2014-03-05 17:58:03 -08:00
Ben Turner
6ac720fff8 Bug 975695, r=khuey. 2014-03-04 15:09:23 -08:00
Ed Morley
7d716105c8 Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Jan de Mooij
53c60cb160 Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Masayuki Nakano
6f3a240998 Bug 975688 part.12 Rename nsDOMMessageEvent to mozilla::dom::MessageEvent r=smaug
--HG--
rename : dom/events/nsDOMMessageEvent.cpp => dom/events/MessageEvent.cpp
rename : dom/events/nsDOMMessageEvent.h => dom/events/MessageEvent.h
2014-02-27 19:51:14 +09:00
Carsten "Tomcat" Book
e428ad4fe3 Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jan de Mooij
f8a1ec2850 Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Luke Wagner
4c59cb92eb Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Boris Zbarsky
d6d5a58892 Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
Chris Peterson
544486a631 Bug 712873 - Part 1: Replace JS_ASSERT with MOZ_ASSERT outside js/ directory. r=luke 2014-02-17 22:09:06 -08:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
f212bd7ffe Bug 712873 - Part 1: Replace JS_ASSERT with MOZ_ASSERT outside js/ directory. r=luke 2014-02-17 22:09:06 -08:00
Jon Coppeard
8136579d75 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jon Coppeard
60baf94ae8 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
b859277a7b Bug 949946 - unique SharedWorker key composed by name and spec, r=bent 2014-02-06 14:39:10 +00:00
Boris Zbarsky
9fef580102 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
f141384649 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
94ea93cdb3 Bug 966169 - OfflineStatusChangeRunnable modifies busy count. r=khuey 2014-02-01 15:30:55 -08:00
Kyle Huey
6d033cceb1 Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent 2014-01-31 21:50:07 -05:00
Kevin Grandon
9ba80dab09 Bug 964148 - location.origin is not available in workers. r=bent, r=baku 2014-01-31 13:22:52 -05:00
Bobby Holley
c466cbabe6 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
2f979d9239 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
d942edd370 Bug 960416 - Always use JIT hardening. r=luke
--HG--
extra : rebase_source : ae9e635eac09044f05fea9ad27ab52bb888c703e
2013-12-25 00:21:59 -08:00
Kyle Huey
b7194c8d91 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
45cb351d71 Bug 957693: Fix a worker hang and other related bugs. r=bent 2014-01-10 16:37:47 -08:00
Nikhil Marathe
cc61607627 Bug 925437 - Implement navigator.onLine on Workers. r=khuey sr=sicking 2013-11-19 15:08:50 -08:00
Olli Pettay
c95e75650c 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
6809652fbc Bug 951671, Periodic Worker activity during idle. r=khuey. 2013-12-20 14:03:19 -05:00
Andrea Marchesini
8564b26349 Bug 949456 - MessageEventInit updated to the latest spec, r=bz 2013-12-20 08:51:03 +00:00
Terrence Cole
96e3d97817 Bug 951407 - Fix two hazards introduced by bug 951282; r=sfink 2013-12-17 14:24:22 -08:00
Ben Turner
4dcdde6435 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
091cf46ff5 Bug 949353 - Fix -Wsometimes-uninitialized warnings in dom/workers/WorkerPrivate.cpp. r=khuey 2013-12-11 21:13:24 -08:00
Andrea Marchesini
c0399b79f6 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
9d470ce1db Backed out changeset 10800c0df8b5 (bug 487070) for build bustage on a CLOSED TREE 2013-12-11 10:56:23 +01:00
Andrea Marchesini
58736053af 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
f058cca393 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
e2b80ee7c8 Bug 487070 - a pref for enabling the lastest version of JS in Web Workers 2013-12-10 11:43:16 +00:00
Nicholas Nethercote
bdfbbf7bcd 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
0b9a804eb0 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
bc5929c9db 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
2d95621d99 Back out bug 935692 on this CLOSED TREE due to warnings-as-errors bustage. 2013-12-09 10:46:18 -08:00
Kyle Huey
8ebc554a7b 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
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Nicholas Nethercote
803d8a5bcc 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
9c3a30ec5b 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
77419f6a47 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
c3970a73fb 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
78e4d6490d 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
552ae51362 Bug 936700 - Worker Preferences cache. r=bent 2013-11-24 11:27:15 -08:00