Commit Graph

286 Commits

Author SHA1 Message Date
Ben Kelly
f1f3b13517 Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku 2016-09-13 20:14:02 -07:00
Wes Kocher
17b9381e0b 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
9b3174b58d Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku 2016-09-12 12:32:21 -07:00
Ben Kelly
a8a4ae3c4f 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
cb975cddf1 Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku 2016-09-12 11:21:02 -07:00
Andrea Marchesini
01bf6ba4a1 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Sebastian Hengst
167156e726 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
780f93ea66 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Nicholas Nethercote
bab6d17ebf 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.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Kaku Kuo
a6ed727230 Bug 1292091 - Part 2 - replace MaybeResolve(JS::UndefinedHandleValue) with MaybeResolveWithUndefined(); r=bz
MozReview-Commit-ID: KNbxVcCVqts

--HG--
extra : transplant_source : %1D%18%E5%C9o%F0%29%E7%E0%93%EEcR%C7B%3BeX%B3%87
2016-08-09 17:15:13 +08:00
Alexandre Lissy
6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Kyle Huey
2dda6971f7 Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
--HG--
extra : rebase_source : ed96d99034e9236bd1fd4a8287efbd17cf20138e
2016-06-28 10:47:23 -07:00
Andrea Marchesini
7fc60537c1 Bug 1280067 - WorkerThreadModifyBusyCount should be the default value for WorkerRunnable, r=sicking 2016-06-28 19:28:13 +02:00
Andrea Marchesini
82f92bee37 Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly 2016-06-12 16:26:51 +02:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Kaku Kuo
7f06ee1c5c Bug 1141979 - part13 - export to WorkerGlobalScope; r=jrmuizel
MozReview-Commit-ID: 9AAPwpck23l

--HG--
extra : transplant_source : sM%3E%91%22h%8D%8C%9CoD%5B%E0%E7e%C1T%FD%1ET
2016-04-27 11:47:36 +08:00
Kaku Kuo
ec2d98e4c3 Bug 1141979 - part1 - WebIDL for native implementation; r=jrmuizel, r=smaug
MozReview-Commit-ID: 9gC0rxhsOLm

--HG--
extra : transplant_source : %7D%9A%C8%05%99%17Y%1E1%404%A7%14%BE%8B%AC%F0b%A2%5B
2015-11-18 16:57:38 +08:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Tim Taubert
c75738f5b2 Bug 842818 - Expose WebCrypto API to workers r=baku 2015-09-21 19:29:41 +02:00
Boris Zbarsky
272e533b18 Bug 1262630. Replace workers::GetGlobalObjectForGlobal with xpc::NativeGlobal. r=khuey 2016-04-07 21:58:21 -04:00
Kyle Huey
5ae7a0e455 Bug 1261428: Clean up a bit more. r=bz 2016-04-06 14:57:44 -07:00
Kyle Huey
285235dfaa Bug 1261428: Migrate the useless setTimeout error message to the bindings infrastructure. r=bz 2016-04-06 14:20:30 -07:00
Nicholas Nethercote
f7dab46ae8 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.

--HG--
extra : rebase_source : eb78ade09ce268e886d091f6cbc38d7e5e912527
2016-04-04 08:45:07 +10:00
Boris Zbarsky
63950bd866 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
c0702bc113 Bug 1260439 - workerdebuggersandbox_moved needs to update the wrappercache;r=bz 2016-03-31 08:48:47 +02:00
Andrea Marchesini
5f2d5ca216 Bug 1260414 - WorkerDebuggerGlobalScope.setConsoleEventHandler should be able to receive a null param, r=bz 2016-03-29 15:56:10 +01:00
Kyle Huey
d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey
3fd22a326c Bug 1259290: Part 1 - Remove unnecessary JS_ReportError calls. r=bz 2016-03-28 10:28:14 -07:00
Andrea Marchesini
931f576f19 Bug 1246091 - patch 4/7 - Expose ConsoleCallData to WorkerDebuggerGlobalScope, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini
e2091ba30e Bug 1246091 - patch 2/7 - Propagate initialization error in Console.cpp, r=ejpbruel 2016-03-23 22:55:07 +01:00
Kyle Huey
2fc599905e Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-18 14:15:46 -07:00
Andrea Marchesini
bfc5e29f9d Bug 1257480 - null check for GetOrCreateGlobalScope() in WorkerDebuggerGlobalScope, r=khuey 2016-03-18 14:04:57 +01:00
Wes Kocher
ef118686fd Backed out changeset 057ffdc30f1e (bug 1257355) for build bustage CLOSED TREE
MozReview-Commit-ID: 6e53Rrv5mEz

--HG--
rename : dom/workers/WorkerNavigator.cpp => dom/workers/Navigator.cpp
rename : dom/workers/WorkerNavigator.h => dom/workers/Navigator.h
2016-03-17 15:38:39 -07:00
Kyle Huey
bee42d87b9 Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-17 15:06:14 -07:00
Kyle Huey
348998b290 Bug 1257038: Remove the worker descriptor for WorkerLocation. r=bz
--HG--
rename : dom/workers/Location.cpp => dom/workers/WorkerLocation.cpp
rename : dom/workers/Location.h => dom/workers/WorkerLocation.h
2016-03-16 11:51:11 -07:00
Benjamin Bouvier
70202e15a1 Bug 1251308; r=luke
MozReview-Commit-ID: AqsMX4m7Qh9

--HG--
extra : rebase_source : 519aef2cf8c0bb39771d4589069e8fd1a06970c3
2016-03-09 11:20:11 +01:00
Kyle Huey
9eea75a6f5 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
8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Boris Zbarsky
f47268eca8 Bug 1252127. Remove unnecessary JSContext argument from PromiseWorkerProxy::CleanUp. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
69924c14ce Bug 1252123. Remove some unnecessary JSContext arguments from worker ScriptLoader methods. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
60b1a3f005 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
7345c5edb1 Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey 2016-02-26 15:23:12 -05:00
Kyle Huey
31dabb4558 Bug 1247117: De-namespace much of IndexedDB. r=baku 2016-02-16 13:46:08 -08:00
Andrea Marchesini
14fefc056e Bug 1246784 - Expose Console to the WorkerDebuggerGlobalScope, r=khuey 2016-02-11 17:41:17 +00:00
Jeff Walden
8ab8bd921d 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
1fbf47cd58 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
72ea23c63e Bug 1239601 - improve the UniquePtr situation (r=jandem)
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Lars T Hansen
1b2551c10b Bug 1231337 - part 2, conditionally enable shared memory for dedicated workers. r=khuey
--HG--
extra : rebase_source : 9da6daa1211937d0fe1ca11eccce4ea90ca0e637
extra : histedit_source : 4d08c392a2766d46dcb41b14dea24d4c4f9be855
2016-01-06 16:31:38 +01:00
Kyle Huey
d878b5bb2d Bug 1059469: Part 1 - Add a log module for dump() calls. r=bent 2016-01-06 13:18:29 -08:00
Jeff Walden
5be7be38a1 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00