Commit Graph

287 Commits

Author SHA1 Message Date
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
Boris Zbarsky
a2c926eb89 Bug 1252127. Remove unnecessary JSContext argument from PromiseWorkerProxy::CleanUp. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
c28f8bc025 Bug 1252123. Remove some unnecessary JSContext arguments from worker ScriptLoader methods. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
b291c84225 Bug 1251045 part 6. Remove the JSContext argument from some worker debugger methods that no longer need it. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
e3eff10fb4 Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey 2016-02-26 15:23:12 -05:00
Kyle Huey
f14b772a73 Bug 1247117: De-namespace much of IndexedDB. r=baku 2016-02-16 13:46:08 -08:00
Andrea Marchesini
7c21a63493 Bug 1246784 - Expose Console to the WorkerDebuggerGlobalScope, r=khuey 2016-02-11 17:41:17 +00:00
Jeff Walden
8274545726 Bug 1216150 - Mini-bustage fix for something I think I unintentionally qref'd into the final patch. r=bustage in a CLOSED TREE 2016-02-01 13:37:27 -08:00
Jeff Walden
17388c8414 Bug 1216150 - Turn on the experimental Intl.DateTimeFormat.prototype.formatToParts in b2g certified apps. r=fabrice 2016-02-01 12:48:58 -08:00
Luke Wagner
786af33c6f Bug 1239601 - improve the UniquePtr situation (r=jandem) 2016-01-15 18:26:20 -06:00
Lars T Hansen
b83bd4ebc0 Bug 1231337 - part 2, conditionally enable shared memory for dedicated workers. r=khuey 2016-01-06 16:31:38 +01:00
Kyle Huey
532219e569 Bug 1059469: Part 1 - Add a log module for dump() calls. r=bent 2016-01-06 13:18:29 -08:00