Commit Graph

32378 Commits

Author SHA1 Message Date
Bobby Holley
285b8ce457 Bug 1136827 - Stop synchronously dispatching MediaDecoder::DecodeError from MDSM::DecodeError. r=mattwoodrow
MediaDecoder::DecodeError invokes MediaDecoder::Shutdown, which shuts down the
state machine. Given the sync dispatch, this means that this is basically already
what's happening.
2015-03-24 15:01:48 -07:00
Bobby Holley
c0bf9623d5 Bug 1136827 - Stop proxying DecodeError to the decode thread. r=mattwoodrow
At this point, all the callers actually call it on the state machine thread,
where it belongs.
2015-03-24 15:01:47 -07:00
David Anderson
7bc98f302c Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
75594981fd Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats) 2015-03-24 14:58:49 -07:00
Trevor Saunders
98873cda27 bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Dan Glastonbury
3074a2818d Bug 1145492 - Update FramebufferTexture2D to allow binding mipmaps. r=jgilbert 2015-03-24 10:41:33 +10:00
Dan Glastonbury
0873df525f Bug 1145501 - Extend validation of BufferData usage. r=jgilbert 2015-03-24 10:41:24 +10:00
Brian Birtles
66d495ebed Bug 1109390 part 3 - Clear the start time when playing a player; r=jwatt
This brings us into line with the algorithm in:

  https://w3c.github.io/web-animations/#play-an-animation

which makes the other patches in this series easier to compare with
the specification.
2015-03-24 09:21:08 +09:00
Brian Birtles
988502d879 Bug 1109390 part 2 - Remove some unneeded startTime tests; r=jwatt
Now that we have separate tests for checking the initial state of startTime we
can remove these checks from tests for setting the startTime.

