Commit Graph

34404 Commits

Author SHA1 Message Date
JW Wang
f20280713b Bug 1139270 - mark kGMPOutputDownscaled keys able to decrypt. r=cpearce 2015-03-04 22:26:23 +13:00
Jean-Yves Avenard
eabb2adcce Bug 1138922: Fix build bustage. r=mattwoodrow 2015-03-04 18:53:15 +11:00
Ehsan Akhgari
c5cbd265c3 Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper 2015-03-04 01:31:08 -05:00
Ehsan Akhgari
0857b0109c Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky 2015-03-04 01:30:47 -05:00
Ehsan Akhgari
08c9b036ed Bug 1125963 - Part 2: Rename mPreFormatted to mPreFormattedMail in order to clarify the meaning of this member
This member is set to true when Gecko detects the DOM structure
created by the Thunderbird mail code.
2015-03-04 00:54:40 -05:00
Ehsan Akhgari
3cf3794589 Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)

It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
JW Wang
4c39b2596b Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin. 2015-03-04 10:04:33 +08:00
Boris Zbarsky
8346b9dfaf Bug 928336. Make defining unforgeable properties on objects faster by just copying them from an unforgeable holder object. r=peterv 2015-03-03 21:01:58 -05:00
Boris Zbarsky
b3a7aa44f6 Bug 1137591 part 2. Throw if someone does Cu.importGlobalProperties in a Window scope. r=bholley 2015-03-03 21:01:58 -05:00
Wes Kocher
0de76a4c17 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-03 17:02:21 -08:00
Wes Kocher
01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Carsten "Tomcat" Book
e8beb2e4be merge mozilla-inbound to mozilla-central a=merge 2015-03-03 13:54:33 +01:00
Matt Woodrow
3e940d4779 Bug 1131638 - Followup to fix bustage. CLOSED TREE 2015-03-03 18:31:20 +13:00
Jean-Yves Avenard
9916686463 Bug 1137100: Don't skip audio samples with a negative presentation time. r=cpearce
This allows for having the same decoding behavior across all platforms.
2015-03-03 16:29:28 +11:00
Anthony Jones
69c0b09ad3 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Anthony Jones
c4f6a5ccbb Bug 1138253 - Clean up AutoNotifyDecoded; r=cpearce 2015-03-03 17:46:46 +13:00
Matt Woodrow
1eb445f8ba Bug 1138260 - Add typed Microseconds class and use it for the range removal algorithm. r=jya,kinetik 2015-03-03 17:38:45 +13:00
Gregor Wagner
57b2721362 Bug 1138571 - Update PhonenumberJS Metadata. r=fabrice 2015-03-02 13:18:10 -08:00
Wes Kocher
a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Ryan VanderMeulen
2bb894faa2 Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE. 2015-03-02 11:58:12 -05:00
Jon Coppeard
a451fdfd83 Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Nigel Babu
16d71fc156 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
Ben Tian
52fb401150 Bug 1137601 - Fire onadapterremoved before onattributechanged in BluetoothManager, f=jocelyn, r=shuang 2015-02-27 15:32:30 +08:00
Morris Tseng
e75a6e55d6 Bug 1125045 - yAxisVisible should compare with offset.height instead of pos.width. r=xyuan 2015-02-26 01:01:00 +01:00
Anthony Jones
ad3b3d35da Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Bobby Holley
8ecafb0e29 Bug 1135785 - Hoist some work onto the state machine thread and tighten down our assertions. r=cpearce 2015-03-01 19:33:53 -08:00
Bobby Holley
d7ab5a9b0f Bug 1135785 - Stop manually resetting mCurrentSeekTarget in MDSM::SeekCompleted and rely on the AutoSetOnScopeExit instead. r=cpearce
For some reason the current code is resetting it twice - once explicitly and
once with the AutoSetOnScopeExit. To make matters worse, we have a monitor drop
between the two. So when DecodeSeek runs on the decode task queue but SeekCompleted
runs on the state machine thread, we can start another DecodeSeek during the monitor
drop, and then clobber it with the AutoSeetOnScopeExit, causing us to hang.

