Commit Graph

37114 Commits

Author SHA1 Message Date
Chris Pearce
3b0a4f8c14 Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-08 13:36:32 +12:00
Ehsan Akhgari
4336f915ab Bug 1130101 - Part 3: Add unit tests for the handling of the Service-Worker-Allowed header; r=nsm 2015-05-07 21:07:10 -04:00
Ehsan Akhgari
ac2874c72f Bug 1130101 - Part 2: Honor the Service-Worker-Allowed header when prefix matching the service worker scope; r=nsm 2015-05-07 21:06:34 -04:00
Ehsan Akhgari
0053c63b09 Bug 1130101 - Part 1: Store the value of the Service-Worker-Allowed header in the CompareManager object; r=nsm 2015-05-07 21:06:33 -04:00
Nikhil Marathe
1bcf68b61f Bug 1150959 - Log rejected Promise error message to browser console
--HG--
extra : rebase_source : e3fdd530c32c042791e959f896ef4ae06263f1f0
2015-04-08 16:04:12 -07:00
Nikhil Marathe
4c2d6784e1 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Ehsan Akhgari
71f3e8945e Bug 1162787 - Make the service worker periodic tests robust to the idle daily service firing its notification when the tests are being run; r=nsm
--HG--
extra : rebase_source : b78061a0cda67e426cdbbef7f89ca006c03a9158
2015-05-07 16:23:50 -07:00
Ehsan Akhgari
a26860eed6 Bug 1159378 - Part 4: Add a unit test for periodic updates of service workers on HTTPS origins; r=nsm
The reason why this test is interesting here is that it tests the code
path added in the part 2 of this bug.

--HG--
extra : rebase_source : 0742186497adfc4bafb5a9073b13736efb14d78e
2015-05-04 10:18:19 -04:00
Ehsan Akhgari
33bf6126a9 Bug 1159378 - Part 3: Refactor the logic of test_periodic_update.html into a helper script; r=nsm
This helper script will allow us to run the same test across both HTTP
and HTTPS origins.  This patch also uses postMessage instead of a direct
function call on the parent window, because in the HTTPS case, that
window will be cross-origin.  It also moves the code to trigger the
update and get the corresponding updatefound event to
wait_for_update.html, since getting the service worker registration
cross-origin is not possible.

--HG--
extra : rebase_source : 4df46df635f6445f286b54a8a3d9b2e3f8b8447a
2015-05-04 10:18:12 -04:00
Ehsan Akhgari
d1a47ed982 Bug 1159378 - Part 2: When storing the service worker downloaded after a failed network compare into the cache, store its security info in the cache as well; r=nsm
--HG--
extra : rebase_source : 0c085287c181d7a98f83c659e7aceaaf0c32f2cc
2015-05-04 10:18:01 -04:00
Nikhil Marathe
8464296492 Bug 1154494 - patch 2 - Hold a ref to the sandbox. r=baku
--HG--
extra : rebase_source : d08a068a7f79c95b029b7ef5e0fbdea2674ae10a
2015-05-04 13:02:12 -04:00
Nikhil Marathe
cbd6b8b352 Bug 1154494 - Hit network only once. r=baku,bkelly
--HG--
extra : rebase_source : d2720c0bbef92595228658d92db3bbaef051cced
2015-04-13 21:05:28 -07:00
Karl Tomlinson
f8eb10f7a0 bug 1161903 ensure pending DrainComplete is not run after Flush() r=cpearce
Using a Decode task already in the queue had the potential for out of order
flushing.

This is similar in behavior to the implementation prior to f550eb7809b6, but
keeps mDecoder->Flush() on the platform decoder's task queue, in the hope of
avoiding any ordering problems from calling in the middle of decoding input,
or races with MFTDecoder::mDiscontinuity.

The contract is not clear on whether DrainComplete() should be run during
Flush(), but I've kept it in this version.

--HG--
extra : rebase_source : 7c001097894b1810c17ed75b8d30d79276c6e281
2015-05-07 14:15:24 +12:00
Karl Tomlinson
a7991dc2e5 bug 1161903 reset mDrainComplete after Flush() as DrainComplete() may be called before Flush() r=mattwoodrow
DrainComplete() can also be called during Flush().

