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

2852 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 13d4638d6c Bug 1259338 P1 Ensure that AllowWindowInteractionHandler is released on worker thread. r=khuey 2016-04-08 13:12:52 -07:00
Tim Taubert baaa3908f8 Bug 842818 - Add Crypto and SubtleCrypto to expected (service) worker interfaces r=smaug 2016-04-05 18:17:18 +02: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
Ryan VanderMeulen bbada51d70 Bug 1262224 - Re-enable some disabled serviceworker tests on Win e10s debug and disable test_fetch_event.html for intermittent leaks.
--HG--
extra : rebase_source : b8c12edc5e69f913d9e3f02c296841a465900cfe
2016-04-07 19:04:58 -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
Ben Kelly 8fa311db70 Bug 1256428 P19 Address ServiceWorkerUnregisterJob review feedback. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 7e15b8af00 Bug 1256428 P18 Add spec annotations and tweak asserts in ServiceWorkerUpdateJob. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 807cba86ca Bug 1256428 P17 Rename service worker job classes to remove "2" suffix. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 2fc57fa286 Bug 1256428 P16 Fix some issues calling purgeCache() in ServiceWorkerUpdateJob.cpp. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 230ff32ecd Bug 1256428 P15 Perform byte-for-byte comparison check after validating script URL. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 5be0b3bf6e Bug 1256428 P14 Remove dead code in SeviceWorkerUpdateJob.cpp. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly e12c361099 Bug 1256428 P13 Remove unnecessary ServiceWorkerUnregsterJob2 stop. r=jdm
See: https://github.com/slightlyoff/ServiceWorker/issues/855
2016-04-06 13:27:23 -07:00
Ben Kelly bd0809f521 Bug 1256428 P12 ServiceWorkerUnregisterJob2 should not use ServiceWorkerManager internals. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly aefe22fcb0 Bug 1256428 P11 Don't coalesce SW jobs after the existing job has already resolved its promise. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 6bdc298a74 Bug 1256428 P10 Remove ServiceWorkerRegistrationInfo::mUpdating flag. r=jdm 2016-04-06 13:27:23 -07:00
Ben Kelly 1bafe887a8 Bug 1256428 P9 Remove now unused code from ServiceWorkerManager.cpp. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 7358d7c977 Bug 1256428 P6 Use ServiceWorkerJobQueue2 and new job classes in ServiceWorkerManager. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 50026652cb Bug 1256428 P5 Add ServiceWorkerUnregisterJob2 class. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly ca5222c063 Bug 1256428 P4 Add ServiceWorkerRegisterJob2. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 9f390beeff Bug 1256428 P3 Add ServiceWorkerUpdateJob2. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 427d67b7be Bug 1256428 P2 Add ServiceWorkerJobQueue2 class. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 9aff747125 Bug 1256428 P1 Add ServiceWorkerJob2 base class. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly 0ff5ceefd5 Bug 1256428 P0 Fix unified build failures in dom/workers. r=jdm 2016-04-06 13:27:22 -07:00
Ben Kelly b49ff12e19 Bug 1261776 Use SafeElementAt() in service worker job queue. r=ehsan 2016-04-06 10:21:36 -07:00
Kyle Huey dca62fc1ed Bug 1261814: Use the presence of the content global, and not any random global, to determine whether to run the close handler. r=bz 2016-04-05 20:12:56 -07:00
Ben Kelly 4f8961505e Bug 1238707 Remove blanket disable of serviceworker mochitests on windows debug e10s. r=ryanvm 2016-04-05 11:15:06 -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
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Kit Cambridge 4d03aea7f9 Bug 1255621 - Ignore service workers previously registered in non-private windows. r=bkelly
MozReview-Commit-ID: 8ncS62nJKVD

--HG--
extra : rebase_source : c06bc3a1595e3f5c42ce9dfc1ca78a0845c1c599
2016-04-01 14:17:07 -07: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
Kit Cambridge 2bfd46b860 Bug 1257401 - Remove the worker descriptor for `PushManager`. r=khuey
MozReview-Commit-ID: 4nZElH1K3W5

--HG--
extra : rebase_source : d325e2fc44124acc0bd04b133605bf04a99ab906
2016-04-01 15:25:49 -07:00
Catalin Badea 5082e816d8 Bug 1248772 - Trigger a OS window focus in ServiceWorkerClients::OpenWindow. r=ehsan 2016-03-31 16:06:00 +02:00
Eddy Bruel c0702bc113 Bug 1260439 - workerdebuggersandbox_moved needs to update the wrappercache;r=bz 2016-03-31 08:48:47 +02:00
John Dai 059fdf21d7 Bug 1220757 - Add report to console when service worker register fails due to mismatching scope path.r=bkelly
MozReview-Commit-ID: 9hRBzWtSAd2

