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

3542 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 10986b2016 Bug 1370674 part 1 - Use mUpdateTimers.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). Use mUpdateTimers.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
MozReview-Commit-ID: 1lp2s4NQfvR
2017-06-14 01:03:38 +02:00
Bill McCloskey c85ab6308c Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang)
MozReview-Commit-ID: 4azUhSB6whu
2017-06-13 14:51:01 -07:00
Boris Zbarsky 5193353a61 Bug 1371699 part 4. Make nsIMultiplexInputStream not inherit from nsIInputStream. r=bkelly
This is a preexisting issue that makes nsMultiplexInputStream multiple-inherit
from nsIInputStream: once via nsIMultipartInputStream and once via
nsIAsyncInputStream.  This causes problems once we end up with more multiplex
streams that are async streams, because then some assingments to
nsCOMPtr<nsIInputStream> start asserting.  This patch just removes the footgun
by getting rid of the multiple inheritance.
2017-06-13 16:16:39 -04:00
Tim Huang b6286c46af Bug 1333651 - Part 2: Spoofing Navigator object when 'privacy.resistFingerprinting' is true. r=arthuredelstein,Ehsan
This patch makes navigator object to return spoofed value for fields have fingerprintable
concerns. This changes the worker navigator as well.

MozReview-Commit-ID: E2SLNZRfuVP

--HG--
extra : rebase_source : 960bafbe41382eba891ad807c37a822ba6a758c8
2017-06-01 14:54:59 +08:00
Henri Sivonen 432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Bill McCloskey aefa2aa5da Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.

MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Bill McCloskey 595e5d79c8 Bug 1361164 - Add nsISerialEventTarget (r=froydnj)
MozReview-Commit-ID: 8y1GdEGCPSB
2017-06-12 20:20:08 -07:00
Bill McCloskey 5ddda3bb77 Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)
MozReview-Commit-ID: 12bk9hQ7Wnv
2017-06-12 20:20:08 -07:00
Jon Coppeard 0924a2d29c Bug 1369748 - Parallelise the start of GC marking r=sfink r=smaug 2017-06-09 11:44:15 +01:00
Ben Kelly 27954c5da4 Bug 1369862 P4 Update test_fetch_event.html expectations for synthesized CORS response returned for outer no-cors request. r=asuth 2017-06-07 08:34:51 -07:00
Ben Kelly 04991df168 Bug 1369862 P2 Make the FetchEvent.respondWith() synthesize the exact tainting on the outer nsIChannel. r=asuth 2017-06-07 08:34:51 -07:00
Ben Kelly 88167e3b71 Backout 78533a4ef62e to 4fe11fc40572 (bug 1369862) for incorrect bug number on P1 r=me 2017-06-07 08:32:23 -07:00
Ben Kelly 8b4b0d6f7a Bug 1369862 P4 Update test_fetch_event.html expectations for synthesized CORS response returned for outer no-cors request. r=asuth 2017-06-07 08:14:58 -07:00
Ben Kelly 2e11df623c Bug 1369862 P2 Make the FetchEvent.respondWith() synthesize the exact tainting on the outer nsIChannel. r=asuth 2017-06-07 08:14:57 -07:00
Sylvestre Ledru aa1c00fb9f Bug 1370369 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines - follow up patch r=froydnj
MozReview-Commit-ID: I4ffmvKClc6

--HG--
extra : rebase_source : 0039cd09dfb199f77a1cbdca3bfdbcab21cc0049
2017-06-05 23:43:34 +02:00
Andrea Marchesini 31b48170ed Bug 1368296 - Renaming WorkerProxyToMainThreadRunnable::RunBackOnWorkerThread to RunBackOnWorkerThreadForCleanup and improving the description for this method, r=asuth 2017-06-02 11:05:27 +02:00
Ben Kelly b756cfdc05 Bug 1367659 Remove KeepAliveHandler::RemovePromise() assertion that can be wrong during worker thread shutdown. r=asuth 2017-06-01 06:20:12 -07:00
Andrea Marchesini a26b5642ed Bug 1366501 - disable test_subworkers_suspended.html for android, r=gbrown 2017-05-30 16:27:12 +02:00
Sylvestre Ledru d525178ff0 Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
MozReview-Commit-ID: KOM35SQnoRh