--HG--
extra : rebase_source : ae0a8db233d231649cb5a5b0590ca6385db30b95
2015-05-06 11:40:58 +12:00
Karl Tomlinson
69631c815f bug 1161892 use separate thread pool for platform decoder task queues r=bholley
so that platform decoder tasks will run when their readers wait and block
their thread pool.

--HG--
extra : rebase_source : 6d2e3f1c1937991d746ea9754f39add4d184e413
2015-05-07 16:01:43 +12:00
Karl Tomlinson
2340828e61 bug 1161402 assert active proxy if callback is called r=ajones
--HG--
extra : rebase_source : 733e9218dfed4c313854fb53879894485c5c90f8
2015-05-06 17:09:54 +12:00
Steve Fink
a6e97b4780 Bug 1162318 - Rooting hazard in WrapNativeParentHelper, r=peterv
--HG--
extra : rebase_source : 9d5dcc6b1d5e6e42039145ba1eb80cd1983138a5
2015-05-07 09:51:06 -07:00
Nicholas Nethercote
17348fdef0 Bug 1161377 (part 3) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
77943547dc Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Wes Kocher
45c25429f2 Merge m-c to inbound a=merge CLOSED TREE 2015-05-07 15:37:01 -07:00
Wes Kocher
7a898726ae Merge b2ginbound to m-c a=merge CLOSED TREE 2015-05-07 15:23:42 -07:00
Wes Kocher
21cde85b46 Merge inbound to m-c a=merge 2015-05-07 15:12:38 -07:00
Wes Kocher
f15282bf26 Backed out changeset 57f0b16030e9 (bug 1162013) for m-oth and m-dt3 bustage CLOSED TREE 2015-05-07 13:37:27 -07:00
Kartikaya Gupta
b4ab8bcc68 Bug 1161215 - Don't fire spurious resize events to content when the size didn't actually change. r=smaug 2015-05-07 16:02:38 -04:00
Ben Turner
e6f6c77846 Bug 1156611 - Fix Nuwa idle detection for IndexedDB, r=khuey.
--HG--
extra : rebase_source : e548f0c74bad08a3e90ea827e4a05412c3d7d8a7
2015-05-07 12:17:28 -07:00
Carsten "Tomcat" Book
b48b9014ff Merge mozilla-central to b2g-inbound on a CLOSED TREE 2015-05-07 16:15:54 +02:00
Carsten "Tomcat" Book
60f46579a5 Merge mozilla-central to fx-team on a CLOSED TREEx 2015-05-07 16:11:08 +02:00
Jean-Yves Avenard
40e5cc7845 Bug 1159579: Add Interval and IntervalSet objects. r=mattwoodrow
Along with a TimeIntervals class that reimplement all of dom::TimeRanges
features.
2015-05-07 10:24:10 +10:00
Aaron Klotz
e5f738ac2c Bug 1157237: Move invocation of async NPP_New to an async task; r=jimm
--HG--
extra : rebase_source : d637688cf112b4d4ed599c6cc45eebd908a67788
2015-05-06 01:53:51 -06:00
Boris Zbarsky
0c6597b3e0 Bug 1162013. Process the Promise queue between adjacent setTimeout callback invocations when we're going through the callback list without returning to the event loop. r=smaug 2015-05-07 14:49:31 -04:00
Kartikaya Gupta
e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Fernando Jimenez
bcad085e95 Bug 1161288 - Support app:// origins on Fetch API. r=baku,nsm 2015-05-07 20:42:07 +02:00
Aaron Klotz
7ae85d5d47 Bug 1156903: Add quirk flag that causes NPN_GetValue(NPNVdocumentOrigin) to return an empty string even when it fails; r=jimm
--HG--
extra : rebase_source : 73c726920f9f3187a41f2834f942e891efae9e28
2015-05-06 01:07:32 -06:00
Karl Tomlinson
59a8e46319 bug 1161402 more thread doc for MediaDataDecoder use from IsVideoAccelerated() r=cpearce
--HG--
extra : rebase_source : 80a76610aa57f8afd0789a55b872af4e33b03e56
2015-05-06 16:43:52 +12:00
Blake Wu
4a80fadebf Bug 1161444 - Change MP4Reader's IsMediaSeekable() to only check with Demuxer. r=cpearce
--HG--
extra : rebase_source : 669bb6d1fba27c8ca8e439d739a385711be23da1
2015-05-06 11:16:06 +08:00
Jed Davis
bc4db515c0 Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.

Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Karl Tomlinson
749a8f60ea bug 1161402 assert there is no mActiveProxy during SharedDecoderManager::Shutdown() r=cpearce
--HG--
extra : rebase_source : e8f9307ea5541b929133668e40c87921fa350e84
2015-05-05 19:11:55 +12:00
Karl Tomlinson
5ee3aad3e3 bug 1161402 assert that public methods are not called after shutdown r=cpearce
Bug 1141241 suggests that this may be happening.