--HG--
extra : rebase_source : 8552934879813ac2bd6ca828b3a2ec99b35893df
2016-03-31 23:08:45 -07:00
Emanuel Hoogeveen 1efa5deaf7 Bug 1260475 - Add an option to disable GC slices triggered by painting. r=terrence a=kwierso
MozReview-Commit-ID: B81ZHm0EgZB
2016-03-31 14:26:30 -07:00
Kit Cambridge c92c8e5179 Bug 1247089 - Add a mode to `ReportToConsoleNonLocalized` that ignores the calling location. r=bkelly
MozReview-Commit-ID: 3hAP7IgNxYs

--HG--
extra : rebase_source : fa07988a1359863ba12383055a6fbb81722f1363
2016-03-10 20:28:41 -08:00
Kit Cambridge d55b21e98b Bug 1246341 - Report push event errors and rejections to the Push service. r=baku
MozReview-Commit-ID: D6fRPqojOEh

--HG--
extra : rebase_source : 41c55862cb7393681fdea28e35b689a970a376c3
2016-03-28 11:50:39 -07: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
Ben Kelly 09994fa230 Bug 1249438 P3 Add a gtest that registers duplicate service worker registrations. r=baku 2016-03-29 07:20:48 -07:00
Ben Kelly b9f4a74086 Bug 1249438 P2 Modify existing gtest to use RegisterServiceWorkerInternal. r=baku 2016-03-29 07:20:48 -07:00
Ben Kelly a28d138da6 Bug 1249438 P1 Move guts of RegisterServiceWorker() into a protected method that can be tested in gtest. r=baku 2016-03-29 07:20:48 -07:00
Blake Kaplan 76cf7eedc8 Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking 2016-03-28 13:39:12 -07:00
Blake Kaplan ce83243b88 Bug 1257861 - Test that we send cookies from XHRs in web workers when 3rd party cookies are disabled. r=sicking 2016-03-28 13:39:12 -07:00
Ehsan Akhgari 80d71bced1 Bug 1259164 - Set ServiceWorkerMessageEvent.origin correctly when calling ServiceWorkerClient.postMessage(); r=bkelly 2016-03-28 15:14:40 -04:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey fe5f7b4105 Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey 2b94386d24 Bug 1259290: Part 4 - Remove JS_ReportError for a situation that can never happen. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey b55b8c715b Bug 1259290: Part 3 - Remove JS_ReportError and cx handling from RegisterWorker and friends. r=bz,jandem 2016-03-28 10:28:14 -07:00
Kyle Huey 47f6f925e1 Bug 1259290: Part 2 - Remove the cx from [Add|Remove]ChildWorker. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey 3fd22a326c Bug 1259290: Part 1 - Remove unnecessary JS_ReportError calls. r=bz 2016-03-28 10:28:14 -07:00
Eddy Bruel 3e2cb55980 Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey 2016-03-24 16:12:00 +01:00
Andrea Marchesini 934bd500b6 Bug 1246091 - patch 6/7 - Tests, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini df932690be Bug 1246091 - patch 5/7 - Remove data when memory pressure notification is received, r=ejpbruel 2016-03-23 22:55:07 +01: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
Boris Zbarsky e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Ehsan Akhgari 100dda0d7d Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug 2016-03-22 17:49:09 -04:00
Boris Zbarsky 42b3bbe27a Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky efa07c06d1 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Ben Kelly cbc3ebad39 Bug 1253793 Update ScriptLoader assertion to handle cancelation case. r=khuey 2016-03-22 13:22:15 -07:00
Sebastian Hengst 0e9bf1445a Backed out changeset 6e95ee3cd4c6 (bug 1257919) 2016-03-22 21:10:21 +01:00
Sebastian Hengst 336c2cc4ae Backed out changeset 08f1c7239cdf (bug 1257919) 2016-03-22 21:10:01 +01:00
Boris Zbarsky 5df498fbd2 Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky 38af226a36 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Tooru Fujisawa e2a8d2a6b4 Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Jocelyn Liu b382b4642e Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
Fabrice Desré 4f6827357a Bug 1258034 - Fix ServiceWorkerPrivate.cpp build error on b2g r=khuey 2016-03-20 09:57:33 -07: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
Luke Wagner 6d089acee2 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Andrea Marchesini bfc5e29f9d Bug 1257480 - null check for GetOrCreateGlobalScope() in WorkerDebuggerGlobalScope, r=khuey 2016-03-18 14:04:57 +01:00
Carsten "Tomcat" Book d115280c5f Backed out changeset a7040abce944 (bug 1008453) for w-p-t test failures on a CLOSED TREE 2016-03-18 08:21:42 +01:00
Boris Zbarsky 60d3ad7ce0 Bug 1257568. Remove the JSContext argument of WorkerPrivate::Kill. r=khuey 2016-03-17 23:23:55 -04:00
Luke Wagner 83bbb15353 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04: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
Eddy Bruel 6894a80365 Bug 1047663 - Disabling the cache in a tab should also disable it for all workers in that tab;r=khuey 2016-03-17 11:03:05 +01:00
Kyle Huey 171ac8799b Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz 2016-03-16 13:44:24 -07:00
Sebastian Hengst c213b3dd0c Backed out changeset 06101225c145 (bug 1257042) for bustage. r=backout on a CLOSED TREE 2016-03-16 20:30:32 +01:00
Kyle Huey 24341cb722 Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz 2016-03-16 11:51:11 -07:00
Kyle Huey 9b06834782 Bug 1257039: Remove the worker descriptor for FileReaderSync. r=bz 2016-03-16 11:51:11 -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
Kyle Huey d11b9db617 Bug 1257032: Make files in dom/workers actually build without unification. r=baku 2016-03-16 11:51:11 -07:00
Ben Kelly 9856db4da2 Bug 1256411 Simplify and cleanup ServiceWorkerInfo. r=ehsan 2016-03-15 07:29:56 -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
Tooru Fujisawa 20ae44e9a0 Backed out changeset 08ee8e76c703 (bug 1153978) 2016-03-13 04:26:57 +09:00
Tooru Fujisawa a66bde4a5f Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Boris Zbarsky 57fc0e989c Bug 1255709. Simplify the JSContext/GlobalObject handling in ServiceWorkerRegistrationMainThread::GetPushManager a bit. r=bkelly 2016-03-11 16:43:31 -05:00
Boris Zbarsky ab1c6dbdb0 Bug 1255706 part 2. Remove JSContext argument from WorkerPrivate::Terminate. r=khuey 2016-03-11 16:43:30 -05:00
Boris Zbarsky bbdf086021 Bug 1255706 part 1. Remove JSContext argument from WorkerPrivate constructor. r=khuey 2016-03-11 16:43:30 -05:00
Boris Zbarsky 97f19fccac Bug 1255692. Add another test for calling ServiceWorkerRegistration.showNotification. r=wchen
--HG--
rename : dom/workers/test/serviceworkers/notificationclick.html => dom/workers/test/serviceworkers/notificationclick-otherwindow.html
rename : dom/workers/test/serviceworkers/test_notificationclick.html => dom/workers/test/serviceworkers/test_notificationclick-otherwindow.html
2016-03-10 23:14:01 -05:00
Ehsan Akhgari 24fbc15619 Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-11 14:40:53 -05:00
Ehsan Akhgari b70a0ad138 Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-11 14:40:41 -05:00
Ehsan Akhgari ac9a100c66 Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-11 14:40:33 -05:00
Sebastian Hengst 7045a40a0f Backed out changeset 50c03319c341 (bug 1246091) for mochitest failures. r=backout 2016-03-11 20:16:19 +01:00
Andrea Marchesini c4e620f562 Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel 2016-03-11 17:59:52 +01:00
Jan de Mooij 40172eddb0 Bug 1212328 - Clean up some JSErrorReport-related code. r=Waldo,bz 2016-03-11 15:19:06 +01:00
Carsten "Tomcat" Book 19704bef52 Backed out changeset 554ded299ccb (bug 1255692) for permanent failures in test_no_token.html 2016-03-11 10:24:34 +01:00
Boris Zbarsky b393092634 Bug 1255692. Add another test for calling ServiceWorkerRegistration.showNotification. r=wchen
--HG--
rename : dom/workers/test/serviceworkers/notificationclick.html => dom/workers/test/serviceworkers/notificationclick-otherwindow.html
rename : dom/workers/test/serviceworkers/test_notificationclick.html => dom/workers/test/serviceworkers/test_notificationclick-otherwindow.html
2016-03-10 23:14:01 -05:00
Ryan VanderMeulen e98112b9bd Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)

