Commit Graph

35754 Commits

Author SHA1 Message Date
Ehsan Akhgari
6a5db3b1bb Bug 1140804 follow-up: Use final and override instead of the macros which don't exist any more
Landed on a CLOSED TREE to fix bustage.
2015-03-24 14:12:17 -04:00
Matthew Noorenberghe
b2a7f5ef69 Bug 1120860 - Measure whether an <input type=password> is associated with a <form> in BindToTree. r=smaug
--HG--
extra : rebase_source : bbabe796a1ec1c6d545cec4dc61e51c3bba31624
2015-03-24 10:27:56 -07:00
Ryan VanderMeulen
d9dde45ad4 Merge m-c to b2g-inbound. a=merge 2015-03-24 12:00:00 -04:00
William Chen
d8cd0f41bb Bug 1145910 - Cross ShadowRoot boundary when updating ancestor state in event state manager. r=smaug 2015-03-24 03:55:52 -07:00
Jeff Gilbert
5643850512 Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Jean-Yves Avenard
04753af547 Bug 1146222: use nsAutoCString to store mimetype string. r=karlt
We use a nsAutoCString as the mimetype is typically less than 64 characters
and prevent a heap allocation (and the unecessary fragmentation linked to it)
2015-03-24 14:45:17 +11:00
Ben Kelly
b7d8aaec19 Bug 1142852 P2 Make Cache Action use non-threadsafe ref-counting. r=ehsan 2015-03-23 22:28:09 -04:00
Ben Kelly
a1e93d47a8 Bug 1110487 P4 Allow Cache Action objects to be canceled more than once. r=ehsan 2015-03-23 22:23:45 -04:00
Ben Kelly
81bce2740d Bug 1110487 P3 Cache should ensure Actions are finished before completing. r=ehsan 2015-03-23 22:23:45 -04:00
Olli Pettay
4aefff1cad Bug 1140804, make sure to close WebSocket channel even in workers, r=khuey CLOSED TREE 2015-03-19 00:38:02 +02:00
Tanvi Vyas
d10e6067e4 Bug 1082837 - Use nsresult for static ShouldLoad and use NS_IMETHODIMP for nsIContentPolicy::ShouldLoad(). CLOSED TREE 2015-03-24 10:51:15 -07:00
Ryan VanderMeulen
4dd9a03e24 Backed out changeset cb2fce9d19c7 (bug 1137229) for OSX Werror bustage.
CLOSED TREE
2015-03-24 13:07:26 -04:00
Steven Michaud
f38180eace Bug 1137229 - Keyboard input can stop working in a window. r=smaug 2015-03-24 11:41:32 -05:00
Tanvi Vyas
3faad06490 Bug 1082837 - Call content policies on cached image redirects in imgLoader::ValidateSecurityInfo. Content policies check the last hop (final uri) of the cached image. For Mixed Content Blocker, we do an additional check to see if any of the intermediary hops went through an insecure redirect. r=smaug, feedback=seth 2015-03-24 09:18:48 -07:00
George Duan
788b9af21b Bug 1135293 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl
DONTBUILD
2015-03-17 20:24:00 -04:00
Ryan VanderMeulen
30b74ed0cd Backed out changeset d8c689def44e for landing with the wrong bug number in the commit message. 2015-03-24 10:48:56 -04:00
Jocelyn Liu
01f5840db1 Bug 1146293 - Fix coding style break (intent and line length) caused by Bug 1117172 and Bug 1145631. r=shuang 2015-03-23 19:37:00 -04:00
George Duan
9057a8ed29 Bug 1130028 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl 2015-03-17 20:24:00 -04:00
Wes Kocher
49bb55c007 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-23 16:47:58 -07:00
Ryan VanderMeulen
5a963d1339 Backed out changesets 772945b1130d, cb83b6efa9ea, and 5f23080673ee (bug 1086999) for Gaia context_menu_test.js failures.
CLOSED TREE
2015-03-23 14:22:23 -04:00
Byron Campen [:bwc]
ae13d463e0 Bug 1145407: Another mochitest 3 bustage fix on CLOSED TREE. r=bustage
--HG--
extra : amend_source : b35ca98cbfb6d3e745dbb1d7fbfa36f9f3ba93a4
2015-03-23 10:29:53 -07:00
Byron Campen [:bwc]
534d79b207 Bug 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : d7e281e62c03169b80e07bdf205c40455fb231e9
2015-03-23 10:21:23 -07:00
Jocelyn Liu
b83b288476 Bug 1114515 - Par h4: Implement Service, Characteristic, Descriptor interfaces for GATT client DiscoverServices API. r=btian, r=mrbkap
This patch covers
1) Add BluetoothGattService, BluetoothGattCharacteristic, BluetoothGattDescriptor interfaces
2) Create services, characteristics, descriptors from handling signals distributed by BluetoothGattManager

--HG--
extra : histedit_source : d5d881f0da1ac57c1ad8a0a59100ff6ba86bfde4
2015-03-23 03:27:00 -04:00
Jocelyn Liu
736736c246 Bug 1114515 - Part 3: Implement GATT client DiscoverServices API. r=btian, r=mrbkap
This patch covers
1) Add DiscoverServices() method into BluetoothGatt interface.
2) Implement discover procedure in BluetoothGattManager