Also, while we're at it, we needn't check the playState and animationPlayState
since these should be covered by other tests.
2015-03-24 09:21:08 +09:00
Brian Birtles
1ce079cb8a Bug 1109390 part 1 - Add tests for getting the startTime; r=jwatt 2015-03-24 09:21:07 +09:00
Bobby Holley
fcac4e1548 Bug 1145203 - Unify FlushDecoding, ResetDecode, and ResetPlayback into a single Reset() method. r=mattwoodrow 2015-03-23 17:07:10 -07:00
Bobby Holley
d31de95621 Bug 1145203 - Remove the AwaitIdle call in FlushDecoding. r=mattwoodrow
There are two callers of FlushDecoding - One is shutdown (where we already use
promises to wait for the queue to go idle via BeginShutdown), and the other is
dormant (see the comment).
2015-03-23 17:07:09 -07:00
Wes Kocher
0d9c0798af Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Wes Kocher
ab0d6fbec5 Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE 2015-03-23 16:06:32 -07:00
Wes Kocher
8c523bfc50 Backed out changeset 6cb38e697216 (bug 1144409) 2015-03-23 16:06:31 -07:00
Wes Kocher
356400af47 Backed out changeset c58f5ffb38e0 (bug 1142379) 2015-03-23 16:06:30 -07:00
Wes Kocher
d31297ac70 Backed out changeset f5a026d98faa (bug 1138294) 2015-03-23 16:06:28 -07:00
Nikhil Marathe
3612762bd9 Bug 1136200 - Verify request type is not no-cors if response is opaque. r=jdm 2015-03-17 08:47:03 -07:00
Nikhil Marathe
42fd8be69d Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal
renames fetch to fetchXHR() since fetch() is now a superpower.
2015-03-17 08:47:02 -07:00
Nikhil Marathe
f04010b8a1 Bug 1146059 - Remove Response.finalURL. r=ehsan 2015-03-21 17:49:29 -07:00
Terrence Cole
ef0a198902 Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8 2015-02-25 13:11:37 -08:00
Chris Double
426565bfef Bug 1145004 - Fix MSE Telemetry VIDEO_MSE_BUFFERING_COUNT - r=cpearce 2015-03-25 10:37:37 +13:00
Ehsan Akhgari
e2bc3d944b Remove the unneeded variable, no bug, DONTBUILD 2015-03-24 17:35:16 -04:00
Mason Chang
fb9a78d6a7 Bug 1145327 Part 2: Add test to ensure requestAnimationFrame callback timestamps always go forward in time. r=birtles,dholbert 2015-03-24 14:28:34 -07:00
Ehsan Akhgari
ea79d1a080 Bug 1142727 - Do not intercept sandboxed iframes with service workers; r=nsm
This is temporary until we clarify what we want to do with these
iframes in the spec.
2015-03-24 16:45:14 -04:00
Ehsan Akhgari
bd66175ba8 Bug 1146610 - Add static_asserts that check the validity of the enum values that we write into the cache database; r=bkelly
These assertions will catch future accidental changes to these enums
which will invalidate the data that we store in the Cache database.
2015-03-24 16:45:12 -04:00
Jason Orendorff
d28f3fee83 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo. 2015-02-17 11:58:43 -06:00
Shian-Yow Wu
f37c123bc0 Bug 1115495 - Part 2: PAC generator for browsing and system wide proxy. r=mcmanus, r=echen 2015-03-26 15:11:08 +08:00
Gerald Squelart
180a471b26 Bug 1135541 - Make crash reporting work for EME CDMs - r=cpearce 2015-03-26 19:55:30 +13:00
Chris Pearce
dbec6d951a Bug 1147730 part 2 - Validate input rather than not-yet-set data field in MediaKeySession::SetSessionId. r=jw_wang 2015-03-26 19:53:23 +13:00
Chris Pearce
8d9721c9f7 Bug 1147730 part 1 - Prevent data race between CDMProxy and CDM caps and video decoder startup. r=edwin 2015-03-26 19:53:05 +13:00
Dan Glastonbury
ec06079fd7 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00
Jean-Yves Avenard
5e847f002d Bug 1145815: Do not report discontinuities less than 35ms. r=k17e 2015-03-25 22:32:21 +11:00
Shih-Chiang Chien
189050f283 Bug 1144715 - Socket might be closed by GC before lower layer failure. r=khuey
CLOSED TREE
2015-03-23 20:06:00 -04:00
Ehsan Akhgari
b1e83bfe4b Bug 1147367 - Add a test for checking the Request.context attribute for FetchEvents generated for fetch(); r=nsm 2015-03-25 21:28:22 -04:00
Ehsan Akhgari
dfd730a737 Bug 1147184 - Extend the tests for Cache.put; r=bkelly 2015-03-25 21:22:18 -04:00
Bobby Holley
1ab90e3557 Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
This allows for parallel MDSM execution. \o/
2015-03-25 17:46:26 -07:00
Bobby Holley
a383a7d7db Bug 852821 - Disable test on b2g. r=me 2015-03-25 17:46:25 -07:00
Jason Orendorff
6b90d382df Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo. 2015-02-17 11:58:43 -06:00
Bobby Holley
325acf96b9 Bug 1136873 - Deliver NotifyWaitingForResourcesStatusChanged asynchronously on the state machine task queue. r=mattwoodrow
The previous setup is wacky, and can cause the notification to reach the state
machine before the promise rejection, which causes us to stall intermittently.
We also take the opportunity to be a bit less trigger happy when we fire it
in MediaSourceReader.cpp.
2015-03-23 13:17:52 -07:00
Bobby Holley
5faed6827a Bug 1136873 - Use promises for metadata decoding. r=mattwoodrow 2015-03-23 13:17:51 -07:00
Ehsan Akhgari
55b54a13f0 Bug 1110814 follow-up: Fix a typo in order to fix the test failures 2015-03-22 10:35:29 -04:00
David Anderson
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
Ben Kelly
7fe87f9c51 Bug 1110814 P1 Implement Cache IPC actor for streaming data from child to parent. r=khuey 2015-03-22 02:52:12 -04:00
Ben Kelly
3cdff8602d Bug 1110814 P0 Fully initialize Response before resolve Fetch promise. r=nsm 2015-03-22 02:52:12 -04:00
Ehsan Akhgari
d986820b12 Bug 1145792 - Add a test for the Cache.keys method; r=bkelly 2015-03-21 20:13:33 -04:00
Ehsan Akhgari
07650e2251 Bug 1145445 - Add a test for CacheStorage; r=bkelly 2015-03-21 20:11:24 -04:00
Ehsan Akhgari
55e8be4ca2 Bug 1144725 - Forcefully terminate the workers used in DOM cache tests once we're done with them; r=bkelly 2015-03-21 20:09:40 -04:00
Ehsan Akhgari
7f945cacd2 Bug 1143894 - Part 5: Add a test for handling of the Vary header with multiple entries in the cache; r=bkelly 2015-03-21 19:45:14 -04:00
Ehsan Akhgari
e9a5c75cb5 Bug 1143894 - Part 4: Add tests for handling of the Vary header in DOM Cache; r=bkelly 2015-03-21 19:45:13 -04:00
Ehsan Akhgari
2ee2e1cfd2 Bug 1143894 - Part 3: Do not propagate errors in getting the headers to the outside world; r=bkelly
The Vary header may contain invalid header name values.  We should just
ignore such values as opposed to propagating them to the caller.  Before
this patch, attempts to add a request with such a Vary header for example
would fail, since the internal QueryCache() call when executing the
CachePutAllAction would fail.
2015-03-21 19:45:12 -04:00
Ehsan Akhgari
3f494b3c92 Bug 1143894 - Part 2: Support Vary headers including multiple header names in DOM Cache; r=bkelly
The Vary header may include one or more HTTP header field names, so we
need to extract those names here, similar to the way that the
nsHttpChannel::ResponseWouldVary() function consumes the Vary header.
2015-03-21 19:45:12 -04:00
Ehsan Akhgari
5b475e23cf Bug 1143894 - Part 1: Clear the ErrorResult message if InternalHeaders::Get fails; r=bkelly
InternalHeaders::Get() may throw NS_ERROR_TYPE_ERR with an associated message.
The semantics of ErrorResult dictate that the message needs to be consumed by
the time that the object gets destroyed, so we need to clear it before
returning in these two places.
2015-03-21 19:45:11 -04:00
Phil Ringnalda
b39967c514 Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
ef13837525 Merge b-i to m-c, a=merge 2015-03-21 12:35:46 -07:00
Daniel Holbert
008fdfcf89 Bug 1143223 followup: Add MOZ_OVERRIDE annotation to ReadStream::Inner's refcounting macro. rs=ehsan 2015-03-21 00:17:49 -07:00
Wes Kocher
2f84a8e07a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-20 18:02:20 -07:00
Wes Kocher
bf51871f48 Merge b2ginbound to m-c a=merge CLOSED TREE 2015-03-20 17:51:17 -07:00
Ryan VanderMeulen
7503a00c03 Backed out changeset c4915d92b0c5 (bug 1113471) for test_osfile_back.xul failures. 2015-03-20 14:33:54 -04:00
Wes Kocher
a694cc39ce Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
a2a1636174 Backed out changeset 38c35f7b2b7d (bug 1132072) for frequent bc3 failures CLOSED TREE 2015-03-20 17:17:57 -07:00
Wes Kocher
55c1be6dc4 Backed out changeset 6ef7ca8f1db3 (bug 1066531) so I can get at a patch that caused near-permafailing bc3 2015-03-20 17:17:19 -07:00
Wes Kocher
3be7c0d138 Bug 1145816 - Disable test_mediaStreamAudioDestinationNode.html as well for frequent timeouts CLOSED TREE 2015-03-20 16:22:05 -07:00
Ryan VanderMeulen
23d09bf6cd Bug 1145816 - Disable test_mediaElementAudioSourceNodePassThrough.html on Android for being nearly perma-timeout.
CLOSED TREE
2015-03-20 17:15:43 -04:00
Ben Kelly
ce8a1fce33 Bug 1143223 - Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Ryan VanderMeulen
9130168404 Backed out changesets 992c504934d3 and 5832c2042614 (bug 1086684) for LSAN leaks.
CLOSED TREE
2015-03-20 17:06:27 -04:00
Ryan VanderMeulen
119b851bd1 Backed out changeset fd0834bbfd3c (bug 1143223) for making test_mediaElementAudioSourceNodePassThrough.html almost perma-timeout on Android 4.0. 2015-03-20 17:03:27 -04:00
Ehsan Akhgari
732936d337 Bug 1144337 - Add tests to ensure that cacheName is only honored on CacheStorage, and not Cache; r=bkelly 2015-03-20 16:05:49 -04:00
George Wright
608af99113 Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-20 15:09:58 -04:00
Blake Kaplan
1f8d3174cb Bug 1086684 - Add a mochitest. r=mconley 2015-03-20 12:04:58 -07:00
Blake Kaplan
69317f9872 Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan 2015-03-20 12:04:58 -07:00
Bill McCloskey
5389443ac0 Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) 2015-03-20 12:02:41 -07:00
Bill McCloskey
8fb0643e63 Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Fabrice Desré
f7f44db9b8 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Kyle Huey
5c0bf9660a No bug: fix typo. DONTBUILD 2015-03-21 10:43:15 -07:00
Ehsan Akhgari
b89590e3d5 Bug 1145631 - Part 2: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the WebIDL codegen; r=froydnj 2015-03-21 12:28:16 -04:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shawn Huang
51407e2b09 Bug 1144089 - Map AVRCP attribute ID correctly. r=tzimmermann 2015-03-19 02:22:00 -04:00
Shawn Huang
d11a054711 Bug 1142408 - Add data length parameter for Register Notification Response Command. r=tzimmermann 2015-03-18 02:52:00 -04:00
Bill McCloskey
43e2889b51 Bug 1132072 - Handle RequestNotifyLayerTreeReady when RenderFrameParent not ready (r=dvander) 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
c318671429 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Byron Campen [:bwc]
84db96117c Bug 1141230: Stop using getLocalStreams() to drive checking of various things in the mochitest suite. r=jib 2015-03-12 17:30:12 -07:00
Ben Kelly
108555b4f6 Bug 1143223 Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Jeff Gilbert
f1950f4854 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Carsten "Tomcat" Book
f3215efaaf Backed out changeset 9a5f8a7ad479 (bug 1145057) for B2G L Emulator opt/debug bustage on a CLOSED TREE 2015-03-20 16:56:58 +01:00
Timur Valeev
38fee18c3e Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
ON CLOSED TREE
Fix bug number
2015-03-20 08:44:20 -07:00
Nikhil Marathe
2e35d3d440 Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE 2015-03-20 08:43:59 -07:00
Timur Valeev
22c8e8c3da Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan 2015-03-18 06:17:11 +03:00
Jan-Ivar Bruaroey
aec460f948 Bug 1145403 - Don't open MediaManager on shutdown. r=jesup 2015-03-19 18:43:25 -04:00
Alastor Wu
b09b4be478 Bug 1089526 - Change speaker state. r=baku 2015-02-16 10:50:56 +08:00
Alastor Wu
00b033cb2d Bug 1089526 - Correct function name. r=baku 2015-02-16 18:29:10 +08:00
Alexandre Lissy
944a871aef Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Alexandre Lissy
81089e2357 Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Wes Kocher
b17f064728 Merge m-c to inbound a=merge CLOSED TREE 2015-03-19 19:30:20 -07:00
Wes Kocher
12f6b5613f Merge b2ginbound to m-c a=merge CLOSED TREE 2015-03-19 19:23:58 -07:00
Ryan VanderMeulen
519b14d37a Backed out changeset 0a53b2d44e77 (bug 1142758) for apps/verticalhome/test/marionette/grid_layout_test.js failures. 2015-03-19 16:33:19 -04:00
Kyle Machulis
48e51b8ede Bug 1001757 - Add ability to store core apps outside of profile on desktop b2g; r=fabrice 2015-03-19 11:07:07 -07:00
Ryan VanderMeulen
0bbccfbbaa Backed out changeset 71357797bf19 (bug 1140148) for mochitest-gl harness bustage.
CLOSED TREE
2015-03-19 13:44:51 -04:00
Fabrice Desré
e0e241e7b2 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Geoff Brown
ad57f06b5b Bug 1140148 - Manifest updates for mochitest-gl on Android 4.3; r=jgilbert 2015-03-19 11:00:59 -06:00
Carsten "Tomcat" Book
60f5f639a6 Merge mozilla-central to b2g-inbound 2015-03-19 14:18:10 +01:00
Phil Ringnalda
bc03d24e02 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Phil Ringnalda
5045d9d2c4 Back out 59fd15407a79 (bug 1142336) for shutdown hangs
CLOSED TREE
2015-03-18 20:38:43 -07:00
Jeff Gilbert
dd1158dab0 Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-18 19:55:44 -07:00
Tom Schuster
308ff4d0ec Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past 2015-03-19 17:42:15 +01:00
Boris Zbarsky
0202d1a774 Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky
2f422f4b65 Bug 1143793 part 3. Stop passing null as the obj argument of JS::Compile. r=luke.
Note that this is not a behavior change in the aRunInGlobalScope case in
nsFrameMessageManager, because that case never does setCompileAndGo(true) anyway.
2015-03-19 10:13:34 -04:00
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Boris Zbarsky
50b622a067 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Boris Zbarsky
14dff9a0e8 Bug 1117172 part 1. Allow passing an optional aGivenProto to binding Wrap methods. r=peterv 2015-03-19 10:13:32 -04:00
Bill McCloskey
e7aee957c0 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Bill McCloskey
3f7c172b58 Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-19 06:43:39 -07:00
Kartikaya Gupta
0b2c448446 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
bda9d932e3 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Bevis Tseng
ea7f816016 Bug 1143596 - Part 2: Re-write with Promise. r=echen 2015-03-17 14:35:31 +08:00
Matt Woodrow
b8877d7455 Bug 1145029 - Disable DXVA for 4k videos on AMD hardware since it performs poorly. r=jya 2015-03-19 22:01:47 +13:00
Jan-Ivar Bruaroey
5bdee2adcc Bug 1144984 - add missing includes in MediaTimer.cpp. r=bobbyholley 2015-03-18 21:21:15 -04:00
Ehsan Akhgari
356dc96d15 Bug 1144876 - Stop spamming stderr with a warning every time that we encounter a document that is not controlled by a service worker; r=nsm 2015-03-18 14:16:00 +01:00
Ehsan Akhgari
bb3e413951 Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 10:58:00 +01:00
Ehsan Akhgari
0804076238 Bug 1144214 - Fix DeleteOrphanedBodyAction so that it doesn't orphan cache files if the action is canceled; r=bkelly 2015-03-18 14:19:00 +01:00
JW Wang
e8186745ca Bug 1143562. Part2 - only init |mStorageBaseDir| in the chrome process. r=cpearce 2015-03-18 19:15:00 +01:00
Ehsan Akhgari
979f8dd627 Bug 1143222 - Put the DOM Cache tests in sequential mode again until we fix the rest of the intermittent failures; a=RyanVM 2015-03-19 17:08:02 -04:00
Ehsan Akhgari
bcb4223ee0 Bug 1145321 - Disconnect the CacheStorage object from its actor when it gets cycle collected; r=bkelly 2015-03-19 17:06:59 -04:00
Ehsan Akhgari
4190c7e4ae Bug 1143504 - Disconnect the Cache object from its actor when it gets cycle collected; r=bkelly 2015-03-19 17:06:57 -04:00
JW Wang
8e48668d12 Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce 2015-03-16 19:51:00 +01:00
Bevis Tseng
fac0e57e58 Bug 1143596 - Part 1: Provide correct test number in Brazil format. r=echen 2015-03-16 16:59:58 +08:00
Ben Francis
fc2562a107 Bug 1087469 - Add support for a start_url property in app manifests r=fabrice 2015-03-18 21:25:51 -07:00
Wes Kocher
d3a01938c3 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Wes Kocher
b86d5e6713 Merge fx-team to m-c a=merge 2015-03-18 15:38:20 -07:00
Gregor Wagner
f8527dd881 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Edgar Chen
d898ef3a5b Bug 1143628 - Part 2-2: Rewriting test_massive_incoming_delete.js with Promise. r=bevis 2015-03-16 18:30:46 +08:00
Edgar Chen
7898ff5a16 Bug 1143628 - Part 2-1: Increasing the marionette timeout of test_massive_incoming_delete.js. r=bevis 2015-03-16 18:29:45 +08:00
Edgar Chen
ab0e32137f Bug 1143628 - Part 1: Remove wrapDomRequestAsPromise defined in MobileMessage marionette test. r=bevis 2015-03-17 12:00:20 +08:00
Thomas Zimmermann
b7f2c0bd09 Bug 1142364: Store instances of |Bluetooth*HALResultRunnable| in ref-counted pointers, r=shuang
Result runnables in Bluetooth's HAL backend ar now protected by ref-counted
pointers. This prevent memory leaks if dispatching to the main thread fails.
2015-03-18 16:44:23 +01:00
Ting-Yu Chou
573fcb9781 Bug 1128505 - Preload Webapps.js for faster mozApps instantiation. r=fabrice 2015-03-18 11:40:29 +08:00
Carsten "Tomcat" Book
6e003c58ac Backed out 7 changesets (bug 1125455) for test failures in m1 test_animation-player-ready.html on a CLOSED TREE
Backed out changeset 8a316064caff (bug 1125455)
Backed out changeset ad326dbcbd03 (bug 1125455)
Backed out changeset 83dab9578e23 (bug 1125455)
Backed out changeset 5bd86c20cd02 (bug 1125455)
Backed out changeset 751177025dcb (bug 1125455)
Backed out changeset f60c5b4adf84 (bug 1125455)
Backed out changeset 326ef9a86c85 (bug 1125455)
2015-03-18 16:32:54 +01:00
Aaron Klotz
3ab73648a8 Bug 1141081: Ensure nsPluginInstanceOwner::Destroy is called before returning from failed plugin instantiation; r=jimm 2015-03-17 19:44:34 -06:00
Bobby Holley
b5d70705f5 Bug 1144487 - Implement AbstractThread. r=mattwoodrow 2015-03-18 08:25:55 -07:00
Alexandre Poirot
516de40f7f Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz 2015-03-17 07:13:00 -04:00
Catalin Badea
3e5b1da158 Bug 982726 follow-up: Add exempt from worker limit pref to a test. 2015-03-18 16:56:47 +02:00
Catalin Badea
a302822ab8 Bug 982726 - Test the number of clients returned by matchAll. r=nsm 2015-03-18 16:47:17 +02:00
L. David Baron
3e2494f4df Bug 1125455 patch 5 - Add Animation::GetAnimationOfProperty. r=birtles
This is needed for patch 6.
2015-03-18 07:35:30 -07:00
L. David Baron
5358120a91 Bug 1125455 patch 4 - For main-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron
8e1348b0d3 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-18 07:35:29 -07:00
Nikhil Marathe
b7502bf690 Bug 1134462 - Cleanup Promise usage in fetch test SW. r=jdm 2015-03-17 08:48:31 -07:00
Nikhil Marathe
da9cdaf002 Bug 1134462 - allow null body. r=jdm 2015-03-17 08:48:30 -07:00
Nikhil Marathe
8435e04285 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm 2015-03-17 08:48:30 -07:00
Sylvestre Ledru
4d38d61385 Bug 1144176 - Remove a useless declaration. r=bholley 2015-03-18 14:10:08 +01:00
Carsten "Tomcat" Book
a26607e3b5 Merge mozilla-central to mozilla-inbound 2015-03-18 13:53:54 +01:00
Carsten "Tomcat" Book
245d5618aa merge mozilla-inbound to mozilla-central a=merge 2015-03-18 13:51:53 +01:00
Nigel Babu
9ffa767589 Backed out changeset 05850dac2882 (bug 1143562) for B2G Emulator ICS M2 bustage CLOSED TREE 2015-03-18 12:20:57 +05:30
Nigel Babu
e6c7a9380b Backed out changeset dd13fdf7b284 (bug 1144236) for bustage CLOSED TREE 2015-03-18 12:05:33 +05:30
Nigel Babu
fcc127ee9d Backed out changeset 96c20db25b6b (bug 1144214) for Android M4 bustage CLOSED TREE 2015-03-18 11:48:41 +05:30
Ehsan Akhgari
3f85829261 Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 23:56:32 -04:00
Ehsan Akhgari
ff38a9b9ff Bug 1144214 - Fix DeleteOrphanedBodyAction so that it doesn't orphan cache files if the action is canceled; r=bkelly 2015-03-17 23:56:31 -04:00
Jessica Jong
de69ac839c Bug 1137088: B2G RIL: move data call related handling out of ril_worker. r=echen 2015-03-18 11:28:54 +08:00
Jean-Yves Avenard
f9983ddc18 Bug 1143987: Use SharedDecoderManager with EME PDM. r=cpearce 2015-03-18 14:10:59 +11:00
Jean-Yves Avenard
479a64c3bb Bug 1128332: Part3. Re-attempt to decode from last failed position. r=mattwoodrow 2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
29327f0738 Bug 1128332: Part2. Don't consider decoding error as fatal. r=mattwoodrow
A decoding error may be temporary. In particular should the range removal
algorithm be called while attempting to demux frames about to be evicted.
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
fcde4d14ce Bug 1128332: Part1. Add useful informations to logging. r=mattwoodrow 2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
370e94b5de Bug 1143586: Part1. Be more relaxed when parsing h264 codecs' levels. r=cpearce 2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
54fea3f275 Bug 1143514: Update mochitest. r=cajbir
sourcebuffer is added to ms.activeSourceBuffers only once the first init
segment has been appended.
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
0aa1c25a15 Bug 1143514: Part1. Only add sourcebuffer to ActiveSourceBuffers once active. r=cajbir 2015-03-18 14:10:56 +11:00
Ryan VanderMeulen
a4fe1a181c Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen
61149e5ecc Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-03-17 14:22:40 -04:00
Ryan VanderMeulen
e459fb42e0 Backed out changeset dccbdda5be64 (bug 1124409) for Linux mochitest-e10s permafail.
CLOSED TREE
2015-03-17 14:12:39 -04:00
Nikhil Marathe
ab3c49600c Bug 1144249 - fix fetch no-cors mode. r=bkelly
A no-cors mode request should not go through a nsCORSProxyListener, which can only handle same-origin and cors mode.

