Andrea Marchesini
d272279126
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
Valentin Gosu
2716c07b5f
Bug 786419 - Part 11 - Address possible issues with offline notifications in nsGlobalWindow and WorkerPrivate r=bent
...
Part 2 of this bug adds nsGlobalWindow as an observer for the app-offline
notification. There are however a few corner cases we haven't handled.
For example: If the browser is offline, and an app is made offline,
there should be no offline event dispatched.
Also, WorkerPrivate should ignore offline events that cause no change
in its offline state.
2014-08-27 05:42:13 +03:00
Valentin Gosu
a1b5100a48
Bug 786419 - Part 2 - Modify calls to NS_IsOffline to check for NS_IsAppOffline as well r=jduell,sicking
2014-08-23 06:06:56 +03:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Andrea Marchesini
3b31b44e31
Bug 1060737 - Unloading a patch with SharedWorkers should not assert, r=bent
2014-09-30 11:43:19 +01:00
Nikhil Marathe
3f1edc2c3a
Bug 1042908 - Fix WorkerPrivate error handling. r=bent
...
--HG--
extra : amend_source : 9eda75aa5fb1a61a740046138f3224294d0c330f
extra : transplant_source : %14%C48%D1-%07%08%E8%8DR%D5%AA%B6Y%7CV%DE%C3F%18
2014-07-11 11:59:39 -07:00
Andrea Marchesini
d72123b13e
Bug 925849 - WorkerNavigator implements NavigatorLanguage, r=khuey
2014-09-05 15:26:34 +01:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Andrea Marchesini
eee60d5ec4
Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz
2014-08-31 11:40:11 +01:00
Boris Zbarsky
67df248e76
Bug 908390 followup. Fix up event timestamps on workers, and enable the test that was supposed to test for it. r=khuey pending
2014-08-30 00:56:35 -04:00
Boris Zbarsky
ed56d2edc8
Bug 908390 part 2. Implement performance.now() on workers. r=khuey
...
--HG--
rename : dom/workers/test/test_worker_interfaces.html => dom/workers/test/test_worker_performance_now.html
rename : dom/tests/mochitest/general/test_performance_now.html => dom/workers/test/test_worker_performance_now.js
2014-08-29 19:50:06 -04:00
Wes Kocher
d10230338d
Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout
2014-08-26 16:34:46 -07:00
Valentin Gosu
077e9036e0
Bug 786419 - Provide way to "set network offline" per app r=jduell
2014-08-23 06:05:56 +03:00
Bobby Holley
b37f237317
Bug 981218 - Stop using default compartment objects in workers. r=bobowen
2014-08-21 17:13:51 -07:00
Reuben Morais
c0344960db
Bug 1040333 - Set principal flags in WorkerPrivateParent ctor. r=khuey
2014-08-20 14:34:14 -03:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
0fd6e994ae
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Boris Zbarsky
8c3da312f1
Bug 1017988 part 11. Codegen the definition of interface objects on worker globals. r=khuey
2014-08-04 22:20:35 -04:00
Ms2ger
5da7619768
Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst
2014-08-01 22:47:47 +02:00
Wes Kocher
7a4f0b4c18
Backed out changeset a668ab2d8dd3 (bug 1043853) for bustage
2014-08-01 14:25:10 -07:00
Ms2ger
92e6aaee17
Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst
2014-08-01 22:47:47 +02:00
Bobby Holley
a23211976d
Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem
2014-07-31 09:55:20 -07:00
Bobby Holley
6807884378
Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey
2014-07-29 21:00:37 -07:00
Ben Kelly
be3c62c4a3
Bug 1037294 Move empty queue assert to ScheduleDeletion() as its no longer always valid in ClearMainEventQueue(). r=bent
2014-07-29 09:25:29 -04:00
Nathan Yee
b346b2aea3
Bug 1006671 - Remove unnecessary JSContext argument to nsContentUtils::GetContentSecurityPolicy. r=bholley
2014-07-10 19:25:00 +02:00
Benoit Jacob
18c3e0073a
Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan
2014-07-08 17:23:17 -04:00
Jan de Mooij
44da586636
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Ryan VanderMeulen
d5a9289ee7
Bug 967614 - Comment out bogus assertion and re-enable test_closeOnGC.html on Android and B2G. r=khuey
2014-07-03 12:47:38 -04:00
Nikhil Marathe
a58ac47144
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 463146233c874c2f2c63c018f2a43a66ca9ea49a
2014-07-02 17:48:35 -07:00
Bob Owen
7e9cfd3b7e
Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley
2014-07-02 11:26:49 +01:00
Bob Owen
04251dbdab
Bug 1030707 - Part 7: Replace AutoPushJSContext in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley
2014-06-30 20:39:15 +01:00
Bob Owen
635fbe5acc
Bug 1030707 - Part 5: Replace AutoPushJSContext in SynchronizeAndResumeRunnable::Run. r=bholley
2014-07-01 11:25:27 +01:00
Wes Kocher
40b922a6e4
Backed out 3 changesets (bug 984048) for breaking hazard builds.
...
Backed out changeset 2d0c34b7045f (bug 984048)
Backed out changeset c18211a2afa1 (bug 984048)
Backed out changeset 30fa36882d57 (bug 984048)
2014-07-01 20:29:08 -07:00
Nikhil Marathe
80b377d13a
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
2014-07-01 16:43:13 -07:00
Steve Fink
24cfa3b01f
Bug 1022773 - Return value rooting for workers, r=bent
...
--HG--
extra : rebase_source : 5793c693fb00a71f203202beed491de8ef492093
2014-06-25 15:35:36 -07:00
Ryan VanderMeulen
a510b05849
Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes.
2014-06-30 17:22:47 -04:00
Nikhil Marathe
f66104b587
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Andrea Marchesini
6197f631af
Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan
2014-06-26 20:46:34 -07:00
Olli Pettay
67c5293976
Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
...
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Bob Owen
30816b5c06
Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley
2014-06-19 08:21:14 +01:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Ben Kelly
85647df24b
Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz
2014-06-16 12:52:00 -04:00
Ben Kelly
8bf2933ed2
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Bobby Holley
b6ba6fc7ae
Bug 990090 - Use AutoJSAPI for BroadcastErrorToSharedWorkers. r=khuey
2014-06-12 10:02:33 -07:00
Nikhil Marathe
bd64da1dc1
Bug 1008338 - Add WorkerScriptExecutedSuccessfully(). r=bent
2014-05-29 09:33:04 -07:00
Nikhil Marathe
535e4dce83
Bug 982749 - RuntimeService::CreateServiceWorker and associated.
2014-05-29 09:19:00 -07:00
Birunthan Mohanathas
d9e420fc7c
Bug 869836 - Part 12: Use Assign('c')
instead of AssignLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Nikhil Marathe
d16ae2c822
Bug 967264 - Patch 1: ServiceWorkerGlobalScope stub. r=khuey sr=jst
2014-05-13 14:28:01 -07:00
Nikhil Marathe
612c364b9a
Bug 975799 - WorkerTypeServiceWorker. r=bent
...
--HG--
extra : amend_source : f5baf0af33f762264a2e5bc2b1c3f20c63595147
2014-05-12 09:11:15 -07:00
Chris Peterson
aca9b90afe
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Benoit Jacob
60d536773a
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Bobby Holley
9c988d6c40
Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:02 -07:00
Andrea Marchesini
c143c01f4a
Bug 1004814 - console.time/timeEnd work in workers, r=bz
2014-05-06 10:50:12 +01:00
Birunthan Mohanathas
5f1fde8824
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
Aryeh Gregor
9e083a5d8a
Bug 990725 - Rename ErrorEvent.column to .colno to match spec change; r=smaug
2014-04-23 14:55:58 +03:00
Boris Zbarsky
a0bb95a823
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Boris Zbarsky
79dab91ff6
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
d4bd64ee2c
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
Steve Fink
12001268c0
Bug 912456 - transferable MessagePorts, r=jorendorff
...
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Jon Coppeard
92f0d66be8
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Jon Coppeard
fb6ccb11db
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Masayuki Nakano
930436ef24
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Tom Schuster
3f0943f577
Bug 355430 - Add the thrown error object to the dom error event. r=bz
2014-01-03 01:04:15 +00:00
Jon Coppeard
e6fbcd2690
Bug 959787 - Handlify some more GCing APIs r=sfink
2014-03-20 09:32:37 +00:00
Masayuki Nakano
3234ceea19
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
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Jason Orendorff
3e89ce1e7c
Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke.
2014-03-10 16:28:43 -05:00
Jan de Mooij
4c9d5d418c
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Luke Wagner
1f15bc50e0
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Kyle Huey
ccfa0fd03b
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
Wes Kocher
30b8684198
Backed out changeset 78c1e9b63491 (bug 979951) for m-bc bustage
2014-03-05 18:44:50 -08:00
Kyle Huey
a315427893
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
7e7f629257
Bug 975695, r=khuey.
2014-03-04 15:09:23 -08:00
Ed Morley
cbfe2d6c71
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Jan de Mooij
f3ddd05d72
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
575dddd2a7
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
6c50fbdfed
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
46b31338d1
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
dfb0b68df3
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
2ab672042c
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
2115be371f
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
c516662c22
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
d1770f387f
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
735137fc57
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
d0e56d0b88
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Jon Coppeard
c3759c40ff
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
9d352b3e2a
Bug 949946 - unique SharedWorker key composed by name and spec, r=bent
2014-02-06 14:39:10 +00:00
Boris Zbarsky
aca1375a89
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
1d5269baf5
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
601631da5d
Bug 966169 - OfflineStatusChangeRunnable modifies busy count. r=khuey
2014-02-01 15:30:55 -08:00
Kyle Huey
d21c9ac055
Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent
2014-01-31 21:50:07 -05:00
Kevin Grandon
e5b4f8aebb
Bug 964148 - location.origin is not available in workers. r=bent, r=baku
2014-01-31 13:22:52 -05:00
Bobby Holley
9e8990f21b
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
cd4dea4900
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
307f1d6f78
Bug 960416 - Always use JIT hardening. r=luke
...
--HG--
extra : rebase_source : ae9e635eac09044f05fea9ad27ab52bb888c703e
2013-12-25 00:21:59 -08:00