--HG--
extra : histedit_source : 9cc8c68706c6147a801bd9f43b91f1b87e329a07
2015-03-23 03:25:00 -04:00
Jocelyn Liu
f51cc5b87b Bug 1114515 - Part 2: Add BluetoothUuid, BluetoothGattId[], BluetoothGattServiceId[] into bluetooth ipc protocol. r=btian
--HG--
extra : histedit_source : e98b042599a59ee4263569d6a92e5d26477c3f94
2015-03-21 06:45:00 -04:00
Jocelyn Liu
a40c02bb97 Bug 1114515 - Part 1: Revise BluetoothGattHALInterface for discovering all services and first characteristic/descriptor. r=btian
--HG--
extra : histedit_source : fd1ac6c47e72b59b47e85201137ca5f77620a054
2015-03-21 06:44:00 -04:00
Ryan VanderMeulen
c072fb62c8 Bug 942411 - Re-enable test_ignoreuserfocus.html on B2G.
--HG--
extra : histedit_source : 26ca83c532d04c45c93fbe1df7a10f0b2333c5ae
2015-03-23 14:33:46 -04:00
Karl Tomlinson
9b81843d7f bug 1144189 don't dispatch runnable again after immediate dispatch in RunAfterPendingUpdates r=roc
--HG--
extra : rebase_source : 62cdf00643cbf1591fe147f932905f190cd7bf8a
2015-03-18 09:29:33 +13:00
Karl Tomlinson
8abd20cef2 bug 1144341 RemoveDecoder() when initialization is aborted r=jya
--HG--
extra : rebase_source : c19a2d8d2f8e736bbcf12925ea7792a0d6bfdcd9
2015-03-23 18:13:38 +13:00
Edwin Flores
d3bddb14f8 Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage 2015-03-23 16:44:20 +13:00
Stephen Pohl
d123931436 Bug 1145336: Remove old GMPs during updates. r=jwwang 2015-03-22 23:12:03 -04:00
JW Wang
18c5534663 Bug 1145057 - Block drawImage() from EME media. r=roc. 2015-03-22 18:09:18 +08:00
Edwin Flores
9a9b42ccdf Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce 2015-03-23 15:31:15 +13:00
Edwin Flores
bee5912b34 Bug 1134434 - Change test_eme_non_fragmented to expect a loadedmetadata' event instead of encrypted' - r=cpearce 2015-03-23 15:31:15 +13:00
Cameron McCormack
a28a264c22 Bug 1145912 - Make single_transition_reversed and multiple_transitions more robust. r=birtles 2015-03-23 13:07:25 +11:00
Jean-Yves Avenard
ec3133be54 Bug 1145101: Part6. Remove the PDM::Shutdown() method. r=cpearce
PDM::Shutdown() was documented in some implementation as running from the main
thread which wasn't the case. It served no purpose and all can be done from the
destructor instead.
The PDM being a refcounted object can be referenced by more than one object.
Shutting it down too early could cause crash. This is now avoided.
2015-03-23 11:12:59 +11:00
Jean-Yves Avenard
29c3f07735 Bug 1145101: Part5. Re-use the same PDM when recreating a decoder. r=mattwoodrow
This ensure proper balance of PDM/Media Data Decoder Shutdown()
2015-03-22 13:13:42 +11:00
Jean-Yves Avenard
eba783fa56 Bug 1145101: Part4. Fix coding style. r=cpearce 2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
2a25b5ab4d Bug 1145101: Part3. Ensure PDM is shutdown after decoder. r=cpearce
A MediaDataDecoder object can't be used once the PDM that created it is
shutdown.
We ensure that if the PDM is in use by the SharedDecoderManager we do not
shut it down.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
51d848ba61 Bug 1145101: Part2. Unset VDA/VT system functions when unlinking framework. r=cpearce
Makes it much easier to debug when framework got unlinked but is incorrectly
still later used as it will crash as a null deref.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
5c5bf460e7 Bug 1145101: Part1. Correct log entry. r=cpearce 2015-03-23 11:12:57 +11:00
Nikhil Marathe
fa2b7dfb6b Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus
--HG--
extra : transplant_source : %B9%A2%AB.%EA%A4%ABH%86%D0%F0%3F%DE%03%DF%7D%A9p%B2%D5
2015-03-17 08:48:32 -07:00
Daniel Holbert
48c2e9bef2 Bug 1110814 followup: Add missing 'override' annotations to new methods in CacheParent. rs=ehsan 2015-03-22 10:33:56 -07:00
Phil Ringnalda
c4745d28b1 Backed out 9 changesets (bug 1142775, bug 1139683, bug 1143810, bug 1142761, bug 1142784, bug 1142794, bug 1144819) for widespread bustage
CLOSED TREE

Backed out changeset 7613fc978d36 (bug 1142794)
Backed out changeset e5f0cb31263d (bug 1142784)
Backed out changeset dcd0af73ac84 (bug 1142784)
Backed out changeset 034f9c8e79ee (bug 1142784)
Backed out changeset ce0ee37e3ca9 (bug 1142775)
Backed out changeset 1519b8f2bbba (bug 1142761)
Backed out changeset 26fd55677841 (bug 1139683)
Backed out changeset 7ebc76a450c3 (bug 1144819)
Backed out changeset 92adb459d519 (bug 1143810)
2015-03-22 09:34:25 -07:00
Ben Kelly
12af2a6a57 Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan 2015-03-16 07:10:36 -07:00
Edwin Flores
b790668a1f Bug 1147689 - Preserve compatibility with eme-decrypt-v6 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
d888a5c88f Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
46cbfd3c6b Bug 1147689 - Pass the session ID(s) of an encrypted frame into EME CDMs - r=cpearce 2015-03-26 22:57:36 +13:00
John Schoenick
d1712cbb73 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
John Schoenick
99dc02a8c8 Bug 1139560 - Fix srcset parser 'After descriptor' state mishandling spaces. r=jst 2015-03-04 23:11:00 -05:00
John Schoenick
7e5e65290d Bug 1139560 - Reject non-standard parses of integers in srcset descriptors. r=jst 2015-03-04 23:09:00 -05:00
John Schoenick
1cd0c6c37b Bug 1139554 - Fix srcset parser mishandling bare URLs followed by a comma. r=jst 2015-03-04 23:07:00 -05:00
John Schoenick
fde1768c06 Bug 1139554 - Fix srcset parser mishandling bare URLs followed by a comma. r=jst 2015-03-04 23:07:00 -05:00
Jason Orendorff
1def388b28 Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : e89f916fe267800bc73890e11aceef5c4855b272
2015-03-01 13:16:19 -06:00
Andrew Overholt
51804b48fa Bug 1127552 - Add Telemetry to Fetch. r=nsm
Note when the Fetch is coming from the main thread or a worker.  Also
count Requests just passed through a Service Worker.