CLOSED TREE
2016-03-10 20:20:05 -05:00
Boris Zbarsky 5a9c81f6df Bug 1255298. Just pass through the JSContext when passing through the NotificationOptions in notification code. r=wchen 2016-03-10 18:07:28 -05:00
Ehsan Akhgari 8508bae9bf Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari f08814d04f Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari 9874b83667 Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-10 17:29:11 -05:00
Carsten "Tomcat" Book 7038334f60 Merge mozilla-central to mozilla-inbound 2016-03-10 11:52:58 +01:00
Carsten "Tomcat" Book 1c95c143d4 merge mozilla-inbound to mozilla-central a=merge 2016-03-10 11:51:35 +01:00
Kyle Huey d7b4ab4573 Bug 1253059: Use fallible allocation in the worker error reporter. r=baku 2016-03-10 01:50:56 -08: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
Boris Zbarsky 36d4079be7 Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley 2016-03-09 19:02:03 -05:00
Wes Kocher 53011a6a05 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Nick Alexander d8a65feef6 Bug 1252666 - Part 1: Mark Push* exposed in Fennec Nightly. r=ehsan
MozReview-Commit-ID: GM2YxeAZuVJ
2016-03-07 15:14:06 -08:00
Andrew Halberstadt 035506cb0e Bug 1251372 - Sign extensions in dom/workers/test/extensions for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: JL8A02zZFTH

