Граф коммитов

3327 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly e3e5175758 Bug 1319278 P2 Make the WorkerPrivate create a WorkerControlEventTarget. r=baku 2017-01-26 08:01:32 -08:00
Ben Kelly 9dfba8baab Bug 1319278 P1 Add a WorkerControlEventTarget that executes runnables as WorkerControlRunnables. r=baku 2017-01-26 08:01:32 -08:00
Christian Holler 4dc29b3b09 Bug 1332361 - Expose TestingFunctions to content in FUZZING builds. r=jandem.
MozReview-Commit-ID: HA0oodPzAeS

--HG--
extra : rebase_source : 896f4d9465b8bd2a5655dec63165f893b0f0f5df
2017-01-25 13:39:54 +01:00
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nicholas Nethercote 22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Bill McCloskey cf9eef1ea4 Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 16:34:37 -08:00
Bill McCloskey ef3d0f1c2e Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Olli Pettay 8607eb6848 Bug 1216175, ensure GC/CC are run in workers, r=baku
--HG--
extra : rebase_source : 588d593153636951d74b6523459f18aee9c56864
2017-01-27 13:27:42 +02:00
Wes Kocher f7ccafcb58 Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)

MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey 5e4b276c5d Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 10:04:55 -08:00
Bill McCloskey 80aaeed2fc Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Benjamin Bouvier 2552158d1c Bug 1333368: Pass option to always use wasm baseline compiler to workers; r=luke
MozReview-Commit-ID: LB1D6fuAUza

--HG--
extra : rebase_source : 2cbca48ace4098352badade4b4080a7063a14268
extra : amend_source : 857ce4960630e269e8d8cb2551eb6e47d6a0e150
2017-01-24 11:46:50 +01:00
Ben Kelly 30664f7219 Bug 1331619 Make ServiceWorkerClients check the return value of OpenWindow2(). r=catalinb 2017-01-24 06:10:50 -08:00
Ben Kelly e5bccaf01d Bug 1315446 Avoid crashing if GetCurrentThreadJSContext() or GetCurrentThreadWorkerGlobal() are called after worker shutdown. r=baku 2017-01-24 06:09:22 -08:00
Ben Kelly ced2265022 Bug 1333082 Handle nullptr mRegistration in ServiceWorkerUpdateJob::ContinueAfterInstallEvent(). r=asuth 2017-01-23 10:50:22 -08:00
Sebastian Hengst e3d93fdf34 Backed out changeset 2e942ed64921 (bug 1302566) for mass test failures after asserting isPrivate == mRespectPrivacy at imgLoader.cpp:2072. r=backout on a CLOSED TREE 2017-01-23 13:25:19 +01:00
Andrea Marchesini 27afefa942 Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan 2017-01-23 12:36:01 +01:00
Catalin Badea 1609baa123 Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes 2017-01-22 09:03:00 +02:00
Phil Ringnalda 2b0e87f459 Backed out 2 changesets (bug 1328293) for eslint failures
CLOSED TREE

Backed out changeset a76a454541fc (bug 1328293)
Backed out changeset 42823a93cd16 (bug 1328293)
2017-01-21 12:19:37 -08:00
Catalin Badea 9eb245ebd5 Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes 2017-01-21 21:19:35 +02:00
Nicholas Nethercote 12647a7223 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.

--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Lars T Hansen 6d7b1e9cef Bug 1312446 - Enable SharedArrayBuffer and Atomics by default. r=shu
--HG--
extra : rebase_source : 308016a3820017d790d7a77d8fc25e1388f04df4
extra : amend_source : 1fc3635840cd1a1021f6f3f9d6491c381a122dc9
2017-01-19 17:22:47 +01:00
Wes Kocher 336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Ben Kelly ace278d884 Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth 2017-01-19 08:11:41 -08:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Kris Maglione 729b7a2019 Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
MozReview-Commit-ID: FCXVHouhG3I