--HG--
extra : rebase_source : 6ece3e3e7c287ef1bfc133470a8cd451f8e3971e
2017-05-26 18:53:35 +02:00
Andrea Marchesini 8cfd4ae66c Bug 1349266 - Using a workerHolder to keep alive a parent worker when a child worker is created, r=kbelly 2017-05-25 09:04:25 +02:00
Bill McCloskey 226f6b9185 Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj)
MozReview-Commit-ID: 5DVcIaMHH95
2017-05-23 12:05:43 -07:00
Andrea Marchesini 87474041aa Bug 1360185 - Use of IPCBlob in IndexedDB - part 6 - FileReaderSync should check if the streams are already closed, r=janv 2017-05-23 07:53:35 +02:00
Jim Chen 9fe9e6e1c3 Bug 1365122 - Move launchOrBringToFront from GeckoAppShell to GeckoApp; r=droeh
Move GeckoAppShell.launchOrBringToFront to GeckoApp, so that we can use
GeckoActivityMonitor to check whether BrowserApp is the current
foreground Activity. This lets us remove GeckoInterface.isForegrounded.

MozReview-Commit-ID: CgjnaNK8OGW
2017-05-18 18:09:04 -04:00
Sebastian Hengst c969e15a51 Backed out changeset 3a6693755c7d (bug 1365940) for bustage at nsTArray.h:568. r=backout on a CLOSED TREE 2017-05-18 23:30:55 +02:00
Andrea Marchesini f392174bc4 Bug 1365940 - struct WindowAction in WorkerPrivate.cpp should be marked MOZ_RAII, r=qdot 2017-05-18 23:04:46 +02:00
JW Wang bdbca169de Bug 1365504 - Remove the call to AbstractThread::GetCurrent() in ServiceWorkerUpdaterChild.cpp. r=bkelly
See bug 1365483 for the rationale.

MozReview-Commit-ID: BDbdiWT2ZFa