--HG--
extra : rebase_source : 8faff1b058f48bdc7cb047d282c8c70892ab88a8
extra : amend_source : 814ab85495075824cb6fd9c43358cad3c2a798e0
extra : intermediate-source : 4fa5b5a25f04f976fdc54c03683382062a55ae37
extra : source : c664e3daa54d79fec8b9b7ea2c4bf12e2c47c7ec
2016-02-26 10:46:43 -05:00
Ehsan Akhgari 017bf0f2b6 Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-09 16:45:01 -05:00
Ehsan Akhgari d9ecb20ef6 Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly 2016-03-09 16:43:33 -05:00
Ehsan Akhgari fded90051d Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-09 16:42:53 -05:00
Ben Kelly 38f5715a7d Bug 1253777 P2 Test passing a file-backed blob to FetchEvent.respondWith(). r=jdm 2016-03-09 13:41:29 -08:00
Ben Kelly aa8c2bc7d7 Bug 1253777 P1 Ensure buffered copying when reading body in service worker respondWith(). r=jdm 2016-03-09 13:41:29 -08:00
Boris Zbarsky d0363ce0e6 Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley 2016-03-09 15:28:26 -05:00
Carsten "Tomcat" Book 595788aed2 Backed out changeset c664e3daa54d (bug 1251372) for test failures in extensions
--HG--
extra : rebase_source : 059c4da333ac5658fa4393f01a267a4aa7625e38
2016-03-08 16:37:17 +01:00
Ben Kelly 8324a752f1 Bug 1253738 P3 Use origin the ServiceWorkerManager scope key. r=baku 2016-03-08 06:55:41 -08:00
Ben Kelly e9e35aeba9 Bug 1253738 P2 Consistently use "scope key" terminology in ServiceWorkerManager. r=baku 2016-03-08 06:55:41 -08:00
Ben Kelly 7ebbd928f1 Bug 1253738 P1 Require an explicit principal when looking up a service worker registration. r=baku 2016-03-08 06:55:41 -08:00
Andrew Halberstadt f7971123a2 Bug 1251372 - Sign extensions in dom/workers/test/extensions for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: JL8A02zZFTH

--HG--
extra : rebase_source : 490147003d4a0fa9b765117d3633579b92a8d411
extra : amend_source : 4422eafef0a655c420a006da1c3ed5bfa4b304d0
2016-02-26 10:46:43 -05:00
Andrea Marchesini 9c656d5bba Bug 1206121 - Test for XHR in the worker and status code when redirect a CORS url, r=khuey 2016-03-08 08:19:45 +01:00
Andrea Marchesini 50777157d4 Bug 1254179 - Reuse the same websocket tests on main-thread and workers, r=ehsan
--HG--
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket1.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket2.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket3.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket4.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket5.html
2016-03-07 19:12:23 +01:00
Jonathan Watt a73bd8c354 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Phil Ringnalda cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
vincentliu 2a98ba1c2c Bug 801176 - part1-v8: Modify webidl for 2d canvas. r=smaug, roc
---
 dom/canvas/CanvasRenderingContext2D.cpp    | 38 +++++++++++++++
 dom/canvas/CanvasRenderingContext2D.h      |  6 +++
 dom/webidl/CanvasRenderingContext2D.webidl | 76 ++++++++++++++++++------------
 dom/webidl/HTMLCanvasElement.webidl        |  2 +
 dom/webidl/WebGLRenderingContext.webidl    |  2 +-
 dom/workers/WorkerPrefs.h                  |  1 +
 6 files changed, 95 insertions(+), 30 deletions(-)