--HG--
extra : rebase_source : 5ab71144821a97f0ec1874d467da68f4fd171705
2015-03-27 06:47:00 -04:00
Bill McCloskey
f15599e2d9 Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Bill McCloskey
84acae3967 Bug 1132072 - Handle RequestNotifyLayerTreeReady when RenderFrameParent not ready (r=dvander) 2015-03-27 08:38:47 -07:00
Jason Orendorff
735dca6f1b Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : 68cd15627a62728061e663706cb1ff8c7bb292a0
2015-03-01 13:16:19 -06:00
Ryan VanderMeulen
d6595d8f5d Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
David Anderson
c6bf2fb124 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
Bobby Holley
4e510c7517 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 22:02:43 -07:00
Bobby Holley
e0a0c3cf07 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 22:02:36 -07:00
Bobby Holley
01abf4455d Bug 1136827 - Call OnAudioSinkError on state machine thread. r=jww 2015-03-24 22:02:02 -07:00
Geoff Brown
eabca9b9fb Bug 1140148 - manifest updates for mochitest-gl on Android 4.3; r=jgilbert 2015-03-24 20:31:48 -06:00
JW Wang
a4f6051da3 Bug 1146733 - remove PlayFragmented() from eme.js r=ediwn. 2015-03-25 09:55:20 +08:00
Chris Pearce
c3edca1d79 Bug 1147226 - Ensure media.eme.mse-only is honoured in HTMLMediaElement::MetadataLoaded(). r=edwin 2015-03-25 15:00:26 +13:00
Wes Kocher
af7c4c6606 Merge m-c to inbound a=merge CLOSED TREE 2015-03-24 18:35:30 -07:00
Wes Kocher
82959e5df3 Backed out 2 changesets (bug 1136827) for crashtest assertions CLOSED TREE
Backed out changeset 998f44ed19fb (bug 1136827)
Backed out changeset 3eb419228c1f (bug 1136827)
2015-03-24 17:21:21 -07:00
Jeff Gilbert
b5782d168a Bug 1143924 - Fix generated files. - r=kamidphish 2015-03-24 16:03:59 -07:00
Jeff Gilbert
28bb60187d Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07:00
Steven Michaud
85d045aa93 Bug 1137229 - Keyboard input can stop working in a window. r=smaug 2015-03-24 17:02:52 -05:00
Bobby Holley
bb1cc46dff 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
6aa248ee60 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
d5f5272884 Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
0edd0b1707 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
d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Dan Glastonbury
d3ddaad9a5 Bug 1145492 - Update FramebufferTexture2D to allow binding mipmaps. r=jgilbert 2015-03-24 10:41:33 +10:00
Dan Glastonbury
be5c4501c6 Bug 1145501 - Extend validation of BufferData usage. r=jgilbert 2015-03-24 10:41:24 +10:00
Brian Birtles
511c419852 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
988481e564 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
f00da8e1e6 Bug 1109390 part 1 - Add tests for getting the startTime; r=jwatt 2015-03-24 09:21:07 +09:00
Bobby Holley
16efc5f196 Bug 1145203 - Unify FlushDecoding, ResetDecode, and ResetPlayback into a single Reset() method. r=mattwoodrow 2015-03-23 17:07:10 -07:00
Bobby Holley
1e549f9ca5 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
8794504c9f Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Wes Kocher
14ef0e0f7d Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE
--HG--
extra : amend_source : 4d2becbe491a36feec46af2b418e124a32f0be87
2015-03-23 16:06:32 -07:00
Wes Kocher
99ed20cdcb Backed out changeset 6cb38e697216 (bug 1144409) 2015-03-23 16:06:31 -07:00
Wes Kocher
4563c148db Backed out changeset c58f5ffb38e0 (bug 1142379) 2015-03-23 16:06:30 -07:00
Wes Kocher
03bb94525b Backed out changeset f5a026d98faa (bug 1138294) 2015-03-23 16:06:28 -07:00
Nikhil Marathe
8f230527ff Bug 1136200 - Verify request type is not no-cors if response is opaque. r=jdm
--HG--
extra : transplant_source : %C2%95%89%0Az%29%9D%F8F%85%E1%83%C1%0D%25%9F%1Ck%3B%28
2015-03-17 08:47:03 -07:00
Nikhil Marathe
7a7e74fe7c Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal
renames fetch to fetchXHR() since fetch() is now a superpower.

--HG--
extra : transplant_source : %DA%00%E38%A6%0Fw%DA%26%D3%A9q%AE%A6%FE%BA%81%AA%EEB
2015-03-17 08:47:02 -07:00
Nikhil Marathe
5e45307f84 Bug 1146059 - Remove Response.finalURL. r=ehsan
--HG--
extra : rebase_source : 6b22c835c2599d20d625b7b0706c625b06080b23
2015-03-21 17:49:29 -07:00
Terrence Cole
dd4ddb761b Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8
--HG--
extra : rebase_source : b2e435ebf64ec0bac42af7a8f0968578599fd67b
2015-02-25 13:11:37 -08:00
Chris Double
7b81062b52 Bug 1145004 - Fix MSE Telemetry VIDEO_MSE_BUFFERING_COUNT - r=cpearce 2015-03-25 10:37:37 +13:00
Ehsan Akhgari
5bec74a407 Remove the unneeded variable, no bug, DONTBUILD 2015-03-24 17:35:16 -04:00
Mason Chang
ae4567cd01 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
b5a110ac65 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
ff8405ed01 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
Jan-Ivar Bruaroey
7d79ddc696 Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup 2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey
6bea0d068b Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey
08e703b65e Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Jason Orendorff
2e5f991fe0 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : c40a50b3522e8306d68d8114fe576d4f43006d82
2015-02-17 11:58:43 -06:00
Shian-Yow Wu
d5acb1e8d0 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
93b76062f3 Bug 1135541 - Make crash reporting work for EME CDMs - r=cpearce 2015-03-26 19:55:30 +13:00
Chris Pearce
56ad29a9d5 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
39e8beae91 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
c9f30719f5 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00
Jean-Yves Avenard
b5404f62e0 Bug 1145815: Do not report discontinuities less than 35ms. r=k17e
--HG--
extra : rebase_source : eb8fa50d7036ceae23756e10d0ad815605aae3f8
2015-03-25 22:32:21 +11:00
Shih-Chiang Chien
3924973b17 Bug 1144715 - Socket might be closed by GC before lower layer failure. r=khuey
CLOSED TREE