The test for no-cors was passing allowOrigin, which was converting it into a CORS request, which is why it was passing.

I also realized that it is port 8888 and not 8000, so fixed that in some of the redirect tests.
2015-03-17 08:47:04 -07:00
Nikhil Marathe
b3e6fca016 Bug 1143155 - Filtered response stores internal response and allows access to headers. r=bkelly 2015-03-17 08:47:01 -07:00
Nikhil Marathe
8b0d2b2ce4 Bug 1143857 - Add FormData serialize support to Fetch API. r=ehsan 2015-03-17 08:32:04 -07:00
Ehsan Akhgari
db9a1f6dab Bug 1143959 - Set the journal mode and foreign key pragmas for all DBActions; r=bkelly
Before this patch, we would only set these pragmas as part of CreateSchema
which runs in SetupAction.  This meant that the connection used to perform
other DBActions would not have had these pragmas applied.  As a result,
sqlite would not honor foreign keys on such connections, so the cascade
delete rules responsible for deleting rows from request_headers and
response_headers would not get executed when DBSchema::CachePut deleted the
old entry before adding a new one.

The test in the patch demonstrates how this could result in an observable
breakage.  Before this patch, the response headers stored in the cache for
the overwritten entry would reflect both `Mirrored: `foo' and `Mirrored: bar'
headers, which means that attempting to get this header on the cached
response would return the first entry, `foo'.
2015-03-17 08:18:28 -04:00
Neil Deakin
0bcc8692e2 Bug 942411, change the frame height to force a reflow and renable the test on Linux to see if it helps, r=smaug 2015-03-17 08:05:07 -04:00
Tim Taubert
b8b4109734 Bug 1124409 - Fix intermittent browser_bug1015721.js failures by ensuring the EventStateManager has a document before trying to dispatch ZoomChangeUsingMouseWheel r=smaug 2015-03-17 12:34:18 +01:00
Daniel Holbert
2c24121797 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Daniel Holbert
86516c1e9f Bug 1143823 part 1: Make MediaStream::RunAfterPendingUpdates() take already_AddRefed instead of a nsRefPtr. r=karlt 2015-03-17 09:29:17 -07:00
Carsten "Tomcat" Book
cc4ee6a59e Merge mozilla-central to mozilla-inbound 2015-03-17 11:49:16 +01:00
Carsten "Tomcat" Book
21682b3a69 merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Eddy Bruël
01de11bc7a Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey 2015-03-17 11:15:19 +01:00
Brian Birtles
f4eb0d1e0e Bug 1113425 part 4 - Enable test_deferred_start.html on all platforms; r=mattwoodrow 2015-03-17 18:38:12 +09:00
Brian Birtles
7aa293cc60 Bug 1113425 part 3 - Make test_deferred_start.html wait an extra frame; r=mattwoodrow
This is needed to avoid intermittent failures on Mulet and B2G ICS Emulator.
2015-03-17 18:38:12 +09:00
Brian Birtles
53ce82696c Bug 1113425 part 1 - Fix some bad CSS comment syntax in animation tests; r=mattwoodrow 2015-03-17 18:38:12 +09:00
JW Wang
69bddc962e Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce. 2015-03-18 10:29:31 +08:00
Wes Kocher
e90fd8b8a3 Backed out changeset 98bc69015608 (bug 1139721) for frequent b2g mochitest-5 failures 2015-03-16 14:16:02 -07:00
Dan Glastonbury
90efe115b9 Bug 1124996 - Remove expected fail on OSX 10.10. r=jgilbert 2015-03-16 18:30:23 +10:00
Samael Wang
9c85067458 Bug 1138841 - Part 3: Add an XPCShell and a Marionette test case for encoding and decoding examination, respectively. r=btseng 2015-03-16 15:44:34 +08:00
Robert O'Callahan
b97c4bec29 Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats 2015-03-18 02:04:32 +13:00
Andrew Osmond
6cf5c909d5 Bug 1139721 - Fix camera memory leaks for onfacesdetected events, failed initializations and capabilities. r=mikeh 2015-03-13 12:32:34 -04:00
Bruce Sun
2a828f2f79 Bug 1136514 - Add ReadRemoteRssi in GATT client. f=jocelyn, r=btian, r=mrbkap 2015-03-16 16:55:50 +08:00
Ehsan Akhgari
f06a3793f9 Bug 1143222 - Avoid dumping out extremely long response bodies to the mochitest log, and re-enable the newly added DOM cache tests to run both in seqential and parallel modes; r=bkelly
The test timeouts here are some form of bug 1141256, which causes the service
worker spawned in the parallel mode of the tests to never start up.  It turns
out that avoiding sending this huge message to the mochitest logger avoids the
issue on the infrastructure, so let's re-enable these tests.  Bug 1141256 still
needs to be investigated.
2015-03-17 16:51:57 -04:00
Aaron Klotz
445b34a771 Bug 1128064: Check for null mContent in nsPluginInstanceOwner::GetDocument; r=jimm 2015-03-16 15:11:13 -06:00
Tooru Fujisawa
8eab6f064e Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug 2015-03-18 05:42:14 +09:00
Samael Wang
142af36a13 Bug 1138841 - Part 2: Update the test cases in test_sms_segment_helper.js in corresponding to the changes of PDU_NL_LOCKING_SHIFT_TABLES. r=btseng 2015-03-06 18:09:08 +08:00
Samael Wang
964b98474c Bug 1138841 - Part 1: Fix PDU_NL_LOCKING_SHIFT_TABLES in ril_consts.js. r=btseng 2015-03-06 18:09:08 +08:00
Milan Sreckovic
926595cdbd Bug 1129147 - Part 2. Path option to addHitRegion. r=ehsan r=gw280 2015-03-02 15:33:28 -05:00
Milan Sreckovic
36795ba9d7 Bug 1129147 - Part 1. Take CanvasPath into a separate file, to avoid circular dependency. r=roc 2015-03-03 10:57:51 -05:00
Cameron McCormack
ce5ca47f03 Bug 1143314 - Don't use very short transition/animation durations in test_animation_observers.html. r=birtles 2015-03-17 17:13:20 +11:00
Ben Hsu
caf074ec6b Bug 1001343 - Part 2: A new testcase. r=aknow 2015-03-02 00:08:00 -05:00
Ben Hsu
4fb9a71a03 Bug 1001343 - Part 1: Create dialSTK() (head.js). r=aknow 2015-03-08 22:26:00 -04:00
Ben Tian
77163a38e8 Bug 1141944 - [bluetooth2] Revise device paired/unpaired handlers in BluetoothAdapter, f=jaliu, r=shuang 2015-03-16 16:01:59 +08:00
L. David Baron
74fc0a1a2f Bug 1143314 - Temporary disable two tests that are frequently failing intermittently, added about 12 hours ago in bug 1123523, on a CLOSED TREE. 2015-03-14 10:20:27 -07:00
Tim Taubert
9a501b3b57 Bug 1142681 - Let CreateECParamsForCurve() assert a non-null arena parameter r=keeler 2015-03-13 22:10:23 +01:00
Chris Peterson
f03a63f52f Bug 1142863 - Remove unused struct RemoveQuotaInfo in dom/quota/QuotaManager.cpp. r=janv 2015-03-12 21:04:07 -07:00
Cameron McCormack
a96d456d1d Bug 1123523 - Followup build fix. (CLOSED TREE) 2015-03-14 16:55:37 +11:00
Boris Zbarsky
f8e0ebdf55 Bug 1097987 part 7. Require callers of JS::Evaluate to either use the global as the scope or pass in an explicit scopechain. r=waldo 2015-03-14 01:36:16 -04:00
Cameron McCormack
cd30c2a11c Bug 1123523 - Part 10: Tests. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
b1bdb8cb74 Bug 1123523 - Part 9: Dispatch an nsIAnimationObserver notification when an animation is changed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
2a986b6693 Bug 1123523 - Part 8: Dispatch nsIAnimationObserver notifications when an animation is added or removed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
1059a43375 Bug 1123523 - Part 7: Add utility functions to notify registered nsIAnimationObservers. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
6c21224a8d Bug 1123523 - Part 6: Listen for nsIAnimationObserver notifications and translate them to MutationObserver notifications. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
4c6ede90a2 Bug 1123523 - Part 5: Record on a document whether it might have any nsIAnimationObservers registered. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
f984425c1b Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
af083b5de5 Bug 1123523 - Part 2: Add an "animations" option for MutationObservers and expose chrome-only animation members on MutationRecords. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
a41c2756e5 Bug 1123523 - Part 1: Add an nsIAnimationObserver interface to watch adding/changing/removing AnimationPlayer objects. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
aef157ef7f Bug 1141858 - Fix error message for unexpected extended attribute on dictionary members. r=bzbarsky 2015-03-14 16:34:40 +11:00
L. David Baron
2eaedd309f Bug 1143227 - Annotate test_conformance__textures__texture-npot-video.html as asserting 4 times on Android, since bug 1083347 made us run it on Android debug builds, on a CLOSED TREE. No review. 2015-03-13 22:09:54 -07:00
Ehsan Akhgari
7ce0b6bfb3 Bug 1143222 - Disable the newly added DOM cache tests for now because of intermittent failures
Landed on a CLOSED TREE
2015-03-13 19:23:34 -04:00
Ehsan Akhgari
529097953d Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 19:21:16 -04:00
Ehsan Akhgari
f2a66701c9 Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 19:21:13 -04:00
Wes Kocher
ea55c7410f Backed out changeset b8d2fd1bb7f5 (bug 1142269) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:18 -07:00
Wes Kocher
c48505930a Backed out changeset 1bd38b652695 (bug 1142790) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:08 -07:00
Ryan VanderMeulen
ea4f5f05dc Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen
54abe997e7 Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Ryan VanderMeulen
2f28e13e80 Merge b2g-inbound to m-c. a=merge 2015-03-13 16:03:25 -04:00
Ryan VanderMeulen
a12c6d2dfc Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Tom Tromey
257f39f5bb Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap 2015-03-13 12:05:57 -07:00
Ehsan Akhgari
5c8aa2057c Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 14:40:33 -04:00
Ehsan Akhgari
97b8881fbf Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 14:40:27 -04:00
Ehsan Akhgari
6541ca0b6f Bug 1133763 - Part 8: Ensure that FetchEvent.respondWith works correctly on HTTPS requests with a cloned response; r=nsm 2015-03-13 14:37:27 -04:00
Ehsan Akhgari
68ae51bd33 Bug 1133763 - Part 7: Add automated tests for using FetchEvent.respondWith on an HTTPS request; r=nsm 2015-03-13 14:37:25 -04:00
Ehsan Akhgari
81a811da5c Bug 1133763 - Part 6: Set the correct security info on intercepted channels when using the respondWith API; r=jdm 2015-03-13 14:37:24 -04:00
Ehsan Akhgari
92ea15bb44 Bug 1133763 - Part 4: Store the response's security info in the cache database; r=bkelly 2015-03-13 14:37:19 -04:00
Ehsan Akhgari
ef10661c6f Bug 1133763 - Part 3: Wipe out the cache directory when detecting a change in the DB schema; r=bkelly 2015-03-13 14:37:18 -04:00
Ehsan Akhgari
c11ee2b83b Bug 1133763 - Part 2: Transfer the security info associated with an InternalResponse across the IPC layer; r=bkelly 2015-03-13 14:37:16 -04:00
Ehsan Akhgari
0cf38d2ae1 Bug 1133763 - Part 1: Remember the security info associated with HTTP fetches and record it inside InternalResponse; r=nsm 2015-03-13 14:37:14 -04:00
Ehsan Akhgari
fe88009867 Bug 1142772 - Interleave the DOM Cache tests run through the mini-framework; r=bkelly
Here are the changes needed to achieve this:

* We tag each message posted to the framework with a context argument.
  context can be one of "Window", "Worker" or "ServiceWorker".  In the
  places where we handle messages, we only handle the ones corresponding
  to the context that we expect.
* We use Promise.all in order to interleave the execution of the tests.
  This has the nice property of actually getting the tests run
  simultaneously on multi-core machines.
* For ease of debugging test failures, we print the context from which
  each test message is coming from.
* In order for the tests that are run in parallel to not step on each
  other's toes, we introduce a global `context' variable that the test
  script can use to create names that do not clash with concurrent
  test runs.  For example, instead of `caches.open("foo")', one must now
  use: `caches.open("foo" + context)'.