This is a non-issue with the patches in bug 1135170, but necessary to make the
patches in this bug independently green.
2015-03-01 19:33:52 -08:00
Bobby Holley
8955631001 Bug 1135785 - Stop invoking StopPlayback in SetDormant. r=cpearce
This already gets incoded in the DECODER_STATE_DORMANT case of RunStateMachine,
which will run momentarily on the state machine thread. Doing this allows us to
avoid calling StopPlayback on the main thread.
2015-03-01 19:33:50 -08:00
Bobby Holley
ba77f2e511 Bug 1135785 - Return samples on state machine thread. r=cpearce
This is necessary because we're going to want to start disconnecting sample
and seek requests directly from the state machine thread, and the machinery
asserts that disconnection happens on the same thread as resolution.

More generally, this is the right thing to do architecturally, and will help
wean us off the monitor.
2015-03-01 19:33:49 -08:00
Bobby Holley
5173a29934 Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce
This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the
state machine thread in the next patch.
2015-03-01 19:33:48 -08:00
Bobby Holley
820ba52b21 Bug 1135785 - Make MediaTaskQueue::IsCurrentThreadIn actually do the right thing on release builds. r=cpearce
The current situation is really dangerous because it compiles on release builds,
but just lies. This bit me when I tried to use it for non-assertion purposes.

My reading of the reasoning for the current setup in bug 968016 is that we didn't
trust nsIEventTarget::IsCurrentThreadOn or thought it might be slow. But the
implementation of MediaTaskQueue::IsCurrentThreadIn doesn't actually use that, and
indeed currently does all of the work for this feature in release builds anyway.
2015-03-01 19:33:46 -08:00
Bobby Holley
206603a7ab Bug 1135785 - Introduce a 1-argument overload of ProxyMediaCall. r=cpearce 2015-03-01 19:33:45 -08:00
Bobby Holley
a0678bc6cb Bug 1138072 - Don't defer reading to a closed stream. r=roc
Other streams in the list bail out of the servicing loop if they're closed, so
we can wait indefinitely.
2015-03-01 19:33:44 -08:00
Chris Pearce
ab0da08c2f Bug 1138240 - Fail faster if a CDM tries to resolve a resolved promise. r=edwin 2015-03-02 14:13:47 +13:00
Jean-Yves Avenard
79e326a1c4 Bug 1137529: Prefer Apple's VDA hardware acceleration for Hi-Def videos. r=rillian
With some GPUs (such as Intel HD-x000), Apple VideoTool box provides poor
decoding speed, causing us to drop frames for most HD videos.
VDA is around 50 times faster on those machines (31ms average to decode a 4K
frame with VT, while 0.6ms average with VDA)
2015-03-02 10:48:28 +11:00
Jean-Yves Avenard
04ed53a51a Bug 1128397: Work around EOS detection in MSE. r=mattwoodrow
This attempts to handle video and audio sourcebuffer not having exactly the
same duration, so the ended event is properly fired.
2015-03-02 10:47:54 +11:00
Jean-Yves Avenard
454c64d2cd Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin 2015-02-27 11:31:46 +11:00
Chris Peterson
d95a7455e3 Bug 1137987 - Remove nonstandard let block from dom/downloads/tests. r=aus 2015-02-27 18:31:21 -08:00
Tooru Fujisawa
5630c8ae89 Bug 1108382 - Part 8: Do not use non-standard flag argument of String.prototype.replace in dom/payment/. r=fabrice 2015-03-01 09:51:33 +09:00
Tooru Fujisawa
345506b0a6 Bug 1108382 - Part 7: Do not use non-standard flag argument of String.prototype.replace in dom/mobileconnection/gonk/. r=echen 2015-03-01 09:51:33 +09:00
Tooru Fujisawa
b0d7ebd80f Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Alexander Surkov
ddc5be8ef1 Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Anthony Jones
b8da0abf2f Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Edwin Flores
19d0abeb47 Bug 1131392 - Restrict EME to MSE only - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
1937822f83 Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
ee5eb077e9 Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Christoph Kerschbaumer
ccaa5f9328 Bug 1111834 - CORS request after preflight should not follow 30x redirect (r=sicking) 2015-02-19 13:43:40 -08:00
Tim Taubert
9dccd5c5ae Backed out changeset 2ea14f386df2 (bug 1001691) 2015-03-03 19:13:23 +01:00
Tim Taubert
d100a5d70f Backed out changeset a6e627eff6a6 (bug 1001691) 2015-03-03 19:13:21 +01:00