--HG--
extra : rebase_source : f3e9325559d40bcb4017ec2505f435275d4fea7f
2016-11-14 21:25:37 -08:00
Ben Kelly 8f32455085 Bug 1331656 Make ServiceWorkerManager handle PBackground init failure. r=baku 2017-01-18 12:18:51 -08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Ben Kelly 96ddcd4808 Bug 1330984 Handle mProfileDir being cleared in ServiceWorkerRegistrar. r=baku 2017-01-16 14:30:12 -05:00
Stone Shih 4a63ec7173 Bug 1267903 - Part 2: Enable related test cases. r=baku
MozReview-Commit-ID: KXDlkewqs9n

--HG--
extra : rebase_source : 70339d4159a51aba8d3688cb31606f806dd7cae8
extra : histedit_source : 043a5de4d8cd8f0774d2fd4c394fa4e462f7cfab
2016-11-17 19:07:53 +08:00
Ben Kelly 700a14067d Bug 1330693 Try to handle SW job double-completion better. r=ehsan 2017-01-16 09:17:15 -05:00
David Parks e214363851 Bug 1312788 - Log to browser console and telemetry if the parent content to a ServiceWorker is a file. r=bkelly
Info is useful to sandboxing. Logs when ServiceWorker is registered (i.e. each run), not just when it is installed.

--HG--
extra : rebase_source : e21a521a5015c722cfbf2f5a7a23d5cf39a88a18
2017-01-10 15:17:13 -08:00
Ben Kelly 9cf054007d Bug 1330679 Don't force crash if ServiceWorkerManager tries to init during browser shutdown. r=baku 2017-01-13 07:39:30 -08:00
Ben Kelly d930800016 Bug 1330673 Gracefully handle ServiceWorkerRegistrar not being active. r=baku 2017-01-13 07:39:28 -08:00
Carsten "Tomcat" Book d69139ac79 merge mozilla-inbound to mozilla-central a=merge 2017-01-13 10:20:25 +01:00
Ben Kelly 798b98749f Bug 1329989 - Simplify the ServiceWorkerRegistrationWorkerThread runnables. r=baku
MozReview-Commit-ID: MPxbX3vNpT
2017-01-12 16:46:24 -08:00
Ben Kelly 43bcf0875f Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Wes Kocher e7af9d37e0 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 1X0vSt6PtFn
2017-01-12 16:20:57 -08:00
Xidorn Quan a8e64a94e1 Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
MozReview-Commit-ID: 3uS9s5ZrPFd