--HG--
extra : amend_source : 4c2833e4e3c160abaf325e8ab7e4a9fe9a6555b6
2015-03-23 20:06:00 -04:00
Ehsan Akhgari
6115fab25e 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
bb4f610dac Bug 1147184 - Extend the tests for Cache.put; r=bkelly 2015-03-25 21:22:18 -04:00
Bobby Holley
086ebaa957 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
ec38dc1002 Bug 852821 - Disable test on b2g. r=me 2015-03-25 17:46:25 -07:00
Jason Orendorff
db04193771 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : 92dd18b10e100e7e2537c151a21d4f3be37e1c08
2015-02-17 11:58:43 -06:00
Ben Turner
ad62e4a206 Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv. 2015-02-16 09:48:14 -08:00
Ben Turner
98536af974 Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
--HG--
extra : rebase_source : 9cba58701e0f6bf4c3d6deb784b5c8340fd895ac
2015-02-16 09:48:14 -08:00
Bobby Holley
9487e1743a 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
40a80320a6 Bug 1136873 - Use promises for metadata decoding. r=mattwoodrow 2015-03-23 13:17:51 -07:00
Ehsan Akhgari
9dbf30b541 Bug 1110814 follow-up: Fix a typo in order to fix the test failures 2015-03-22 10:35:29 -04:00
David Anderson
fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
Ben Kelly
275609c516 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
e4e847d142 Bug 1110814 P0 Fully initialize Response before resolve Fetch promise. r=nsm 2015-03-22 02:52:12 -04:00
Ehsan Akhgari
f0bc72be6b Bug 1145792 - Add a test for the Cache.keys method; r=bkelly 2015-03-21 20:13:33 -04:00
Ehsan Akhgari
d9a8b3d4a8 Bug 1145445 - Add a test for CacheStorage; r=bkelly 2015-03-21 20:11:24 -04:00
Ehsan Akhgari
0efffdf2eb 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
69cd0a74b8 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
734a1b3adf 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
a40740e8bf 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
6cb4d8af01 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
fc3b1c8b70 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
fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
68e0914567 Merge b-i to m-c, a=merge 2015-03-21 12:35:46 -07:00
Daniel Holbert
0c20ebd00d 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
cbbab0fd2a Merge m-c to b2ginbound a=merge CLOSED TREE 2015-03-20 18:02:20 -07:00
Wes Kocher
82d1b768c5 Merge b2ginbound to m-c a=merge CLOSED TREE 2015-03-20 17:51:17 -07:00
Ryan VanderMeulen
d48db7924b Backed out changeset c4915d92b0c5 (bug 1113471) for test_osfile_back.xul failures. 2015-03-20 14:33:54 -04:00
Wes Kocher
14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
ae0501d169 Backed out changeset 38c35f7b2b7d (bug 1132072) for frequent bc3 failures CLOSED TREE 2015-03-20 17:17:57 -07:00
Wes Kocher
571bb95717 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
5e68488fa0 Bug 1145816 - Disable test_mediaStreamAudioDestinationNode.html as well for frequent timeouts CLOSED TREE 2015-03-20 16:22:05 -07:00
Ryan VanderMeulen
edd40992cc 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
84463ac14b Bug 1143223 - Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Ryan VanderMeulen
aa74b23d94 Backed out changesets 992c504934d3 and 5832c2042614 (bug 1086684) for LSAN leaks.
CLOSED TREE

--HG--
extra : rebase_source : 1bada522a99be6a058723cbe24323dbaca27f8c9
2015-03-20 17:06:27 -04:00
Ryan VanderMeulen
befdfa6794 Backed out changeset fd0834bbfd3c (bug 1143223) for making test_mediaElementAudioSourceNodePassThrough.html almost perma-timeout on Android 4.0.
--HG--
extra : rebase_source : b315a864686e99bd22bd3ef0e842c5236a92cfa6
2015-03-20 17:03:27 -04:00
Ehsan Akhgari
146e202730 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
ab018a486f 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
b453e2325e Bug 1086684 - Add a mochitest. r=mconley 2015-03-20 12:04:58 -07:00
Blake Kaplan
fc6395db41 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
e26a687773 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
2cbf53b22f Bug 1145394 - Remove exec bit on js files (r=fabrice,gavin) 2015-03-20 11:57:38 -07:00
Fabrice Desré
ccfe46fbe6 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Kyle Huey
04d1520cc7 No bug: fix typo. DONTBUILD 2015-03-21 10:43:15 -07:00
Ehsan Akhgari
3684011d00 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
883849ee32 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
ba42041634 Bug 1144089 - Map AVRCP attribute ID correctly. r=tzimmermann 2015-03-19 02:22:00 -04:00
Shawn Huang
528865edc6 Bug 1142408 - Add data length parameter for Register Notification Response Command. r=tzimmermann 2015-03-18 02:52:00 -04:00
Bill McCloskey
71d65e32e7 Bug 1132072 - Handle RequestNotifyLayerTreeReady when RenderFrameParent not ready (r=dvander) 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Byron Campen [:bwc]
3d398312bf Bug 1141230: Stop using getLocalStreams() to drive checking of various things in the mochitest suite. r=jib
--HG--
extra : rebase_source : 27e7d4f3d86d33a1c4e046fa0e677c4d3bccc247
2015-03-12 17:30:12 -07:00
Ben Kelly
63da054263 Bug 1143223 Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Jeff Gilbert
5da1c39c61 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Carsten "Tomcat" Book
a5db06eaa0 Backed out changeset 9a5f8a7ad479 (bug 1145057) for B2G L Emulator opt/debug bustage on a CLOSED TREE
--HG--
extra : rebase_source : b64ab76c00e9499dc6ed15d33f8d928135e6bc65
2015-03-20 16:56:58 +01:00
Timur Valeev
19d6b48603 Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
ON CLOSED TREE
Fix bug number