--HG--
extra : rebase_source : a834b683b4cbd7de24a3e3943ae3eb877db18732
2017-05-17 14:35:00 +08:00
Andrea Marchesini c945c40e97 Bug 1313157 - Increase timeout for test_subworkers_suspended.html, r=gbrown 2017-05-17 17:18:14 +02:00
Andrea Marchesini b203932e2d Bug 1364297 - Use nsString instead nsCString for Worker names, r=smaug 2017-05-17 16:49:34 +02:00
Andrea Marchesini 7453988cd7 Bug 1364297 - Worker and SharedWorker constructors have an optional WorkerOptions parameter, r=smaug 2017-05-17 16:48:54 +02:00
Catalin Badea 1f3ef0f4d6 Bug 1359610 - Add telemetry for fetch interception. r=chutten data-r=bsmedberg 2017-05-17 15:42:53 +01:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ben Kelly 4a9335fcd3 Bug 1361823 Fail the worker script load instead of crashing if the load group is torn down. r=baku 2017-05-15 06:52:00 -07:00
Nathan Froyd c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Ben Kelly d245a916ef Bug 1364277 Wait for service workers to activate more in dom/workers/test/serviceworkers. r=asuth 2017-05-15 06:22:22 -07:00
Ryan VanderMeulen 1704dc2a72 Backed out 14 changesets (bug 1290951) for causing topcrash bug 1364059. a=me
Backed out changeset d9cb7e835d4c (bug 1290951)
Backed out changeset 2684d41c75e4 (bug 1290951)
Backed out changeset 2fdb0ae64a1b (bug 1290951)
Backed out changeset 6194a6a0f510 (bug 1290951)
Backed out changeset 9a722c9de441 (bug 1290951)
Backed out changeset 4e36f20bea04 (bug 1290951)
Backed out changeset 7236a196cff0 (bug 1290951)
Backed out changeset b6b85669af94 (bug 1290951)
Backed out changeset bb76b58e45fc (bug 1290951)
Backed out changeset f2b2e0d54e51 (bug 1290951)
Backed out changeset 974b55cde2af (bug 1290951)
Backed out changeset cda24c8eccc4 (bug 1290951)
Backed out changeset fedca2ad4ce6 (bug 1290951)
Backed out changeset e40aeb64bdab (bug 1290951)
2017-05-11 09:26:18 -04:00
Ho-Pang Hsu 1adbd519a1 Bug 1290951 - Part 4.2: Add a mochitest for an useless imported script after an update. r=bkelly.
--HG--
extra : rebase_source : e3069ff9a0a4955f3e6403955119746e25e7fcf0
2017-04-07 15:02:23 +08:00
Ho-Pang Hsu d466693cc4 Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly.
--HG--
extra : rebase_source : 8b35a807eb9ded5116b8dc16855012d4cb8f5d2b
2017-05-04 01:38:52 +08:00
Ho-Pang Hsu 0eeb558276 Bug 1290951 - Part 3.1: Extend the bytecheck to imported scripts. r=bkelly
--HG--
extra : rebase_source : 637903d78e82ccbb7dfa93d2306ef3e1a22b6b99
2017-05-04 01:38:01 +08:00
Ho-Pang Hsu 49bbe28c16 Bug 1290951 - Part 2.8: Remove CompareManager::SetMaxScope() and CompareManager::SaveLoadFlags(). r=bkelly
--HG--
extra : rebase_source : d168ba55d3c984f54db374223697385d8e573a13
2017-05-04 01:36:59 +08:00
Ho-Pang Hsu 811c4bbcac Bug 1290951 - Part 2.7: Unify how CompareManager, CompareNetwork and CompareCahce report errors during initialization and other operations. r=bkelly
--HG--
extra : rebase_source : d208639745b53cce1b13cf943b66ea3238310aac
2017-05-09 22:41:32 +08:00
Ho-Pang Hsu 3552f45590 Bug 1290951 - Part 2.6: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly
--HG--
extra : rebase_source : 9dc72c45789e63bc67982cd3b3fe3edf7169e4f5
2017-05-09 13:08:06 +08:00
Ho-Pang Hsu 305b6601e3 Bug 1290951 - Part 2.5: Move ChannelInfo and PrincipalInfo into CompareNetwork. r=bkelly
--HG--
extra : rebase_source : 3b042fc85924c7b80fa793b71e560c16cea6a66b
2017-04-13 15:01:28 +08:00
Ho-Pang Hsu 27f3010bb9 Bug 1290951 - Part 2.4: Add mIsMainScript to CompareNetwork. r=bkelly
--HG--
extra : rebase_source : 7a123c23c07cb3c13777b37c41e69e7dd2b1b8a8
2017-04-07 14:57:19 +08:00
Ho-Pang Hsu 1fbf9e14ad Bug 1290951 - Part 2.3: Update the lifecycle of CompareCache. r=bkelly
--HG--
extra : rebase_source : 9fb447f0301d2e4fbef536f783f39939a0fc59b2
2017-05-09 13:07:09 +08:00
Ho-Pang Hsu c1fe89f859 Bug 1290951 - Part 2.2: Make CompareManager::ComparisonFinished() public. r=bkelly
--HG--
extra : rebase_source : edc8ae36344760c66be726b227fce5602eca662c
2017-02-23 18:34:36 +08:00
Ho-Pang be755a4180 Bug 1290951 - Part 2.1: Move some functions out of their class definitions. r=bkelly
--HG--
extra : rebase_source : ffd4ac76e38d700e3f0d7666519c739f6f5791d2
2017-02-23 18:34:16 +08:00
Ho-Pang Hsu 3cfcb4c95c Bug 1290951 - Part 1.2: Get the script URL list before actual comparing. r=bkelly
--HG--
extra : rebase_source : b2c1dea51d2de59fb670edae96ab9e721ef16e05
2017-04-07 14:44:35 +08:00
Ho-Pang Hsu 9e5cbeb72a Bug 1290951 - Part 1.1: Move some function implementations out of CompareManager. r=baku
--HG--
extra : rebase_source : 141a78a044bb00cf96c07ea099afe3eb49602e9f
2017-04-07 14:41:22 +08:00
Ben Kelly 93100c8123 Bug 1362444 P1 Allow idle worker shutdown to begin for an opt-in WorkerHolder mode. r=baku 2017-05-10 09:27:10 -07:00
kedziorski.lukasz@gmail.com f815a0af4b Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8 2017-05-09 13:59:00 +02:00
Bill McCloskey c197e07ff2 Bug 1363560 - Name more runnables (r=mccr8)
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Andrea Marchesini 40bc26c0ee Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug 2017-05-09 11:04:49 +02:00
Andrea Marchesini 30c1ec2e08 Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug 2017-05-09 11:04:07 +02:00
Andrea Marchesini 4e5948b3f2 Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug 2017-05-09 11:03:40 +02:00
Andrea Marchesini 1981f67eb3 Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader

--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
btian 4a15743eb6 Bug 1338059 - Part 2: Implement PromiseRejectionEvent, r=bz
MozReview-Commit-ID: 6BZBL9BjO03

--HG--
extra : rebase_source : 1f7aece35191a23b6db9f574fdfdc3a634c9a634
2017-05-05 11:30:19 +08:00
Chris Peterson 3290f0e066 Bug 1360039 - Spoof navigator.hardwareConcurrency = 2 when privacy.resistFingerprinting = true. r=qdot
Trackers use navigator.hardwareConcurrency as yet another source of entropy to fingerprint users. The Firefox Hardware Report says 70% of Firefox users have exactly 2 cores. When the privacy.resistFingerprinting pref is set, we want to blend into the crowd so spoof navigator.hardwareConcurrency = 2 to reduce user uniqueness. This pref was added in bug 1345322 for the Tor uplift project.