--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Ryan VanderMeulen d62662c8d1 Bug 1244697 - Skip test_WorkerDebuggerGlobalScope.reportError.xul on Linux for intermittent timeouts. 2017-01-10 20:23:23 -05:00
Ryan VanderMeulen f83442a8e0 Bug 1244409 - Skip test_WorkerDebuggerManager.xul on Linux for intermittent timeouts. 2017-01-10 20:22:27 -05:00
Ben Kelly b54fac30f3 Bug 1329668 Handle partial initialized when ScriptLoader is canceled. r=baku 2017-01-10 08:20:16 -08:00
Ben Kelly 72c6b83915 Bug 1329716 Try to ensure we don't dispatch a SW event if the registration has been removed. r=asuth 2017-01-09 13:40:46 -08:00
Ben Kelly 5b3f27ba05 Bug 1329759 Gracefully handle a missing active service worker during interception. r=asuth 2017-01-09 13:40:46 -08:00
Catalin Badea 8fdb24116b Bug 1325381 - Fix crash with script constructed ExtendableEvent().waitUntil(). r=bkelly
--HG--
extra : rebase_source : 3f471344266b1cd77fa71bb33aed40adb2b52985
2016-12-22 12:27:00 -05:00
Ho-Pang Hsu 6311ff9492 Bug 1290944 - Part 4.2: Update a related gtest. r=bkelly 2017-01-04 17:09:10 +08:00
Ho-Pang Hsu e1372ee18c Bug 1290944 - Part 3.3: Propagate load flags to ScriptLoader when loading scripts. r=bkelly
--HG--
extra : rebase_source : 6cb8155fc3bee7ce33dc2c102b1da8c6f78b5d2a
extra : histedit_source : 162fc4393380cb44ec9a8ac4dd2b75847ecc33a4
2017-01-04 17:09:00 +08:00
Ho-Pang Hsu 35faba9cdd Bug 1290944 - Part 3.2: Pass LOAD_BYPASS_CACHE caused by script expiration timer to ServiceWorkerInfo. r=bkelly
--HG--
extra : rebase_source : 1922d7aa09cb63afecbd77d6d0922935cbef1211
extra : histedit_source : 122c0f5a3558fdefa6b9397f4846749817725c63
2017-01-04 17:08:58 +08:00
Ho-Pang Hsu c97ed915b8 Bug 1290944 - Part 3.1: Propogate load flags to ServiceWorkerInfo. r=bkelly
--HG--
extra : rebase_source : 906461c06b5859e3a799f4d0b419bb33d4e076c6
extra : histedit_source : f2cb7a617d5546f624d58795c6ec7b0cc886888d
2017-01-04 17:08:55 +08:00
Ho-Pang Hsu 011108b52a Bug 1290944 - Part 2.3: Set the load flags when registering a service worker. r=bkelly
--HG--
extra : rebase_source : e9aa5dcd79d696dd097fbe88775ba4a5be74d462
extra : histedit_source : 289384bf6f96ddd998828e1c365b3f7256e4f7f8
2017-01-04 17:08:51 +08:00
Ho-Pang Hsu 7b90ecb108 Bug 1290944 - Part 2.2: Load the main script with the load flags of the ServiceWorkerRegistration. r=bkelly
--HG--
extra : rebase_source : 313acc76937d6fe6905f7392101c55e6dddb1beb
extra : histedit_source : 8e0c5ba6490c7820e1066757594e219ad421981a
2017-01-04 17:08:46 +08:00
Ho-Pang Hsu 823817b955 Bug 1290944 - Part 2.1: Save load flags in ServiceWorkerRegistration. r=bkelly
--HG--
extra : rebase_source : 07b7eedfe4e3ab15b118247252217e19880b7a92
extra : histedit_source : 36d071ba90659d05fd071f8fe90ce5703f095390
2017-01-04 17:08:43 +08:00
Andrea Marchesini 94547f20bb Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly 2017-01-05 10:05:32 +01:00
Thomas Nguyen d1229b6f90 Bug 1304623 - Create a pref to control the default referrer policy - part 1. r=bkelly
MozReview-Commit-ID: 6R7kLB6jvhP
2017-01-05 11:30:07 +08:00
Bill McCloskey 8a53959bbe Bug 1320753 - Make TabGroup event target be a ThrottledEventQueue for timers, workers (r=bkelly)
MozReview-Commit-ID: FCfYz02r8yI
2016-12-23 11:48:13 -08:00
Catalin Badea 50c925905e Bug 1325101 - Update nofetch handler mochitest. r=bkelly 2016-12-21 10:38:00 +08:00
Catalin Badea f6289b3f5b Bug 1325101 - Don't set fetch handler flag for events other than 'fetch'. r=bkelly 2016-12-21 10:16:00 +08:00
Yoshi Huang 2ceecc22f5 Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug 2016-12-21 14:59:21 +08:00
Catalin Badea 48e3f68e98 Bug 1181127 - Update ServiceWorkerRegistrar gTest. r=bkelly 2016-12-19 04:38:53 +02:00
Catalin Badea 6f3c7b97ba Bug 1181127 - Mochitest for nofetch handler optimization. r=bkelly 2016-12-19 04:38:53 +02:00
Catalin Badea 82cfe6ab4d 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
Andrea Marchesini e65baf57a5 Bug 1323172 - Fix some mochitest failures, r=me 2016-12-16 10:23:49 +01:00
Andrea Marchesini 4f830c36c0 Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate, r=bz 2016-12-16 09:08:05 +01:00
Andrea Marchesini 64b687fb1c Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp(), r=bz 2016-12-16 09:07:39 +01:00
Andrea Marchesini d1ffedb88f Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly 2016-12-16 08:50:23 +01:00
Carsten "Tomcat" Book 8d71717fb4 Backed out changeset b7638db235fd (bug 1323172) for test bustage in dom/workers/test/test_navigator.html on a CLOSED TREE 2016-12-15 17:06:22 +01:00
Andrea Marchesini 130d95f581 Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly 2016-12-15 14:36:47 +01:00
Carsten "Tomcat" Book 2bad844136 Backed out changeset 8f305096ee45 (bug 1323172) for crashes in /test_tcpsocket_enabled_no_perm.html 2016-12-15 14:21:09 +01:00
Andrea Marchesini 87a09a3bb4 Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly 2016-12-15 12:46:21 +01:00
Thomas Wisniewski 54ad3187aa Bug 1319744 - Ensure that progress events and corresponding LOADING readystatechanges fire as per spec. r=baku 2016-12-13 15:23:01 -05:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Andrea Marchesini f22cf0451c Bug 1321530 - FileReader.abort() should not throw, r=smaug 2016-12-02 13:16:59 +00:00
Dylan Roeh 9ff1fe4af5 Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Andrea Marchesini 0980d4aa73 Bug 1321525 - FileReader.readAs* should throw if called nested, r=smaug 2016-12-01 18:57:36 +01:00
Tom Tung 6199b99617 Bug 1271692 - Do not fail event processing if an exception is thrown in ServiceWorker. r=bkelly 2016-11-10 17:53:24 +08:00
Tooru Fujisawa 515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Tooru Fujisawa db7ca4ebd1 Bug 1313490 - Part 3: Remove expression closure from dom/. r=mrbkap 2016-11-26 06:41:43 +09:00
Catalin Badea e991f36d9f Bug 1319334 - Resolve ready promise *after* updating registration.state properties. r=bkelly 2016-11-22 06:38:00 +08:00
Catalin Badea 3475196327 Bug 1317266 - Transition ServiceWorker instances when the SW changes states instead of just invalidating them. r=bkelly 2016-11-21 02:14:54 +00:00
Catalin Badea 781c81773d Bug 1317266 - Test registration.installing getting collected before all statechange events are dispatched. r=bkelly 2016-11-21 02:14:53 +00:00
Catalin Badea c50fc1bc10 Bug 1263304 - Add a mochitest for asynchronously calling waitUntil(). r=bkelly 2016-11-21 02:14:53 +00:00
Catalin Badea c9691a4a70 Bug 1263304 - Allow waitUntil() to be called asynchronously. r=bkelly
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
   them is rejected.