--HG--
extra : rebase_source : 98ca84186a9840a8827aa8da8a217badffc856c2
extra : histedit_source : ae3613ff672e71d340587c74d511e2beb04030f8
2015-03-20 08:44:20 -07:00
Nikhil Marathe
a6bcf43dcd Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE
--HG--
extra : rebase_source : ce58377252069674fd30d3c9ebca91c8d4aca780
extra : histedit_source : 4af47c8f4abf6ba8c234547e47c99a737d3e4771
2015-03-20 08:43:59 -07:00
Timur Valeev
4a14abec30 Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
--HG--
extra : rebase_source : 1df0b695586ff6273e7e5ded032c2daa3d5e1e31
2015-03-18 06:17:11 +03:00
Jan-Ivar Bruaroey
e9cc1b61ab Bug 1145403 - Don't open MediaManager on shutdown. r=jesup 2015-03-19 18:43:25 -04:00
Alastor Wu
bb8b9b94f4 Bug 1089526 - Change speaker state. r=baku 2015-02-16 10:50:56 +08:00
Alastor Wu
83b72f4ab3 Bug 1089526 - Correct function name. r=baku 2015-02-16 18:29:10 +08:00
Alexandre Lissy
77d1e01b3c Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Alexandre Lissy
16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Wes Kocher
a525293b92 Merge m-c to inbound a=merge CLOSED TREE 2015-03-19 19:30:20 -07:00
Wes Kocher
e974133aa5 Merge b2ginbound to m-c a=merge CLOSED TREE 2015-03-19 19:23:58 -07:00
Ryan VanderMeulen
30a9149d8b 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
8c752250b5 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
27a62e52c8 Backed out changeset 71357797bf19 (bug 1140148) for mochitest-gl harness bustage.
CLOSED TREE
2015-03-19 13:44:51 -04:00
Fabrice Desré
1c219c3073 Bug 1142758 - Use the getLocalizedValue language when falling back to manifest values r=ferjm 2015-03-19 10:06:32 -07:00
Geoff Brown
854d91f6c7 Bug 1140148 - Manifest updates for mochitest-gl on Android 4.3; r=jgilbert 2015-03-19 11:00:59 -06:00
Carsten "Tomcat" Book
903d3e15d5 Merge mozilla-central to b2g-inbound 2015-03-19 14:18:10 +01:00
Phil Ringnalda
24910d5fbd 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
0400bc353a Back out 59fd15407a79 (bug 1142336) for shutdown hangs
CLOSED TREE
2015-03-18 20:38:43 -07:00
Jeff Gilbert
48d0e38e0b Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-18 19:55:44 -07:00
Tom Schuster
2de182147c Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past 2015-03-19 17:42:15 +01:00
Boris Zbarsky
58ae84cfe1 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
3d34e65906 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
dc24477d79 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
d0ebde3bb7 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
41e04c02b0 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
810adeb74f Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Bill McCloskey
711faea6c7 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
fdaed2c4d6 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
ed6d55e8d9 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
c44bd7e32b Bug 1143596 - Part 2: Re-write with Promise. r=echen 2015-03-17 14:35:31 +08:00
Matt Woodrow
bfd6201948 Bug 1145029 - Disable DXVA for 4k videos on AMD hardware since it performs poorly. r=jya
--HG--
extra : rebase_source : b2b686f7b6774fb04766b47133299c78061793b5
2015-03-19 22:01:47 +13:00
Jan-Ivar Bruaroey
d9836cc0ca Bug 1144984 - add missing includes in MediaTimer.cpp. r=bobbyholley 2015-03-18 21:21:15 -04:00
Ehsan Akhgari
c10f1ac2e6 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
2515f140bb Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 10:58:00 +01:00
Ehsan Akhgari
6d29d6c974 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
88d592058a Bug 1143562. Part2 - only init |mStorageBaseDir| in the chrome process. r=cpearce 2015-03-18 19:15:00 +01:00
Ehsan Akhgari
1e0c4573e6 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
b92e929c3e 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
8734ffb7e3 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
80b1b90328 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
ccbf6c4ca9 Bug 1143596 - Part 1: Provide correct test number in Brazil format. r=echen 2015-03-16 16:59:58 +08:00
Ben Francis
77ff8e4486 Bug 1087469 - Add support for a start_url property in app manifests r=fabrice 2015-03-18 21:25:51 -07:00
Wes Kocher
7be54b949f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Wes Kocher
3bba7718ed Merge fx-team to m-c a=merge 2015-03-18 15:38:20 -07:00
Gregor Wagner
fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Edgar Chen
15c231a22b 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
7d36d42de4 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
2d62092c4f Bug 1143628 - Part 1: Remove wrapDomRequestAsPromise defined in MobileMessage marionette test. r=bevis 2015-03-17 12:00:20 +08:00
Thomas Zimmermann
8a7c1130d3 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
00203bbd7a Bug 1128505 - Preload Webapps.js for faster mozApps instantiation. r=fabrice 2015-03-18 11:40:29 +08:00
Carsten "Tomcat" Book
47fe95d629 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
081c02fb8a Bug 1141081: Ensure nsPluginInstanceOwner::Destroy is called before returning from failed plugin instantiation; r=jimm
--HG--
extra : rebase_source : 066ea5acbfdb2df1976fa12675cc267d1f417564
2015-03-17 19:44:34 -06:00
Bobby Holley
c64dbd1ed9 Bug 1144487 - Implement AbstractThread. r=mattwoodrow 2015-03-18 08:25:55 -07:00
Alexandre Poirot
b47e33bec1 Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz
--HG--
extra : rebase_source : cadf747b30735e845e15f7a6f4a30bcae591f4e0
2015-03-17 07:13:00 -04:00
Catalin Badea
7774d591e4 Bug 982726 follow-up: Add exempt from worker limit pref to a test. 2015-03-18 16:56:47 +02:00
Catalin Badea
d15c1bbafb Bug 982726 - Test the number of clients returned by matchAll. r=nsm 2015-03-18 16:47:17 +02:00
L. David Baron
82ad97d447 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
8f015c4370 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
065aeaa603 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
c7893519a9 Bug 1134462 - Cleanup Promise usage in fetch test SW. r=jdm
--HG--
extra : rebase_source : c74bc35e4c675e8ece5b43790e93f727888c5b5d
2015-03-17 08:48:31 -07:00
Nikhil Marathe
b470a6df88 Bug 1134462 - allow null body. r=jdm
--HG--
extra : rebase_source : 35d79b8d3701e993f284dcafe0e78fe08ef316db
2015-03-17 08:48:30 -07:00
Nikhil Marathe
191be106d4 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm
--HG--
extra : rebase_source : 6bfb181427869bb99a0812608e75b6311f3dfb97
2015-03-17 08:48:30 -07:00
Sylvestre Ledru
57e754e11c Bug 1144176 - Remove a useless declaration. r=bholley 2015-03-18 14:10:08 +01:00
Carsten "Tomcat" Book
9ad72a9c31 Merge mozilla-central to mozilla-inbound 2015-03-18 13:53:54 +01:00
Carsten "Tomcat" Book
3c57b5be0b merge mozilla-inbound to mozilla-central a=merge 2015-03-18 13:51:53 +01:00
Nigel Babu
0a587c5cdd Backed out changeset 05850dac2882 (bug 1143562) for B2G Emulator ICS M2 bustage CLOSED TREE 2015-03-18 12:20:57 +05:30
Nigel Babu
2e6821328d Backed out changeset dd13fdf7b284 (bug 1144236) for bustage CLOSED TREE
--HG--
extra : amend_source : 3a70fa61052cbdaa1df2a1656880717965d1165e
2015-03-18 12:05:33 +05:30
Nigel Babu
47340db7f0 Backed out changeset 96c20db25b6b (bug 1144214) for Android M4 bustage CLOSED TREE 2015-03-18 11:48:41 +05:30
Ehsan Akhgari
e73318de31 Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 23:56:32 -04:00
Ehsan Akhgari
b48d53e850 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
6e615ff1c0 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
09f736c2cc Bug 1143987: Use SharedDecoderManager with EME PDM. r=cpearce
--HG--
extra : rebase_source : cf3c5fff87bdca3b55d10e41d5b4f44678253c72
2015-03-18 14:10:59 +11:00
Jean-Yves Avenard
c9bc9c96bd Bug 1128332: Part3. Re-attempt to decode from last failed position. r=mattwoodrow
--HG--
extra : rebase_source : e583e0255e21c32f5d35a97d17f4dec92e2ba10c
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
44a39a5316 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.