https://metrics.mozilla.com/firefox-hardware-report/#goto-cpu-and-memory

MozReview-Commit-ID: CDWAaxjRpqe

--HG--
extra : rebase_source : a24eabf1d0b0ea1706478306287634dae38a8c52
2017-05-02 14:03:08 -07:00
Ben Kelly 6564cff0b5 Bug 1361166 Update mParentStatus synchronously when closing worker thread. r=baku 2017-05-03 07:42:43 -07:00
Bill McCloskey 11b1f07146 Bug 1359245 - Get rid of CycleCollectedJSRuntime::MainContext (r=mccr8)
This is another method that assumes one context per runtime. This patch
eliminates the method.

MozReview-Commit-ID: JHcQ1nyiHSP
2017-04-27 15:34:46 -07:00
Michael Layzell 4688a63a06 Bug 1355608 - Part 2: Eagerly transmit permissions to the content process for service worker registrations, r=catalinb
This requires running code which checks whether or not the permissions have
arrived, potentially delaying a fetch request for a very short period of time if
the permissions are still in-flight.

MozReview-Commit-ID: E6OTY6IDThb
2017-04-27 13:41:15 -04:00
Jason Duell d8fc808f1c Bug 711886 - Fail Websocket if server replies with non-matching subprotocol, r=mcmanus 2016-05-11 08:50:13 -07:00
Andrea Marchesini b6565e5cf3 Bug 1359359 - FileReaderSync should support nsIAsyncInputStream, r=smaug 2017-04-25 22:23:46 +02:00
Cervantes Yu cc5836fbae Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
NS_SetCurrentThreadName() is added as an alternative to PR_SetCurrentThreadName()
inside libxul. The thread names are collected in the form of crash annotation to
be processed on socorro.

MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Andrea Marchesini 9a89dabb3e Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Andrea Marchesini e1cf92c22c Bug 1353684 - nsIFileInputStream must return NS_ERROR_NOT_FOUND if Deserialize() fails, r=smaug 2017-04-20 13:39:51 +02:00
Tom Tung 34ae9eb687 Bug 1356466: Make checking function resolve late enough to prevent from unregistering too early. r=bkelly 2017-04-18 16:07:01 +08:00
Carsten "Tomcat" Book b84117e652 Merge mozilla-central to mozilla-inbound 2017-04-19 12:31:58 +02:00
Carsten "Tomcat" Book 284cbb308e Backed out changeset d518009bfe70 (bug 1290951) for causing Bug 1357437 2017-04-19 11:55:33 +02:00
Carsten "Tomcat" Book 7babdc7a78 Backed out changeset a459d48f1d86 (bug 1290951) 2017-04-19 11:55:02 +02:00
Carsten "Tomcat" Book 7b9f2f1715 Backed out changeset 6f30a5669251 (bug 1290951) 2017-04-19 11:55:00 +02:00
Carsten "Tomcat" Book 0a0f322bb7 Backed out changeset 437aa650b9d9 (bug 1290951) 2017-04-19 11:54:57 +02:00
Carsten "Tomcat" Book 73cd20cf99 Backed out changeset 779deac689f9 (bug 1290951) 2017-04-19 11:54:55 +02:00
Carsten "Tomcat" Book b989ecb1ef Backed out changeset 9e1c5c05eb58 (bug 1290951) 2017-04-19 11:54:52 +02:00
Carsten "Tomcat" Book 9dfe2e6996 Backed out changeset a5a8e0001d78 (bug 1290951) 2017-04-19 11:54:50 +02:00
Carsten "Tomcat" Book e72c9d7c1b Backed out changeset 2e133f3b768c (bug 1290951) 2017-04-19 11:54:47 +02:00
Carsten "Tomcat" Book e0324b8ab3 Backed out changeset a4b47c4e9e3b (bug 1290951) 2017-04-19 11:54:45 +02:00
Carsten "Tomcat" Book 7145e26cb8 Backed out changeset 5be709822325 (bug 1290951) 2017-04-19 11:54:42 +02:00
Carsten "Tomcat" Book 7c6d69604b Backed out changeset c351046112bf (bug 1290951) 2017-04-19 11:54:37 +02:00
Ho-Pang Hsu 993c810162 Bug 1290951 - Part 4.2: Add a mochitest for an useless imported script after an update. r=bkelly 2017-04-07 15:02:23 +08:00
Ho-Pang Hsu 3d64dc715a Bug 1290951 - Part 3.2: Tolerate missing imported scripts. r=bkelly 2017-02-28 19:30:50 +08:00
Ho-Pang Hsu 17665be027 Bug 1290951 - Part 3.1: Extend the bytecheck to imported scripts. r=bkelly 2017-04-13 15:04:27 +08:00
Ho-Pang Hsu 05770db16e Bug 1290951 - Part 2.6: Change the relationship between CompareManager, CompareNetwork, and CompareCache. r=bkelly 2017-04-13 15:02:45 +08:00
Ho-Pang Hsu e0fb66e9cf Bug 1290951 - Part 2.5: Move ChannelInfo and PrincipalInfo into CompareNetwork. r=bkelly 2017-04-13 15:01:28 +08:00
Ho-Pang Hsu 64540c2896 Bug 1290951 - Part 2.4: Add mIsMainScript to CompareNetwork. r=bkelly 2017-04-07 14:57:19 +08:00
Ho-Pang Hsu 20d389faf6 Bug 1290951 - Part 2.3: Update the lifecycle of CompareCache. r=bkelly 2017-04-07 14:54:00 +08:00
Ho-Pang Hsu 9559405105 Bug 1290951 - Part 2.2: Make CompareManager::ComparisonFinished() public. r=bkelly 2017-02-23 18:34:36 +08:00
Ho-Pang 00d56f9bdb Bug 1290951 - Part 2.1: Move some functions out of their class definitions. r=bkelly 2017-02-23 18:34:16 +08:00
Ho-Pang Hsu 05cc44be10 Bug 1290951 - Part 1.2: Get the script URL list before actual comparing. r=bkelly 2017-04-07 14:44:35 +08:00
Ho-Pang Hsu 836798bd39 Bug 1290951 - Part 1.1: Move some function implementations out of CompareManager. r=baku 2017-04-07 14:41:22 +08:00
Bill McCloskey 207af130a2 Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8)
To run JS in separate cooperative threads, we need to split up per-thread state
from per-runtime state. This patch does that for XPConnect.