* The existing tests are modified based on the above.
* When running the tests in parallel, the service worker may end up
  controlling both frame.html and message_receiver.html.  The hunk at
  the end of worker_wrapper.js is intended to ensure that we will
  always be communicating with message_receiver.html.
* An order argument has been added to runTests which can be set to
  "sequential" in order to run the tests in different contexts in
  parallel.  If the argument is omitted, the default is "parallel".
2015-03-13 14:32:02 -04:00
Ehsan Akhgari
3c6160ab8a Bug 1142333 - Add a test for passing Request objects to DOM cache match methods; r=bkelly 2015-03-13 14:28:24 -04:00
Jan-Ivar Bruaroey
6c8986ab3b Bug 1135655 - bump up tab sharing dimension defaults to match screensharing r=jesup 2015-03-13 12:21:20 -04:00
Ryan VanderMeulen
991a4a7230 Merge m-c to inbound. a=merge 2015-03-13 12:18:07 -04:00
Carsten "Tomcat" Book
59652501d7 Merge mozilla-central to b2g-inbound 2015-03-13 14:13:54 +01:00
Andrew Sutherland
77204452e3 Bug 947167 - Fix/improve debugging of test_downloads_pause_resume.html intermittent. r=aus 2015-03-12 22:27:46 -04:00
Dan Glastonbury
d4ee969786 Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE_FUNC handling. r=jgilbert 2015-03-13 16:16:05 +10:00
Phil Ringnalda
449b70840e Back out 3 changesets (bug 1135424) on suspicion of causing frequent hangs in test_playback.html on mochitest-e10s
CLOSED TREE