--HG--
extra : rebase_source : 0bc4f1a3a2eb389c6f4735614a1d4fdf0c850f49
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
9b95bf6cfe Bug 1128332: Part1. Add useful informations to logging. r=mattwoodrow
--HG--
extra : rebase_source : ace658fb62ed051b63852c7f991c0a603e83d9c3
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
0e069551e7 Bug 1143586: Part1. Be more relaxed when parsing h264 codecs' levels. r=cpearce
--HG--
extra : rebase_source : f1dd779a298894ae81cbae62d96396a2c41dc0db
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
77358caae1 Bug 1143514: Update mochitest. r=cajbir
sourcebuffer is added to ms.activeSourceBuffers only once the first init
segment has been appended.

--HG--
extra : rebase_source : fe1bfedce8aa377914be6ea99579e3267da760d5
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
2bc6b14368 Bug 1143514: Part1. Only add sourcebuffer to ActiveSourceBuffers once active. r=cajbir
--HG--
extra : rebase_source : 766249adc3b7a3cbb4aa63c24aaefbe855c121fd
2015-03-18 14:10:56 +11:00
Ryan VanderMeulen
f5eb4d6f87 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen
0acc56d335 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-03-17 14:22:40 -04:00
Ryan VanderMeulen
4d6ea9965d Backed out changeset dccbdda5be64 (bug 1124409) for Linux mochitest-e10s permafail.
CLOSED TREE
2015-03-17 14:12:39 -04:00
Nikhil Marathe
f01e92414c 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.