2. Extensions can be added asynchronously as long there is a pending
   waitUntil promise.
2016-11-21 02:14:53 +00:00
Catalin Badea 4d1930cd13 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-21 02:14:53 +00:00
Boris Zbarsky 884fc2ea5c Bug 1316616 part 1. Replace some redundant code in GetCurrentThreadWorkerPrivate() with a call to a function that we already have. r=bkelly 2016-11-18 16:13:06 -05:00
Andrea Marchesini 42cdd9436b Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-18 09:33:50 +01:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Sebastian Hengst fdfd8b91d1 Backed out changeset 2560659cda95 (bug 1318273) 2016-11-17 20:57:59 +01:00
Andrea Marchesini a895bd31ae Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-17 19:36:21 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Stone Shih 1ed10ff082 Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb

--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Ehsan Akhgari dc33b55d94 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Boris Zbarsky be79f7def4 Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Andrea Marchesini 24085dac28 Bug 1317725 -Correct creation of Sliced Remote Blob actorss when used in FormData in workers, r=smaug
--HG--
rename : dom/workers/test/script_bug1301094.js => dom/workers/test/script_createFile.js
2016-11-16 15:04:23 +01:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Thomas Nguyen b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Boris Zbarsky 9fa05c9f15 Bug 1317591. Get rid of IsCallerChrome usage in Navigator. r=bkelly
This restores the throwing behavior for .userAgent/appVersion/platform that was
incorrectly removed in bug 925847.
2016-11-15 17:44:43 -05:00
Andrea Marchesini 2aba798852 Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
Andrea Marchesini 957bc33d4a Bug 1313762 - SharedWorker::PreHandleEvent must be able to deal with widget events, r=smaug 2016-11-11 16:23:32 +01:00
Carsten "Tomcat" Book dc9b560f7d Backed out changeset f03cd54afbc1 (bug 1263304) for causing frequent timeouts in test_has_permissions.html 2016-11-11 10:48:20 +01:00
Carsten "Tomcat" Book e84cb96866 Backed out changeset b2d3c6629a37 (bug 1263304) 2016-11-11 10:47:43 +01:00
Carsten "Tomcat" Book 933a225285 Backed out changeset 2c423ac723b6 (bug 1263304) 2016-11-11 10:47:42 +01:00
Catalin Badea 9abfeeb183 Bug 1263304 - Add a mochitest for asynchronously calling waitUntil(). r=bkelly 2016-11-11 00:07:15 +02:00
Catalin Badea 41a29766a9 Bug 1263304 - Allow waitUntil() to be called asynchronously. r=bkelly
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
   them is rejected.
