Boris Zbarsky
ad8f8e0e37
Bug 1306170 part 6. Implement WindowOrWorkerGlobalScope.origin. r=bkelly
2017-02-13 16:06:47 -05:00
Andrea Marchesini
f0aa583269
Bug 1336020 - transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00
Andrea Marchesini
21b2cb9c61
Bug 1336020 - postMessages should have transferable as [] by default, r=smaug
2017-02-03 11:00:37 +01:00
Andrea Marchesini
9a2bd5d892
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-03 08:35:19 +01:00
Sebastian Hengst
d6f61185f7
Backed out changeset bf20544a7385 (bug 1336043) for failing wpt interfaces.worker.html. r=backout
2017-02-02 17:35:46 +01:00
Andrea Marchesini
8dc45e67f4
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-02 16:15:24 +01:00
Boris Zbarsky
942ec8bf1b
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
2017-02-01 15:43:37 -05:00
Ben Kelly
98ea6e67f7
Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth
2017-01-12 14:00:36 -08:00
Catalin Badea
7efa9ca614
Bug 1325101 - Don't set fetch handler flag for events other than 'fetch'. r=bkelly
2016-12-21 10:16:00 +08:00
Catalin Badea
89dcbf3918
Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
...
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Boris Zbarsky
d1532e434a
Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly
2016-10-10 15:09:00 -04:00
Tooru Fujisawa
62bfd3045f
Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden
2016-08-14 20:39:29 +09:00
Ben Kelly
1d07830caa
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Wes Kocher
e70a727506
Backed out 6 changesets (bug 1300658) for frequent Windows VM Xpcshell failures a=backout
...
Backed out changeset 6cf3a60640cf (bug 1300658)
Backed out changeset c74062a27462 (bug 1300658)
Backed out changeset 39fbc61739ef (bug 1300658)
Backed out changeset 0b9d70b040a2 (bug 1300658)
Backed out changeset 4e921d61f036 (bug 1300658)
Backed out changeset 56496fad6494 (bug 1300658)
2016-09-12 16:34:08 -07:00
Ben Kelly
c55871977b
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
449d185850
Backout rev 5c7368370ff9 to 980659720b86 (bug 1300118 and bug 1300658) for incorrect bug number in commit message. r=me
2016-09-12 12:29:17 -07:00
Ben Kelly
07e44cb284
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 11:21:02 -07:00
Andrea Marchesini
8219258940
Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug
2016-08-16 08:10:30 +02:00
Sebastian Hengst
31d3ea3143
Backed out changeset 2d5975fd02bd (bug 1288770) for asserting in ErrorResult.h when test test_errorPropagation.html runs. r=backout
2016-08-16 17:11:22 +02:00
Andrea Marchesini
1a1510ed53
Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug
2016-08-16 08:10:30 +02:00
Nicholas Nethercote
0550795f93
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
2016-08-08 10:54:47 +10:00
Kaku Kuo
bcb7169ac7
Bug 1292091 - Part 2 - replace MaybeResolve(JS::UndefinedHandleValue) with MaybeResolveWithUndefined(); r=bz
...
MozReview-Commit-ID: KNbxVcCVqts
2016-08-09 17:15:13 +08:00
Alexandre Lissy
e4fd2dab03
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
2016-04-21 15:48:59 +02:00
Kyle Huey
ce16c8e90c
Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
2016-06-28 10:47:23 -07:00
Andrea Marchesini
611ada4ec2
Bug 1280067 - WorkerThreadModifyBusyCount should be the default value for WorkerRunnable, r=sicking
2016-06-28 19:28:13 +02:00
Andrea Marchesini
87366df1f0
Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly
2016-06-12 16:26:51 +02:00
Andrea Marchesini
7dcf0fcf39
Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
2016-06-09 19:04:42 +02:00
Kaku Kuo
bb1a89ad46
Bug 1141979 - part13 - export to WorkerGlobalScope; r=jrmuizel
...
MozReview-Commit-ID: 9AAPwpck23l
2016-04-27 11:47:36 +08:00
Kaku Kuo
f8a320135f
Bug 1141979 - part1 - WebIDL for native implementation; r=jrmuizel, r=smaug
...
MozReview-Commit-ID: 9gC0rxhsOLm
2015-11-18 16:57:38 +08:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Tim Taubert
a4a82e703a
Bug 842818 - Expose WebCrypto API to workers r=baku
2015-09-21 19:29:41 +02:00
Boris Zbarsky
e470e57f99
Bug 1262630. Replace workers::GetGlobalObjectForGlobal with xpc::NativeGlobal. r=khuey
2016-04-07 21:58:21 -04:00
Kyle Huey
004bb4cb7c
Bug 1261428: Clean up a bit more. r=bz
2016-04-06 14:57:44 -07:00
Kyle Huey
a6dc3953f1
Bug 1261428: Migrate the useless setTimeout error message to the bindings infrastructure. r=bz
2016-04-06 14:20:30 -07:00
Nicholas Nethercote
a34f03aa34
Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
...
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.
2016-04-04 08:45:07 +10:00
Boris Zbarsky
c380dbce70
Bug 1246153 part 2. Create a way to ask for a clean new global that works on both mainthread and workers. r=bholley
2016-04-04 12:29:16 -04:00
Eddy Bruel
97ab5850ad
Bug 1260439 - workerdebuggersandbox_moved needs to update the wrappercache;r=bz
2016-03-31 08:48:47 +02:00
Andrea Marchesini
9809ef581e
Bug 1260414 - WorkerDebuggerGlobalScope.setConsoleEventHandler should be able to receive a null param, r=bz
2016-03-29 15:56:10 +01:00
Kyle Huey
20d0dc7286
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Kyle Huey
2835cd7aa7
Bug 1259290: Part 1 - Remove unnecessary JS_ReportError calls. r=bz
2016-03-28 10:28:14 -07:00
Andrea Marchesini
4407d25841
Bug 1246091 - patch 4/7 - Expose ConsoleCallData to WorkerDebuggerGlobalScope, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
d288f72bcf
Bug 1246091 - patch 2/7 - Propagate initialization error in Console.cpp, r=ejpbruel
2016-03-23 22:55:07 +01:00
Kyle Huey
ed655a2d1b
Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
2016-03-18 14:15:46 -07:00
Andrea Marchesini
8273ea4f10
Bug 1257480 - null check for GetOrCreateGlobalScope() in WorkerDebuggerGlobalScope, r=khuey
2016-03-18 14:04:57 +01:00
Wes Kocher
836200e139
Backed out changeset 057ffdc30f1e (bug 1257355) for build bustage CLOSED TREE
...
MozReview-Commit-ID: 6e53Rrv5mEz
2016-03-17 15:38:39 -07:00
Kyle Huey
0530451d2d
Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
2016-03-17 15:06:14 -07:00
Kyle Huey
9071017b14
Bug 1257038: Remove the worker descriptor for WorkerLocation. r=bz
2016-03-16 11:51:11 -07:00
Benjamin Bouvier
e9e5750ced
Bug 1251308; r=luke
...
MozReview-Commit-ID: AqsMX4m7Qh9
2016-03-09 11:20:11 +01:00
Kyle Huey
6831932bf4
Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz
2016-03-10 01:50:56 -08:00
Ehsan Akhgari
0cd75f330a
Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly
2016-03-01 09:16:38 -05:00