--HG--
extra : rebase_source : a959877e9fc65ae177dfd480258d164d7b2e6af5
2015-03-17 08:47:04 -07:00
Nikhil Marathe
011987e024 Bug 1143155 - Filtered response stores internal response and allows access to headers. r=bkelly
--HG--
extra : rebase_source : 3fcc1d7de76e679f5055382af1159f004dd5372c
2015-03-17 08:47:01 -07:00
Nikhil Marathe
ac84e104df Bug 1143857 - Add FormData serialize support to Fetch API. r=ehsan
--HG--
extra : rebase_source : e971be3409e5c8de982e8ffcfcc87dcebb4c3867
2015-03-17 08:32:04 -07:00
Ehsan Akhgari
eaf970dc6a 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
e250f1ab8f 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
2197b8f49e 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
082fd9cd7f 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
c4a0036a5d 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
c305b03975 Merge mozilla-central to mozilla-inbound 2015-03-17 11:49:16 +01:00
Carsten "Tomcat" Book
0503c0d6df merge mozilla-inbound to mozilla-central a=merge 2015-03-17 11:36:52 +01:00
Eddy Bruël
2d0841a4c7 Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey 2015-03-17 11:15:19 +01:00
Brian Birtles
807e40e6b9 Bug 1113425 part 4 - Enable test_deferred_start.html on all platforms; r=mattwoodrow 2015-03-17 18:38:12 +09:00
Brian Birtles
e3f0c2f97e 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
80be8bcd01 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
e21abfe964 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
029f9b8000 Backed out changeset 98bc69015608 (bug 1139721) for frequent b2g mochitest-5 failures 2015-03-16 14:16:02 -07:00
Dan Glastonbury
0336d90ab9 Bug 1124996 - Remove expected fail on OSX 10.10. r=jgilbert
--HG--
extra : rebase_source : ed2750eaef23e749683cb2831315dd96cc08a116
2015-03-16 18:30:23 +10:00
Samael Wang
c197b32f36 Bug 1138841 - Part 3: Add an XPCShell and a Marionette test case for encoding and decoding examination, respectively. r=btseng
--HG--
extra : rebase_source : 2b52ec77288115d4434e30a65accccc451829c3c
extra : histedit_source : fee6e436e2a68f521a7edabea65341daece62e27
2015-03-16 15:44:34 +08:00
Robert O'Callahan
fc9c32b6a2 Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats
--HG--
extra : rebase_source : a80f1aa79a94ec48342b127fae35022eb3978835
2015-03-18 02:04:32 +13:00
Andrew Osmond
2b61716ce9 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
95d9f5aead Bug 1136514 - Add ReadRemoteRssi in GATT client. f=jocelyn, r=btian, r=mrbkap 2015-03-16 16:55:50 +08:00
Ehsan Akhgari
babb2a95d5 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
23fec2f904 Bug 1128064: Check for null mContent in nsPluginInstanceOwner::GetDocument; r=jimm
--HG--
extra : rebase_source : 0687888735ab5065c927c16f8b18a1b100a632ab
2015-03-16 15:11:13 -06:00
Tooru Fujisawa
de4b4e39c8 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
3a0d622bec 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
--HG--
extra : rebase_source : b83c035e629c95ff2e284c27790487a325acacfd
extra : histedit_source : 33847f7f1c7d333a47abc1d8f2c95073dc9030f2
2015-03-06 18:09:08 +08:00
Samael Wang
70aab881b1 Bug 1138841 - Part 1: Fix PDU_NL_LOCKING_SHIFT_TABLES in ril_consts.js. r=btseng
--HG--
extra : rebase_source : cc228d6fdbb99c2908730b171498191db1c6057d
extra : histedit_source : 4f770f21c2cb0136a68a2fc3d0e7d5ce54f8ec17
2015-03-06 18:09:08 +08:00
Milan Sreckovic
26bb8ecd4d Bug 1129147 - Part 2. Path option to addHitRegion. r=ehsan r=gw280 2015-03-02 15:33:28 -05:00
Milan Sreckovic
5fa1db7949 Bug 1129147 - Part 1. Take CanvasPath into a separate file, to avoid circular dependency. r=roc
--HG--
rename : dom/canvas/CanvasRenderingContext2D.h => dom/canvas/CanvasPath.h
2015-03-03 10:57:51 -05:00
Cameron McCormack
df118d4a47 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
0ce684afcd Bug 1001343 - Part 2: A new testcase. r=aknow 2015-03-02 00:08:00 -05:00
Ben Hsu
e1ea00b970 Bug 1001343 - Part 1: Create dialSTK() (head.js). r=aknow 2015-03-08 22:26:00 -04:00
Ben Tian
6cff9b7784 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
a8fa9e2011 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
1c5a5a5ed2 Bug 1142681 - Let CreateECParamsForCurve() assert a non-null arena parameter r=keeler 2015-03-13 22:10:23 +01:00
Chris Peterson
cdae3422b8 Bug 1142863 - Remove unused struct RemoveQuotaInfo in dom/quota/QuotaManager.cpp. r=janv
--HG--
extra : rebase_source : bcc16e8308db9ada02c360aa5e8b64ab979d6f4f
2015-03-12 21:04:07 -07:00
Cameron McCormack
26b0645b4a Bug 1123523 - Followup build fix. (CLOSED TREE) 2015-03-14 16:55:37 +11:00
Boris Zbarsky
fe0f33e72f 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
c8f4387af1 Bug 1123523 - Part 10: Tests. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack
9d635d78ad 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
d648fe467f 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
89fb2d451f Bug 1123523 - Part 7: Add utility functions to notify registered nsIAnimationObservers. r=smaug 2015-03-14 16:34:40 +11:00
Cameron McCormack
d068522170 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
3496ca27f3 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
7edb0d374f 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
b4ce1a289c 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
2d8d999d5c 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
fcd38bba49 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
52dea62a7d 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
ab42a2ec61 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
47a098b474 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
acab4ce118 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
d38aa64d52 Backed out changeset b8d2fd1bb7f5 (bug 1142269) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:18 -07:00
Wes Kocher
fe556f9355 Backed out changeset 1bd38b652695 (bug 1142790) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:08 -07:00
Ryan VanderMeulen
9cf01b9c13 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen
29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Ryan VanderMeulen
40949b7eb8 Merge b2g-inbound to m-c. a=merge 2015-03-13 16:03:25 -04:00
Ryan VanderMeulen
3508f4aa52 Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Tom Tromey
55b3f28580 Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap 2015-03-13 12:05:57 -07:00
Ehsan Akhgari
230f9e920c 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
b6a46d94b1 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
9693cea624 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
9cdf67372b 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
1332a683d5 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
d5b78213fd 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
d5840b488d 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
58b1ce9c4b 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
08a57b8a9e 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
eed5a8dba4 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
43c73c2bcf 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
c27c8bdddb Bug 1135655 - bump up tab sharing dimension defaults to match screensharing r=jesup 2015-03-13 12:21:20 -04:00
Ryan VanderMeulen
68389cfd48 Merge m-c to inbound. a=merge 2015-03-13 12:18:07 -04:00
Carsten "Tomcat" Book
276e082315 Merge mozilla-central to b2g-inbound 2015-03-13 14:13:54 +01:00
Andrew Sutherland
f11daae655 Bug 947167 - Fix/improve debugging of test_downloads_pause_resume.html intermittent. r=aus 2015-03-12 22:27:46 -04:00
Dan Glastonbury
ff4015141e Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE_FUNC handling. r=jgilbert 2015-03-13 16:16:05 +10:00
Phil Ringnalda
345a4eca93 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
412eb673d2 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
1ef0fc9d78 Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg 2015-03-13 15:02:49 +13:00
Boris Zbarsky
820353b345 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
0563f41ef7 Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow 2015-03-12 17:54:35 -07:00
Bobby Holley
de5342cf9d Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-12 17:52:51 -07:00
Bobby Holley
ab44849fc5 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
17b0191dec 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
f97a2b3f70 Merge m-c to fx-team. a=merge 2015-03-13 12:21:20 -04:00
Ganesh Sahukari
4b15c2aa09 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
Nikhil Marathe
9ce4ae6f50 Bug 1080752 - Hold wakelock when attempting to connect to push server. r=dougt
--HG--
extra : rebase_source : 584f9f681262a74ed0149f5cefbcc5afccdeb04e
2015-03-09 15:40:04 -07:00
Bill McCloskey
5d4e83e61d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Bill McCloskey
56bd1b2a69 Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-13 08:24:14 -07:00
Thomas Zimmermann
1ce878358e Bug 1109592 - Listen for connections from NFC daemon. r=allstars.chh
This patch inverses the connection setup procedure between Gecko
and nfcd. Gecko now installs a listen socket and starts nfcd from
the init scripts. Nfcd establishes the connection by connecting
to Gecko's socket.