--HG--
extra : rebase_source : a512a988e7c2cffe34db91dce3f0a1ba77e316a3
2015-05-05 18:53:13 +12:00
Andrew McCreight
9652bcb7d5 Bug 1161110 - Remove trailing whitespace from FragmentOrElement. r=baku
--HG--
extra : rebase_source : 3c57a44658f202d992eef524091c83bd84b753d0
2015-05-04 09:56:00 -04:00
Gerald Squelart
cc52a79034 Bug 1160908 - [EME] Delete GMPRecords that are 0 bytes in size. r=cpearce
--HG--
extra : rebase_source : 3a43775f0a892573e72f3a45697093e5868da67e
2015-05-06 04:08:00 -04:00
Karl Tomlinson
1b23b8d523 bug 1161402 assert that some public methods are called on reader task queue r=cpearce
No assert is added for Init() and Shutdown() because SharedDecoderProxy does
not set the MediaDataDecoderCallback in these methods, and
IsVideoAccelerated() calls these from the main thread.

--HG--
extra : rebase_source : a1c38f0a2ec899c280d5f346dfca64777bdc61e5
2015-05-04 11:54:24 +12:00
Karl Tomlinson
ff0a1eca14 bug 1161402 add MediaDataDecoderCallback::OnReaderTaskQueue() r=cpearce
--HG--
extra : rebase_source : 59323104c9ffca27e79a1da163d258c1a9ec22c2
2015-05-01 12:03:32 +12:00
Karl Tomlinson
091d2512b1 bug 1161402 remove async MediaDataDecoder::Drain() from the list of blocking examples r=cpearce
Async since bug 1039128.

--HG--
extra : rebase_source : 6b306aeaf48e1f439164b6f9618176ff339b3602
2015-05-04 09:54:17 +12:00
Karl Tomlinson
2a5d85c3f2 bug 1161402 document that MediaDataDecoder::IsHardwareAccelerated() is called from the state machine task queue r=cpearce
--HG--
extra : rebase_source : 9afc7df49c3fdb2f98435e4ac4bf5e64d8a941dd
2015-05-04 09:53:04 +12:00
Ryan VanderMeulen
2b6b2dfa49 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-06 16:27:28 -04:00
Ryan VanderMeulen
cc947f05d4 Merge inbound to m-c. a=merge 2015-05-06 16:26:26 -04:00
Ryan VanderMeulen
11cde0e724 Merge fx-team to m-c. a=merge 2015-05-06 16:20:55 -04:00
Carsten "Tomcat" Book
5263fa2e35 Backed out changeset 5a0f9070dd94 (bug 1147736) for bustage on a CLOSED TREE 2015-05-06 17:03:13 +02:00
Carsten "Tomcat" Book
a953994a2b Backed out changeset a78ad976faf3 (bug 1147736) 2015-05-06 17:02:38 +02:00
Carsten "Tomcat" Book
9344729475 Backed out changeset 95e956a2ddb9 (bug 1147736) 2015-05-06 17:02:35 +02:00