Backed out changeset 584d91ffdf88 (bug 1135424)
Backed out changeset d86806ea63f4 (bug 1135424)
Backed out changeset e52401d30a67 (bug 1135424)
2015-03-12 23:05:11 -07:00
Boris Zbarsky
f93ad8e329 Bug 1142478 followup. Fix bogus test, and don't get the value of an invalid CheckedInt. Then we can reopen the CLOSED TREE. 2015-03-12 22:59:00 -04:00
Chris Double
3786384366 Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg 2015-03-13 15:02:49 +13:00
Boris Zbarsky
e9ab0b6864 Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. r=sicking 2015-03-12 21:46:57 -04:00
Bobby Holley
fb69461e18 Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow 2015-03-12 17:54:35 -07:00
Bobby Holley
838ad64674 Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-12 17:52:51 -07:00
Bobby Holley
643902f841 Bug 1135424 - Allow MediaPromise dispatch to fail if the ThenValue has been disconnected. r=mattwoodrow
The original idea behind the current model was that we wanted ironclad guarantees
that consumers would always get a callback on their promise. But we now have use
cases where the consumer wants to forget about a promise (using the new
Disconnect()) feature, and in some cases wants to shut down the task queue that
the response is going to be dispatched on. In the case of this bug, we want to
avoid waiting for the longest outstanding timer promise to be resolved before
shutting down the MDSM.

So this patch fixes up the pieces needed to make this work:
* Loosening our invariants to allow dispatch targets to be released on any thread,
  since MediaTaskQueue and nsIEventTarget both have thread-safe refcounting.
* Releasing mThisVal in Disconnect, so that we no longer depend on successful
  dispatch to release it on the correct (dispatch) thread.
* Fiddling with various assertions.

We also make some assertions fatal in nightly/aurora builds while we're at it.
2015-03-12 17:52:50 -07:00
Chris Double
99f7bdd3a1 Bug 1131884 - Video buffering calculation fails for some MP4 videos - r=jya
Playback position used in calculating buffering time is set
during metadata reading. This is at end of file for the
video in the bug. As a result the buffering data is always
wrong.

Changed to not setting position during metadata - it is set
during frame playback anyway.

Also changes buffering timeout to 15s from 30s.
2015-03-13 13:45:51 +13:00
Ryan VanderMeulen
dc8db62987 Merge m-c to fx-team. a=merge 2015-03-13 12:21:20 -04:00
Ganesh Sahukari
d69833be5a Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00