Commit Graph

36819 Commits

Author SHA1 Message Date
Ehsan Akhgari
b1a88291c2 Bug 1156847 - Part 7: Add unit tests for responding to a FetchEvent with a synthesized Response both in the case where the service worker is loaded from the network and from the cache; r=nsm
--HG--
rename : dom/workers/test/serviceworkers/test_https_fetch.html => dom/workers/test/serviceworkers/test_https_synth_fetch_from_cached_sw.html
2015-04-29 20:22:31 -04:00
Ehsan Akhgari
a3e0449fce Bug 1156847 - Part 6: When calling FetchEvent.respondWith(), fall back to the security info of the service worker if the Response object that we are responding with doesn't have its own security info; r=nsm
This case will only happen if we're responding with a synthesized Response object.
Response objects obtained through fetch() already have their correct security
info.
2015-04-29 20:22:31 -04:00
Ehsan Akhgari
cea01af662 Bug 1156847 - Part 5: When loading a service worker from the cache, set its security info on the WorkerPrivate; r=nsm 2015-04-29 20:22:30 -04:00
Ehsan Akhgari
cd281dd5d2 Bug 1156847 - Part 4: When storing a service worker script to the cache, store its security info in the cache as well; r=khuey
Before this patch, we would call Cache.put() before opening the channel,
which means that we have no way of knowing the security info for the
channel in order to set it on the Response object that we synthesize.
This patch adds an nsIRequestObserver to the tee created for piping the
body of the response to the cache, and delays calling Cache.put() until
we receive the nsIRequestObserver::OnStartRequest() notification, at
which point we set the obtained security info on the Response object to
be stored in the cache.
2015-04-29 20:22:29 -04:00
Ehsan Akhgari
a2a584db69 Bug 1156847 - Part 3: When loading a service worker from the network, remember the security info of the channel on the WorkerPrivate; r=nsm 2015-04-29 20:22:28 -04:00
Ehsan Akhgari
9d614e4dc8 Bug 1156847 - Part 2: Store the security info for a service worker on its WorkerPrivate; r=bent,khuey 2015-04-29 20:22:27 -04:00
Ehsan Akhgari
03b15b61fd Bug 1156847 - Part 1: Add the Response::GetSecurityInfo() helper method; r=nsm 2015-04-29 20:22:26 -04:00
Wes Kocher
10fec54e1c Merge fx-team to m-c a=merge CLOSED TREE 2015-04-29 16:46:00 -07:00
Wes Kocher
1e2b02f650 Merge inbound to m-c a=merge CLOSED TREE 2015-04-29 16:43:32 -07:00
Ben Kelly
fdfcffc5e4 Bug 1154325 P2 Use Blobs for CacheStorage keys to avoid encoding issues. r=ehsan 2015-04-29 09:03:15 -07:00
Ben Kelly
a874312867 Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug 2015-04-29 08:59:43 -07:00
Ben Kelly
f062a9c6ca Bug 1120501 P1 Make it easier to use Promise::All() from C++ code. r=nsm 2015-04-29 08:59:43 -07:00
James Willcox
a57b4d80c9 Bug 1153803 - Don't try to test canPlayType() with mp3 and OmxPlugin r=ajones 2015-04-29 10:38:06 -05:00
Sotaro Ikeda
505cd512eb Bug 1158293 - Fix ResumeStateMachine()'s seek handling r=cpearce 2015-04-29 08:36:49 -07:00
Tooru Fujisawa
0edbeb71c8 Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Sotaro Ikeda
1a45398405 Bug 1158307 - Add Shutdown checks r=cpearce 2015-04-29 07:55:21 -07:00
Carsten "Tomcat" Book
4142cabc3d Backed out changeset 61b5398161f3 (bug 1129040) 2015-04-29 16:51:40 +02:00
Carsten "Tomcat" Book
417e0f4ed6 Backed out changeset a7aab0099e9e (bug 1129040) 2015-04-29 16:51:32 +02:00
Carsten "Tomcat" Book
86a8802d0a Backed out changeset e3864c540bed (bug 1159495) for breaking Nexus Builds 2015-04-29 16:41:54 +02:00
Carsten "Tomcat" Book
30e97ddfc3 Backed out changeset cb9c0ddc2e22 (bug 1159495) 2015-04-29 16:41:03 +02:00
Olli Pettay
791767ce56 Bug 524674, nsIEventListenerService: tracking of dynamically added and removed event listeners, r=masayuki
--HG--
extra : rebase_source : 810b3487d639bd15ed57a302e69b5d47f1edc25f
2015-04-28 23:10:05 +03:00
Roger Yang
0cffd42719 Bug 1129051 - Fix double free in Camera Control Listener. Fix webrtc memory leak. r=aosmond 2015-04-28 16:08:40 -04:00
Ryan VanderMeulen
659b2a4f94 Merge m-c to b2g-inbound. a=merge 2015-04-28 15:40:15 -04:00
Ryan VanderMeulen
dc34386c9f Merge inbound to m-c. a=merge 2015-04-28 15:27:26 -04:00
Ehsan Akhgari
531d28100a Debugging patch for bug 1157901 2015-04-29 08:31:29 -04:00
Jim Mathies
9769b139a7 Bug 1129040 - Query the chrome process blocklist service prior to instantiating plugins in the content process. r=billm 2015-04-29 06:33:10 -05:00
Jim Mathies
24d89b9386 Bug 1129040 - Provide a way for content processes to query the chrome side blocklist service. r=billm 2015-04-29 06:33:09 -05:00
Hayden Huang
fee1675a5f Bug 1154665 - Part 2. Testcase against gps parameter. r=aosmond 2015-04-28 13:08:27 -04:00
Hayden Huang
3013d83b2f Bug 1154665 - Part 1. Provide gps processing data to avoid setParameters fail. r=aosmond 2015-04-28 13:08:24 -04:00
Sotaro Ikeda
669ba8ebf0 Bug 1158692 - Change omx AudioSink to GonkAudioSink r=cpearce
--HG--
rename : dom/media/omx/AudioSink.h => dom/media/omx/GonkAudioSink.h
2015-04-28 06:50:59 -07:00
Paul Adenot
12f444220c Bug 1157986 - Remove assert in GraphStartedNotificationControlMessage::RunDuringShutdown r=roc
This is a copy/paste issue from AudioContextOperationControlMessage.