2016-03-04 15:22:16 +08:00
Ben Kelly 6c56c9b9be Bug 1252055 P2 Update tests to verify ServiceWorker object equality. r=ehsan 2016-03-03 19:37:59 -05:00
Ben Kelly a9358d515b Bug 1252055 P1 Make equivalent ServiceWorker DOM objects strictly equal in js. r=ehsan 2016-03-03 19:37:57 -05:00
Ehsan Akhgari 38637e2005 Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm 2016-03-03 16:43:55 -05:00
James Willcox 5949211ed6 Bug 1172872 - Enable ServiceWorkerClients.openWindow on Android r=catalinb 2016-03-09 09:48:25 -06:00
Phil Ringnalda 4b0cdb5de3 Back out 3 changesets (bug 1250616, bug 1251372) for failing browser_checkAddonCompatibility.js after the version bump
CLOSED TREE

Backed out changeset 4fa5b5a25f04 (bug 1251372)
Backed out changeset 502cf531ec26 (bug 1250616)
Backed out changeset 2f25d03334b2 (bug 1250616)
2016-03-08 19:04:46 -08:00
Andrew Halberstadt c52e9b844d Bug 1251372 - Sign extensions in dom/workers/test/extensions for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: JL8A02zZFTH

--HG--
extra : rebase_source : 5246c87c146abd3a43a440b29522b406d4b78311
extra : amend_source : 4422eafef0a655c420a006da1c3ed5bfa4b304d0
extra : source : c664e3daa54d79fec8b9b7ea2c4bf12e2c47c7ec
2016-02-26 10:46:43 -05:00
Luke Wagner b5a255ff58 Bug 1252498 - Baldr: add Wasm object behind pref, default off (r=jorendorff)
MozReview-Commit-ID: BlhrURAX26H

--HG--
extra : rebase_source : e1b540f06c2f3976f91242ac7b0b8ede29fbc5f2
2016-03-03 10:20:21 -06:00
Boris Zbarsky 4f623415e0 Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Wes Kocher cba1a7bd55 Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
Backed out changeset 9de2c10a1cc3 (bug 1252565)
Backed out changeset fc5c4cb02d24 (bug 1252565)

MozReview-Commit-ID: GCQedQwqslg

--HG--
extra : amend_source : 5fb6bd99e2ac56c01c06e1004262dfeb2ea56410
2016-03-02 10:44:11 -08:00
Boris Zbarsky 3bad87c74a Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky 49c103594d Bug 1252592. JS warnings should not trigger error events on shared workers. r=khuey 2016-03-01 16:53:26 -05:00
Boris Zbarsky 1538f85b56 Bug 1072144 part 6. Switch WorkerRunnable::Run to calling TakeOwnershipOfErrorReporting on its AutoJSAPI/AutoEntryScript and remove the remaining JS_ReportPendingException callers in worker code. r=khuey 2016-03-01 16:52:27 -05:00
Boris Zbarsky 7d17080433 Bug 1072144 part 5. Stop fiddling with compartments on the JSContext before calling PostRun in WorkerRunnable::Run. Add some documentation explaining what's going on. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky 9679610dbb Bug 1072144 part 4. Add a WorkerRunnable::PreRun so that we can move worker global creation to it and always have an AutoEntryScript by the time we're evaluating the main worker script. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky 7a1819b93a Bug 1072144 part 3. Hoist the exception reporting out of WorkerRunnable::PostRun into WorkerRunnable::Run and make it unconditional. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky c0ea0c742b Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky f333a329ae Bug 1072144 part 1. Just release-assert that Promise::Resolve does not fail in service worker code. It can only do that on OOM or overrecursion anyway, and overrecursion is not likely if we're coming right off a runnable. r=khuey 2016-03-01 16:52:13 -05:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Wes Kocher af73c13ee2 Backed out 6 changesets (bug 1072144) for test_recursion.html failures
Backed out changeset ac15fe0e71fd (bug 1072144)
Backed out changeset b666d48a267d (bug 1072144)
Backed out changeset 0f0464ef08ed (bug 1072144)
Backed out changeset 7ba5f3b95022 (bug 1072144)
Backed out changeset 1912f838fcaa (bug 1072144)
Backed out changeset 145c9bb59b97 (bug 1072144)

MozReview-Commit-ID: 7cl4RtpHSfl
2016-03-01 15:41:24 -08:00
Wes Kocher 01574acd0a Backed out changeset 96580db9b356 (bug 1252565) for test_recursion.html failures
MozReview-Commit-ID: 1ycmM8vfG3d
2016-03-01 15:40:46 -08:00