As a side effect of this patch, nfcd only runs while NFC is switched
on. This saves ~1.6 MiB os memory with contemporary NFC drivers on
flame-kk.
2015-03-11 03:38:00 -04:00
Thomas Zimmermann
7c78ff1393 Bug 1109592 - Forward socket state from |NfcSocketListener|. r=allstars.chh
This patch allows to handle changes to the socket state at a higher
level than |NfcSocketListener|.
2015-03-09 03:27:00 -04:00
Thomas Zimmermann
cf680688ae Bug 1109592 - Only open connection to nfcd while NFC is switched on. r=allstars.chh
With this patch Gecko only creates a connection to nfcd while NFC is
switched on, and closes the connection after NFC has been switched off.

While the connection is being opened, commands to nfcd are held in a
waiting queue. Gecko flushes the queue after it connected successfully
to nfcd.

As a side effect of this patch, the NFC thread only exists while NFC
is switched on.
2015-03-12 07:43:00 -04:00
Edgar Chen
5188f3ea13 Bug 1142495 - Fix ICC build error on emulator L. r=hsinyi 2015-03-12 23:55:50 +08:00
Becker Hsieh
3d72319a6b Bug 1121855 - Fix camera crash. r=aosmond 2015-03-12 20:29:00 -04:00
Ryan VanderMeulen
ee67ad0d8d Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ryan VanderMeulen
7305a3d9d6 Merge fx-team to m-c. a=merge 2015-03-12 17:55:19 -04:00
Ryan VanderMeulen
5b806ff5b4 Merge b2g-inbound to m-c. a=merge 2015-03-12 16:50:07 -04:00
Thomas Zimmermann
69e1d93253 Bug 1142132: Move helper classes of OPP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving OPP helpers into
the namespace of |BluetoothOPPManager| fixes this problem for OPP.
2015-03-12 13:07:32 +01:00
Thomas Zimmermann
41cc33c0c2 Bug 1142132: Move helper classes of A2DP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving A2DP helpers into
the namespace of |BluetoothA2dpManager| fixes this problem for A2DP.
2015-03-12 13:07:32 +01:00
Thomas Zimmermann
888dc86930 Bug 1142132: Move helper classes of HFP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving HFP helpers into
the namespace of |BluetoothHfpManager| fixes this problem for HFP.
2015-03-12 13:07:32 +01:00
Carsten "Tomcat" Book
205e995596 merge b2g-inbound to mozilla-central a=merge 2015-03-12 12:05:07 +01:00
Carsten "Tomcat" Book
fb7ccb2edc merge fx-team to mozilla-central a=merge 2015-03-12 10:17:35 +01:00
Fabrice Desré
7eadc238db Backout c7c68c4389d6 (bug 1125713) for gaia app startup regression r=me 2015-03-11 22:50:18 -07:00
Wes Kocher
42e0c8a496 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-11 19:09:10 -07:00
Wes Kocher
b7ae2e9516 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 243776ce01fcd38161dd94411e0bc1cbfb2f7cb2
2015-03-11 19:06:00 -07:00
Jeff Gilbert
39cd4ea833 Bug 1128001 - Workaround ANGLE DEPTH16 being DEPTH24_STENCIL8. - r=kamidphish 2015-03-11 18:23:56 -07:00
Ryan VanderMeulen
97acbd9776 Merge m-c to b2g-inbound. a=merge 2015-03-11 16:03:39 -04:00
Ehsan Akhgari
3d44a57364 Bug 1142195 - Remove some unused class declarations in the DOM Cache code; r=bkelly 2015-03-11 16:46:15 -04:00
Ehsan Akhgari
09a624cdf5 Bug 1140658 - Part 8: Disable the service worker part of these tests on b2g while bug 1137683 gets fixed; r=bkelly 2015-03-11 16:46:04 -04:00
Ben Kelly
a31b9f226c Bug 1140658 - Part 7: Close underlying file stream in ReadStream before reporting closed; r=ehsan 2015-03-11 16:45:35 -04:00