MozReview-Commit-ID: 407SlJ7nR6v
2017-04-18 17:01:04 -07:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ben Tian cda6ed446d Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
MozReview-Commit-ID: 8vjyVrfa3xT

--HG--
extra : rebase_source : d63942141b562e0e69611f3cbc1da4e9ee522efc
2017-04-14 10:40:03 +08:00
Tom Tung c4b6f4e320 Bug 1251238 - Part 8: Add a test to make sure that timestamps track time as expected and modify the test since we notify the chrome listener when updating. r=bkelly
--HG--
extra : rebase_source : 34878d3a2e9e8c4620eefebab3385fa74a732ba8
2017-03-30 17:25:03 +08:00
Tom Tung 238e9a2210 Bug 1251238 - Part 7: Modify Gtest to verify storing installed/activated time and last updated time works in SWRegistrar. r=bkelly
--HG--
extra : rebase_source : 47fac9772a1cced3f454ba03e0328491926770bf
2017-04-06 12:03:22 +08:00
Tom Tung 4156819b0b Bug 1251238 - Part 6: Merge mLastUpdateCheckTime and mLastUpdateTime. r=bkelly
--HG--
extra : rebase_source : 87adbbee5e15427a04b3888f1d7b1cc9913f5793
2017-04-06 10:39:52 +08:00
Tom Tung 94f26a8af0 Bug 1251238 - Part 5: Store installed/activated time for a service worker and last updated time for a service worker's registration into serviceWorkerRegistrar. r=bkelly
--HG--
extra : rebase_source : 6c4350a972ae396388b6bbae8a139e27dcf8fa6c
2017-04-05 09:59:48 +08:00
Tom Tung cc0246c492 Bug 1251238 - Part 4: Remove calling SetActivateStateUncheckedWithoutEvent() after calling SetActive(), since we've called it on SetActive(). r=bkelly
--HG--
extra : rebase_source : 0603496da7cce1d1268b60f744b2941f11736e27
2017-04-06 15:27:59 +08:00
Tom Tung 1cf8eeb4eb Bug 1251238 - Part 3: Add timestamps to track when a service worker is installed/activated/redundant and when a service worker's registration is updated. r=bkelly
--HG--
extra : rebase_source : ed40ae346a1db5ae40c3baafde25259dc7c56816
2017-04-06 15:26:08 +08:00
Tom Tung 7e01edd0c6 Bug 1251238 - Part 2: Modify test because we notify chrome listener each time when service worker's state is updated. r=bkelly
--HG--
extra : rebase_source : 255c6771dc705c556e82789b1af9b04aed697a0b
2017-03-24 09:57:14 +08:00