2. Extensions can be added asynchronously as long there is a pending
   waitUntil promise.
2016-11-11 00:07:15 +02:00
Catalin Badea 18617f0ce0 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-11 00:07:15 +02:00
Tom Tung 8b030a7e26 Bug 1264178 - Part 2: Change URL's getter function from PassByReference to ReturnByReference. r=bkelly
--HG--
extra : rebase_source : d38a18c5856943b125d4a999091e4532a56934e2
2016-11-07 14:59:00 +08:00
Tom Tung a63de77d6a Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Ben Kelly d48deb5760 Bug 1300659 P4 Use ThrottledEventQueue in workers. r=baku 2016-11-07 12:30:17 -08:00
Sebastian Hengst e271a86b39 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/workers. r=RyanVM
MozReview-Commit-ID: BqEzF7D2X1S

--HG--
extra : rebase_source : 12efebd4f3695625bc6987e854e290f88dc0f6ce
2016-11-05 11:29:18 +01:00
Jon Coppeard 11dbca2419 Bug 1309929 - Use an async memory report for workers r=erahm r=bkelly 2016-10-28 10:50:16 +01:00
Andrea Marchesini 137c628055 Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth 2016-11-03 08:18:51 +01:00
Sebastian Hengst 5cd97768df Backed out changeset 0473f2d0d024 (bug 1289001) for eslint failures. r=backout on a CLOSED TREE 2016-11-02 23:04:44 +01:00
Andrea Marchesini d20e6fd29f Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth 2016-11-02 21:57:45 +01:00
Geoff Brown ef3f1323fa Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Andrea Marchesini 71a877d360 Bug 1314341 - Missing check for baseURI in ServiceWorkerManager::Register, r=bkelly 2016-11-01 21:46:24 +01:00
Dylan Roeh 041f83edff Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-31 14:10:25 -05:00
Wes Kocher 876ad139ba Bug 1304966 - Mark Storage APIs as nightly-only r=bz a=me CLOSED TREE
--HG--
extra : amend_source : 3ab5ad4d67c2752e318a9aadcd4e27b519e1e7cf
extra : histedit_source : 401472005646e5e3800a94c508eb8b1c71041fc4%2C7b315988fe6ed4c603a20d87a7f61e6c9549b1df
2016-10-28 11:28:51 -07:00
Carsten "Tomcat" Book a8880bf90a Backed out changeset b010bc739093 (bug 1309929) for frequent failures in test_WebAudioMemoryReporting.html 2016-10-28 16:06:58 +02:00
Jon Coppeard 9c95009509 Bug 1309929 - Use an async memory report for workers r=erahm 2016-10-28 10:50:16 +01:00
Phil Ringnalda 9fa3ebe028 Backed out changeset 582e5f96a727 (bug 1262251) for Linux serviceworker bustage 2016-10-27 18:50:12 -07:00
Dylan Roeh df4c14e4bb Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-27 13:58:39 -05:00
Wes Kocher cbc0a94248 Backed out changeset 0349a81229e7 (bug 1262251) for build bustage a=backout CLOSED TREE
--HG--
extra : amend_source : 68bb204192d6e3f0c2ae4287dbbf09b81f676f64
2016-10-27 11:55:12 -07:00
Dylan Roeh 04eecc22e1 Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-27 12:49:50 -05:00
Ryan VanderMeulen 845c51f12f Bug 1309861 - Update the dom/workers interfaces test expectations as well. r=bz
--HG--
extra : rebase_source : f6912c4a018183bc8bdc38547d5ac416ce2acd55
2016-10-27 14:07:31 -04:00
Andrea Marchesini 65ae873c8a Bug 1313007 - Remove ExtendableMessageEvent::SetSource, r=qdot 2016-10-26 22:02:54 +02:00
Andrea Marchesini 92035ed242 Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot 2016-10-26 22:00:17 +02:00
Ben Kelly 0983850a63 Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug 2016-10-26 10:20:16 -07:00
Ben Kelly bf0ca72f77 Bug 1303167 P2 Use new window suspend and freeze methods. r=smaug
* * *
Bug 1303167 P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Shawn Huang d93d31503b Bug 1304966 - Enable Storage API only for nightly bulid, r=baku 2016-10-26 21:38:08 +08:00
Andrea Marchesini 909b97a385 Bug 1312705 - Update ExtendableMessageEvent to the latest version of the spec, r=smaug 2016-10-25 18:23:06 +02:00
Andrea Marchesini 9d5c3d64e8 Bug 1312705 - Update ServiceWorkerMessageEvent to the latest version of the spec, r=smaug 2016-10-25 18:22:46 +02:00
Andrea Marchesini 2304607a62 Bug 1307566 - Timeout increased for test_subworkers_suspended.html, r=bkelly 2016-10-25 18:21:34 +02:00
Andrea Marchesini a9fedb7608 Bug 1272066 - Add telemetry for sync worker runnables, r=bkelly 2016-10-25 15:39:30 +02:00
Ben Kelly 2cebe4f62c Bug 1311523 Allow multiple windows to be paused for SharedWorkers. r=baku 2016-10-25 06:26:04 -07:00
Lars T Hansen 9f439ac1de Bug 1302036 - DOM changes to conform to new JS engine API for cloning. r=baku
--HG--
extra : rebase_source : bc9bda42eb0769f2fe76d702a41278e01bb497d7
2016-10-24 15:14:45 +02:00
Andrea Marchesini c11a158627 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
Sebastian Hengst 1d68ef32e7 Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout 2016-10-24 19:14:38 +02:00
Andrea Marchesini 1a3cb83d92 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-24 17:10:46 +02:00
Paul Bignier 48fae840d8 Bug 1305959 - Initialize a ClientNavigateRunnable member. r=baku 2016-09-29 10:40:26 +02:00
Tooru Fujisawa 6f9d4ca127 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa fa2f08828a Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Boris Zbarsky c2d8d70720 Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Boris Zbarsky 39be7c954d Bug 1267339 part 3. Add support for the noopener window feature in windowwatcher. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky 9c68071fa2 Bug 1267339 part 2. Push maintenance of the popup spam count down into the window watcher. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky fe57b51a79 Bug 1267339 part 1. Remove the unused aOpenerFullZoom argument to nsPIWindowWatcher::OpenWindow2. r=mconley 2016-10-20 16:52:37 -04:00
Tom Tung ed32b98f9f Bug 1311290 - Move the skip-if annotation to the test it was intended for. r=bkelly 2016-10-19 17:37:57 +08:00