Also, until we have audio output device enumaration APIs in cubeb, we can't detect
this situation, so we have to make the code not crash. cubeb will have such API
as part of bug 1142613.
2015-04-29 11:02:59 +02:00
Paul Adenot
b6f4cfa31a Bug 1157994 - Ensure AudioContext operations are started and resolved in the same order. r=roc 2015-04-29 11:02:57 +02:00
Paul Adenot
afa067ebca Bug 1158427 - r=roc 2015-04-29 11:02:55 +02:00
Tom Schuster
c6207d1a51 Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Carsten "Tomcat" Book
3f49cd19ad Backed out changeset ab1ff31a82ae (bug 1159300) for m3 test failures on a CLOSED TREE 2015-04-29 09:57:36 +02:00
Carsten "Tomcat" Book
f44696b7a9 Backed out changeset 0efce0a97efe (bug 1159310) for xpc bustage on a CLOSED TREE 2015-04-29 09:53:02 +02:00
Bobby Holley
e84f76e414 Bug 1157476 - Remove synchronous dispatch in AndroidMediaResourceServer::Start. r=cajbir 2015-04-28 23:45:59 -07:00
Bobby Holley
4f3c199145 Bug 1158226 - Eagerly compute keyframe-ness and stash it on the packet holder. r=kinetik 2015-04-28 23:42:51 -07:00
Bobby Holley
3ed8d105fc Bug 1158226 - Separate packet demuxing from the higher-level track-sorting logic. r=kinetik 2015-04-28 23:42:50 -07:00
Bobby Holley
130cc25bda Bug 1158226 - Use NesteggPacketHolder::Timestamp to simplify code. r=kinetik 2015-04-28 23:42:49 -07:00
Bobby Holley
301c50d6de Bug 1158226 - Store timestamps on the NesteggPacketHolder. r=kinetik 2015-04-28 23:42:49 -07:00
Bob Owen
1fadbab407 Bug 1156059 Part 2: Ensure that META REFRESH is blocked by iframe sandbox. r=bz 2015-04-29 07:28:17 +01:00
Bob Owen
06a0b5985d Bug 1156059 Part 1: Ignore META REFRESH when document is sandboxed from automatic features. r=bz 2015-04-29 07:28:17 +01:00
Marco Bonardo
9e8248e6b2 Bug 1154877 - Content process shouldn't use the Places Database. r=billm 2015-04-29 10:57:24 +02:00
Edwin Flores
4f4c4f7df0 Bug 1159300 - Don't use decrypting Gecko Media Plugins for non-encrypted playback - r=cpearce 2015-04-29 17:23:11 +12:00
JW Wang
a938555939 Bug 1159162 - Remove unnecessary testing prefs from media mochitests for they are defined in testing/profiles/prefs_general.js. r=kinetik. 2015-04-29 10:22:15 +08:00
JW Wang
ab2b51d624 Bug 1159144 - check (-1, -1) for invalid video size. r=jya. 2015-04-29 09:56:03 +08:00
JW Wang
7fcb4f12b5 Bug 752796 - longer timeout on slow platforms. r=cpearce. 2015-04-29 09:55:15 +08:00
Bobby Holley
cd25ae6fac Bug 1157803 - Mirror mPlayState and mNextState to the state machine task queue and eliminate cross-thread access. r=jww 2015-04-28 21:56:20 -07:00