Commit Graph

53284 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
1938c88013 Backed out changeset cd25be005e38 (bug 1289976) 2016-07-30 19:52:28 +02:00
Carsten "Tomcat" Book
a51910755e Backed out changeset f648be2df9ec (bug 1289976) 2016-07-30 19:52:27 +02:00
Carsten "Tomcat" Book
e880c3527f Backed out changeset 2931db85cc99 (bug 1289976) 2016-07-30 19:52:26 +02:00
Carsten "Tomcat" Book
1f40b92079 Backed out changeset ba01eb85da0a (bug 1289976) 2016-07-30 19:52:25 +02:00
Carsten "Tomcat" Book
fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Carsten "Tomcat" Book
3c40ac6f0b merge mozilla-inbound to mozilla-central a=merge 2016-07-30 16:20:57 +02:00
Mark Banner
8fb8a69d5c Bug 1287827 - Part 5. Remove Loop's special permissions for about:loopconversation from MediaManager. r=jib 2016-07-30 08:48:34 +01:00
Mark Banner
44327fb657 Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap 2016-07-30 08:48:33 +01:00
Mike Conley
d190976dae Bug 1287827 - Fix a race-y test_bug260264.html mochitest. r=mrbkap
In nsGlobalWindow, we have a static counter for how many popups we've seen
recently. We increment it and decrement it when popups open and close - although
the decrement only occurs once the DocShell is detached, which happens asynchronously.

The test uses a utility that returns Promises for window.open and window.close,
but it uses dom-window-destroyed for resolving close, which happens _before_ the
counter is decremented. The dom-window-destroyed observer queues a runnable which
resolves the Promise.

This means that the test is attempting to open windows before the windows from a
previous test have finished detaching their DocShells (and decrementing the counter),
which means that the attempts to open the window hit the popup limit, which blocks
the popups.

This test switches us to waiting for outer-window-destroyed instead, which gives us
a greater certainty that the decrement has occurred.

MozReview-Commit-ID: 3a7QzxelP0a
2016-07-30 08:48:26 +01:00
Boris Zbarsky
b5ee45e695 Bug 1290636. Expose iterator stuff on NodeList and DOMStringList. r=qdot 2016-07-30 01:00:18 -04:00
Boris Zbarsky
30fb9d7bd3 Bug 1290636. Fix some bugs in the way single-type (value) iterators are hooked up in the Web IDL bindings. r=qdot
There were two issues:

1) The keys/entries/values/forEach properties were being added no matater what
the value of the 'unforgeable' boolean was.  So we ended up spitting out
unforgeable versions of those, and this confused some Xray cases.

2) The number of args listed for forEach was wrong, which hit assertions in the
JS engine because the same self-hosted function was being instantiated with
different numbers of args from different places.
2016-07-30 01:00:12 -04:00
Boris Zbarsky
61e3a83a14 Bug 1290264. Update handling of '/' target origin of postMessage to spec change to use the incumbent global. r=bholley 2016-07-30 00:59:54 -04:00
JW Wang
1e61811c7e Bug 1289976. Part 10 - Remove the IsShutdown() check from MediaDecoder::UpdateDormantState(). r=kaku
1. It is called from DormantTimerExpired(). The timer is canceled in Shutdown().
2. It is called from NotifyOwnerActivityChanged() which happens before Shutdown().
3. It is called from Play() which happens before Shutdown().
4. It is called from Seek() which happens before Shutdown().

MozReview-Commit-ID: EnKHF61FBXf

--HG--
extra : rebase_source : 04df59b6722c8340e5163a00eb916442799cfcf1
2016-07-27 10:56:46 +08:00
JW Wang
62af9d2687 Bug 1289976. Part 9 - Remove the IsShutdown() check from MediaDecoder::StartDormantTimer(). r=kaku
We don't need to check IsShutdown() which is a subset of |mPlayState != PLAY_STATE_PAUSED && !IsEnded()|.

MozReview-Commit-ID: BjYoLOLuPfC

--HG--
extra : rebase_source : 0d04b30a8bf955faed4907f77f0da29e0ccc011d
2016-07-27 10:52:01 +08:00
JW Wang
661f07a5d4 Bug 1289976. Part 8 - Remove the IsShutdown() check from UpdateReadyState(). The callback is disconnected by the watch manager in Shutdown(). r=kaku
MozReview-Commit-ID: xVSWdj1Q0y

--HG--
extra : rebase_source : 948f622c399e1c072b4c15730a7a8c5fbd2ec696
2016-07-27 10:59:23 +08:00
JW Wang
7bdd2a6dd4 Bug 1289976. Part 7 - Remove the IsShutdown() check from MediaDecoder::Seek(). r=kaku
1. It is called from DurationChanged() which returns early when IsShutdown() is true.
2. It is called from Play() when IsEnded() is true.

MozReview-Commit-ID: Ixy5OMZHxIm

--HG--
extra : rebase_source : 4cd7229084c6af8b7123ee6c85156ef4932308f3
2016-07-27 10:49:14 +08:00
JW Wang
194e23bdb4 Bug 1289976. Part 6 - Remove the IsShutdown() check from MediaDecoder::RemoveMediaTracks(). r=kaku
1. It is called from ChangeState() when IsEnded() is true.
2. It is called from OnMetadataUpdate(). The callback is disconnected in Shutdown().

MozReview-Commit-ID: 8m4jtcl91hT

--HG--
extra : rebase_source : 0988128ec6d05f07ab7b072cc70a9c2970c829c5
2016-07-27 10:44:43 +08:00
JW Wang
c4b1ec5baf Bug 1289976. Part 5 - Remove the IsShutdown() check from MediaDecoder::Pause(). r=kaku
1. Pause() is called from HTMLMediaElement and happens before Shutdown().
2. Pause() is called from SetPlaybackRate() which is called from HTMLMediaElement.

MozReview-Commit-ID: DDr7Bg8jkF2

--HG--
extra : rebase_source : 8b8a4fdc914d0bce7572d9a1ccb0f530bdba062c
2016-07-27 10:42:20 +08:00
JW Wang
97dff3f268 Bug 1289976. Part 4 - Remove the IsShutdown() check from MediaDecoder::NotifyOwnerActivityChanged() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: 9tWLW4JE0Uv

--HG--
extra : rebase_source : 9f33359f5d8833a8f90319303a96cf029460f3ac
2016-07-27 10:38:25 +08:00
JW Wang
d2d8295bf6 Bug 1289976. Part 3 - Remove the IsShutdown() check from MediaDecoder::FireTimeUpdate(). r=kaku
FireTimeUpdate() is only called from UpdateLogicalPositionInternal() which returns early when IsShutdown() is true.

MozReview-Commit-ID: 4GZwrI85aXj

--HG--
extra : rebase_source : 9d7cbd571fd794369c833723ea5fc50a26380e51
2016-07-27 10:36:09 +08:00
JW Wang
294fff9de7 Bug 1289976. Part 2 - Remove the IsShutdown() check from MediaDecoder::DumpDebugInfo() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: HU3ybjFZMsE

--HG--
extra : rebase_source : 15d9adb47be449fdaca6a37587e70ff4f1d013bf
2016-07-27 10:33:50 +08:00
JW Wang
a9482dfc9c Bug 1289976. Part 1 - Remove the IsShutdown() check from MediaDecoder::ConstructMediaTracks(). r=kaku
1. ConstructMediaTracks() is called from ChangeState() when |mPlayState == PLAY_STATE_PLAYING|.
2. ConstructMediaTracks() is called from MetadataLoaded() which asserts |!IsShutdown()|.

MozReview-Commit-ID: 6OaPYcCOCii

--HG--
extra : rebase_source : 9db9e841fe8a0d797a39cd527abf4f4e95b67131
2016-07-27 10:31:14 +08:00
JW Wang
65db31d2a5 Bug 1289649 - HTMLMediaElement should clear mDecoder when XPCOM shutdown begins. r=gerald
MozReview-Commit-ID: A3ECReCgiD7

--HG--
extra : rebase_source : 452e156b9ecb449f311bd47f0afcc3a4bd03e10e
2016-07-27 10:26:21 +08:00
Alastor Wu
4bb0811eb6 Bug 1288971 - notify audio playback changed by media element's play(). r=baku
Notify audible-changing when resuming audio by MediaElement::play() instead of control interface.

MozReview-Commit-ID: 10a1npQ46Th

--HG--
extra : rebase_source : 16cce6782a132a2aab4ad66dc216d6237fc2ba9f
2016-07-29 19:26:56 +08:00
James Willcox
aa17fe1d72 Bug 1286133 - Use Android VideoView to play HLS r=sebastian,jchen 2016-07-29 17:02:35 -05:00
Alastor Wu
0f54e0840d Bug 1282410 - part1 : open unsupported type media. r=cpearce 2016-07-29 17:02:31 -05:00
Mark Banner
9b96b9599c Backed out changeset 82d62650cfe4 (bug 1287827) for breaking tests 2016-07-29 18:17:15 +01:00
Mark Banner
37538ca14d Backed out changeset f5f1c014ca19 (bug 1287827) for breaking tests 2016-07-29 18:17:13 +01:00
Mark Banner
3dee065445 Bug 1287827 - Part 5. Remove Loop's special permissions for about:loopconversation from MediaManager. r=jib 2016-07-29 12:00:30 +01:00
Mark Banner
f12f4ca9c9 Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap 2016-07-29 12:00:29 +01:00
Carsten "Tomcat" Book
8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Bobby Holley
7c2695a9d0 Bug 1290214 - Remove NS_ERROR for media queries and @font-face. r=emilio 2016-07-28 17:25:46 -07:00
Bobby Holley
81084cfef0 Bug 1290214 - Remove NS_ERROR in the case where we skip checking the stylesheet service. r=emilio 2016-07-28 17:25:44 -07:00
Bobby Holley
b92154b20a Bug 1290214 - Stop asserting when we don't have enough information to use the servo backend. r=emilio
In practice I'm pretty sure these cases wouldn't have a content docshell anyway.
We probably don't need more robust machinery here, since eventually we'll just
make stylo pref-based for every new prescontext regardless of type.
2016-07-28 17:25:41 -07:00
Jeff Gilbert
0ee365e60a Bug 1289653 - Mark tests.
MozReview-Commit-ID: IWB8gBthP2v
2016-07-28 14:37:41 -07:00
Jeff Gilbert
d6af553fb8 Bug 1289653 - Disallow null pixels in texSubImage. - r=mtseng
MozReview-Commit-ID: HgbJEhykEda
2016-07-28 14:37:41 -07:00
Jeff Gilbert
2d3a353980 Bug 1289652 - Disabled arrays don't change getVertexAttrib for SIZE,TYPE. - r=mtseng
MozReview-Commit-ID: 71RJlIFayNH
2016-07-28 14:33:38 -07:00
JW Wang
8d82fea425 Bug 1289683 - Prevent notifications from AudioOffloadPlayer after shutdown. r=sotaro
MozReview-Commit-ID: J4t4aYZyfVz

--HG--
extra : rebase_source : 16597bdf0f31264bbdb51764de06a99bb6ff8c95
2016-07-27 15:04:07 +08:00
Gerald Squelart
0ea69c7f48 Bug 1289668 - Report inter-keyframe telemetry - r=kamidphish
Use the new FrameStatistics members to report telemetry about inter-keyframe
timings.

MozReview-Commit-ID: 1ZWU2qpSWyC

--HG--
extra : rebase_source : f13fffc2bc81ad6090c3f494cc99e1d198f3256d
2016-07-27 15:43:01 +10:00
Gerald Squelart
2a787d2521 Bug 1289668 - Record inter-keyframe statistics - r=kamidphish
FrameStatisticsData can now store inter-keyframe information, which is
provided by the MediaFormatReader (based on live decoding).

MozReview-Commit-ID: HhBy6pgT6ZX

--HG--
extra : rebase_source : 6a072623e8a5b0f23b81307e8ea4b19a3e21b252
2016-07-26 09:36:55 +10:00
Gerald Squelart
374f22a566 Bug 1289668 - HTMLMediaElement uses video decoder's frame statistics - r=kamidphish
HTMLVideoElement can expose its thread-safe FrameStatistics object, so that
HTMLMediaElement can access more adequate data for its telemetry, without
having to use an intermediary (and potentially less accurate)
VideoPlaybackQuality object.

This will also help with accessing other/new FrameStatistics members later on.

MozReview-Commit-ID: AT7mEGy0zGr

--HG--
extra : rebase_source : 35bf6673cc0acd9d4e6e1a58c573749689614d43
2016-07-26 11:32:58 +10:00
Christoph Kerschbaumer
886e7cd571 Bug 1289085: CSP - Test referrer with no valid src. r=dveditz 2016-07-29 22:53:59 +02:00
Christoph Kerschbaumer
ec59af86d9 Bug 1289085: CSP - Bail early if referrer directive has no valid src. r=dveditz 2016-07-31 07:57:22 +02:00
Carsten "Tomcat" Book
220e36cb8d Merge mozilla-central to mozilla-inbound 2016-07-30 16:23:21 +02:00
Reuben Morais
8884c73c7e Bug 1285378 - Remove dom.global-constructor.disable pref check from script namespace manager. r=jst 2016-07-30 10:42:12 -03:00
Thomas Wisniewski
6a1fb99d2b Bug 709991 - Fire onerror instead of throwing on network errors for async XHRs. r=bz 2016-07-30 00:24:56 -04:00
Gerald Squelart
7bea2e1262 Bug 1289668 - Refactor FrameStatistics writers to use Data struct - r=kamidphish
Decoders now use FrameStatisticsData to gather data for their frame-related
notifications. This will ease introducing new members later on.

MozReview-Commit-ID: DWdOSPX3JM

--HG--
extra : rebase_source : a3e05f34353a397d1c82b3f4d935c0864f90556e
2016-07-18 10:41:40 +10:00
Gerald Squelart
16ceda9794 Bug 1289668 - Use 64 bits to store FrameStatistics values - r=kamidphish
Decoders uses 64-bit values to count frames, so we should use the same type
in FrameStatistics.

Because VideoPlaybackQuality can only use 32 bits (as defined in W3C specs),
we need to ensure that imported FrameStatistics numbers can fit in 32 bits,
while keeping their ratios the same.

MozReview-Commit-ID: 3pUTGK0ekGv

--HG--
extra : rebase_source : 627fada111b51b8830fd38bf6d60a79b899ce603
2016-07-18 10:51:30 +10:00
Gerald Squelart
9448bd8536 Bug 1289668 - Refactor FrameStatistics - r=kamidphish
Move FrameStatistics' data into separate struct, so that it can more easily be
changed and passed around, outside of the lock-controlled FrameStatistics
object.

MozReview-Commit-ID: TfsMRJhVfQ

--HG--
extra : rebase_source : 8c4c6a23c8c2d6ff4272f9f918c9510326691148
2016-07-18 09:51:25 +10:00
Gerald Squelart
56c9933215 Bug 1289668 - FrameStatistics style - r=kamidphish
MozReview-Commit-ID: B9yEd7tqfAN

--HG--
extra : rebase_source : 3b1bfd11c604f9e57321c842f4893192ca9b77b5
2016-07-15 16:48:56 +10:00
Gerald Squelart
10c9db905a Bug 1289668 - VideoPlaybackQuality style - r=kamidphish
MozReview-Commit-ID: EorsgpmZM1S

--HG--
extra : rebase_source : cfaac027ac12b4a5e219b4eeb5b0360b5e464461
2016-07-15 16:48:26 +10:00
Gerald Squelart
8d5de8656a Bug 1289674 - Don't record video telemetry when there is no video - r=kamidphish
MozReview-Commit-ID: nJniysQfpM

--HG--
extra : rebase_source : 4d158a46f233dcefbbfc36a47a29af15be690f21
2016-07-27 16:26:45 +10:00
Jan-Ivar Bruaroey
44c9f33c25 Bug 1289857 - Fix MediaTrackConstraints.cpp to compile with --disable-webrtc again. r=mjf
MozReview-Commit-ID: GgVNQSbPCwf

--HG--
extra : rebase_source : ac3a7c53c3ac8c5b98e05b6d72ddb2badd58617a
2016-07-28 12:03:40 -04:00
Jan-Ivar Bruaroey
abbd438d8f Bug 1286096 - Wire up audio getSettings(). r=padenot,smaug
MozReview-Commit-ID: KH6xcAnd3DX

--HG--
extra : rebase_source : a473d25cec56ee5bf2cd7b5114d7038e45d6a9d8
2016-07-16 15:33:54 -04:00
Jan-Ivar Bruaroey
e2c982dd72 Bug 1286096 - Consider competing audio constraints as well. r=padenot
MozReview-Commit-ID: APPg2UBgNYo

--HG--
extra : rebase_source : 02e05f0e0677d80711a0d27902f17b3f31136db4
2016-07-15 19:55:59 -04:00
Ben Kelly
1ba8e28352 Bug 1288915 P2 Verify that synthetic download works with a Content-Encoding header set. r=jdm 2016-07-28 15:51:51 -04:00
Wes Kocher
c7656c1da3 Backed out changeset c0bf6e0b8f1d (bug 1173199) for build bustage CLOSED TREE 2016-07-28 11:48:20 -07:00
Jan-Ivar Bruaroey
1f7f1269f6 Bug 1286096 - Move UpdateSingleSource pattern to MediaEngine base class for reuse. r=padenot
MozReview-Commit-ID: IJjZayOSxp4

--HG--
extra : rebase_source : de44566213623492982653c90793be9cceee539b
2016-07-13 16:07:03 -04:00
Jan-Ivar Bruaroey
9f23bcc615 Bug 1286096 - Move AllocationHandle used for cameras to MediaEngineSource base class to reuse for microphones. r=padenot
MozReview-Commit-ID: BcmlKnHhe0o

--HG--
extra : rebase_source : 45342801548033ddbb2c0e060a6c6685bcb910b9
2016-07-12 23:25:07 -04:00
Jan-Ivar Bruaroey
2982c3ee86 Bug 1286096 - Remove fakeTracks constraint. r=drno,smaug
MozReview-Commit-ID: I9ZsufufRYg

--HG--
extra : rebase_source : 6d3ace3a22ce34586da4899cc0f7b2727a5fc6e0
2016-07-11 19:27:43 -04:00
Jan-Ivar Bruaroey
36d85898ac Bug 1286096 - Enable width/height constraints on fake device. r=padenot
MozReview-Commit-ID: 1SPPbysZjqL

--HG--
extra : rebase_source : aa52d5d518fc1f52c81709c22212c892b0527d46
2016-07-11 16:52:20 -04:00
Jan-Ivar Bruaroey
6606fbb009 Bug 1286096 - Have MediaEngineDefaultVideoSource inherit from MediaEngineCameraVideoSource. r=padenot
MozReview-Commit-ID: KxT4HRaGe9

--HG--
extra : rebase_source : e1cd848912be7db9cb338bba9a19e1de46a2563f
2016-07-11 12:31:33 -04:00
Jonathan Kingston
cf5d21b1f8 Bug 1173199 - Create preference to disable MathML. r=huseby, r=smaug
If the mathml.disabled preference is true, treat <math> and other MathML
elements as generic XML elements.

This patch disables the rendering code of MathML however preserves the
namespace so to reduce the breakage.

Original patch by: Kathy Brade <brade@pearlcrescent.com>

MozReview-Commit-ID: A2f2Q2b4eqR

--HG--
extra : rebase_source : 63bf465fa6ff62610d7ed16002a7d479b87df393
2016-06-28 15:24:48 +01:00
Ethan Lin
c0b8ab7939 Bug 1287652 - Add crash test case. r=mchang
--HG--
extra : rebase_source : de4ebae4ca2e7981c1ad21e1ce7834df2dc81d89
2016-07-20 19:10:00 -04:00
Wes Kocher
5cc2b19359 Backed out 2 changesets (bug 1260599) for winxp mochitest gl bustage
Backed out changeset 4e066314768c (bug 1260599)
Backed out changeset d50028181044 (bug 1260599)
2016-07-28 10:53:22 -07:00
Lee Salzman
99a26ab433 Bug 1284578 - add crashtest. r=me 2016-07-28 13:38:50 -04:00
Lee Salzman
c316de06c2 Bug 1284356 - add crashtest. r=me 2016-07-28 13:34:28 -04:00
Sebastian Hengst
5e128b818f Backed out changeset 41a51d368f38 (bug 1285036) for failing test browser_net_copy_as_curl.js. r=backout 2016-07-28 18:13:43 +02:00
Sebastian Hengst
8c31962656 Backed out changeset de078c2e0991 (bug 1285036) 2016-07-28 18:13:17 +02:00
Sebastian Hengst
e6b4c7693b Backed out changeset 6e6d55b02d19 (bug 1285036) 2016-07-28 18:13:13 +02:00
Brad Lassey
c99449c15a bug 1289670 - Show plugin activation icon when navigator.mimetypes is queried r=mrbkap 2016-07-27 17:45:48 -04:00
Carsten "Tomcat" Book
0026e79c41 Merge mozilla-central to mozilla-inbound 2016-07-28 17:44:09 +02:00
Carsten "Tomcat" Book
37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Carsten "Tomcat" Book
e8726fe213 Backed out changeset d45c9f5c4bc8 (bug 1281223) for bustage on a CLOSED TREE 2016-07-28 13:35:02 +02:00
Cervantes Yu
b7b5f41252 Bug 1281223 - Debug instrumentation for capturing accidental destruction of the ContentChild instance. r=billm
MozReview-Commit-ID: 5LozIBYXLeO

--HG--
extra : rebase_source : 512e6cde2a66fb12db9fe7a8abc099672e0f5dfe
2016-07-28 19:17:04 +08:00
Paul Adenot
b4146d6b6d Bug 1289678 - Fix warning as errors on a CLOSED TREE. 2016-07-28 13:17:46 +02:00
Jessica Jong
67751356ee Bug 1289272 - Simplify the computation of step values for input type=date. r=smaug
--HG--
extra : rebase_source : 24bf85cff09e6ace2806778e9e5409756a598e57
2016-07-28 02:44:00 -04:00
Iris Hsiao
f9707fb68a Backed out changeset 48d06bcb9c65 (bug 1273635) for Mochitest failures 2016-07-28 14:25:47 +08:00
Paul Adenot
0cb3352625 Bug 1289678 - Don't count audio stream creation failures when retrying on Telemetry. r=kinetik
When failing to create an audio stream, we fallback to a SystemClockDriver
marked as being a "fallback driver". When failing again to open an audio stream
after re-trying, we can check whether we came from a fallback driver, and not
report the failure again to telemetry.

MozReview-Commit-ID: FAdQ0pCtC3m
2016-07-27 15:18:17 +02:00
JW Wang
8e6ae76d98 Bug 1289334 - HTMLMediaElement::ResetConnectionState() should shut down the decoder. r=cpearce
MozReview-Commit-ID: 7IZ2Y4Da7xZ

--HG--
extra : rebase_source : 492b0caa52fca17d2c399c2f0e2c426c6f55872f
2016-07-26 16:37:45 +08:00
JW Wang
a2a7e29ce7 Bug 1289301 - Remove the call to Shutdown() from MediaDecoder::NetworkError(). r=cpearce
MozReview-Commit-ID: EuDKW2KZQ9n

--HG--
extra : rebase_source : 7330327d6194a6fa45905d1ff52d258e58b96a4b
2016-07-26 14:33:16 +08:00
JW Wang
e92dafa46f Bug 1289296 - Assert |!IsShutdown()| in MediaDecoder::NetworkError(). r=kaku
MozReview-Commit-ID: HL8piKSPU1B

--HG--
extra : rebase_source : ae6aa90016c734646aec7a1828dfcd02ba92cc96
2016-07-26 14:28:29 +08:00
JW Wang
4d7a72bc94 Bug 1289295 - Remove the call to Shutdown() from MediaDecoder::DecodeError(). r=cpearce
MozReview-Commit-ID: DcpaEFEsaWD

--HG--
extra : rebase_source : fd63ff2faa79911b9ccfeed55d9e7348674ed1dc
2016-07-26 14:18:47 +08:00
Daniel Holbert
6456eee1ba Bug 1288228 part 3: Add regression mochitest for this bug. r=jwatt
MozReview-Commit-ID: DOqPoTLU1MZ

--HG--
extra : rebase_source : cae10215a12c362317c5d4751e15724807b8c272
2016-07-27 16:14:24 -07:00
Ethan Lin
6ab3df37e7 Bug 1260599 - Change EXT_disjoint_timer_query mochitest status. r=mtseng
--HG--
extra : rebase_source : 1f2e1e83477d7baf8d35eafe342090a38c8eaef0
2016-07-26 12:51:32 +08:00
Ethan Lin
29ace485e1 Bug 1260599 - Enable EXT_disjoint_timer_query extension on ANGLE. r=jgilbert
--HG--
extra : rebase_source : debccc5664b65f568f3cb82f6434108bb9092045
2016-07-26 12:51:32 +08:00
Tim Taubert
77edbd02e0 Bug 1289330 - Check for success when calling ToKeyAlgorithm() r=bz 2016-07-28 10:21:23 +02:00
Sebastian Hengst
f140568d4d Bug 1242165 - Disable another conformance/typedarrays webgl test due to spec changes to fix failing webgl tests (and requested by evilpie on IRC). r=me 2016-07-28 10:06:33 +02:00
Christoph Kerschbaumer
caedb13ef1 Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz 2016-07-28 09:20:41 +02:00
Xidorn Quan
132b526f3a Bug 991899 part 3 - Disable prefixed PointerLock API by default. r=smaug
Given that Blink has removed prefixed PointerLock API for quite a while
without receiving compatibility issue, I'd suggest we try dropping the
prefixed version directly.

We will either pref the prefixed API on if we see enough compatibility
issue, or remove the whole bunch of prefixed PointerLock API after the
unprefixed API reaches release channel without issues.

MozReview-Commit-ID: ACC69nqSBiH

--HG--
extra : source : 22791c53b6a94c3de4eb7f38823afce89b0419e4
2016-07-28 17:15:21 +10:00
Xidorn Quan
0aa8c340df Bug 991899 part 2 - Unprefix PointerLock tests. r=smaug
MozReview-Commit-ID: BPAuJWKZgBG

--HG--
extra : source : e8aea995c048039521246d2032a28e3b903c30c5
2016-07-28 17:15:21 +10:00
Xidorn Quan
b83b9e7406 Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
MozReview-Commit-ID: 3af2D9IWI1Q

--HG--
extra : source : 527777bea747fb8ab363960e41b0a1ddb26d7749
2016-07-28 17:15:21 +10:00
Chris Peterson
ddb3a5addb Bug 1289989 - Remove VS2013 workaround for VP8 test crash. r=cku 2016-07-27 23:52:09 -07:00
Chih-Yi Leu
266cc7eff8 Bug 1282874 - Move addEventListener into the first callback in test_gamepad_connect_events.html. r=qDot 2016-07-27 01:20:00 -04:00
James Cheng
240e465d99 Bug 1288320 - Define each keysystem string as specific identifier instead of placing some.keysystem everywhere. r=cpearce
MozReview-Commit-ID: 1bwPRhMOawu

--HG--
extra : amend_source : 7550352f178c0082484acdd342db05ed0dc02e23
extra : transplant_source : %96%C1%B9%8B%28%B0%96f%8AM%AA%13T%1E%3Bg%98%96%92%C1
2016-07-27 16:07:46 +08:00
Shih-Chiang Chien
dde25f3864 Bug 1289292 - Shutdown session info while fail to establish control channel. r=smaug 2016-07-27 18:53:00 -04:00
Xidorn Quan
a622a4ba48 Bug 1287706 part 7 - Add support of AddEventListenerOptions.once. r=smaug
MozReview-Commit-ID: BzuhPtNW29u

--HG--
extra : source : edb9d160b5f567c97b307b465f4a575f2210d5d4
2016-07-28 12:00:06 +10:00
Xidorn Quan
55d860ca4a Bug 1287706 part 6 - Separate notifying listener removal to an independent method. r=smaug
MozReview-Commit-ID: EE4fp4eqzqK

--HG--
extra : source : 51a979be13f77f84e69ea202ddb2838612b324c0
2016-07-28 12:00:06 +10:00
Xidorn Quan
54106b71e9 Bug 1287706 part 4 - Unify B2G device-type events to be handled in the same way as others device-type events. r=smaug
MozReview-Commit-ID: JHudlK595CV

--HG--
extra : source : c26fff27b9614817dd38d23f7cd8609f0d41cb58
2016-07-28 12:00:06 +10:00
Xidorn Quan
6ed5e7d57e Bug 1287706 part 3 - Make EventListenerHandler::Listener movable. r=smaug
MozReview-Commit-ID: F86qndZHNxB

--HG--
extra : source : 310aecf4285e01270ab639a4ada66c893e01ae77
2016-07-28 12:00:06 +10:00
Xidorn Quan
707f2d70a0 Bug 1287706 part 2 - Remove useless runtime check of EventListenerManager::Listener. r=smaug
MozReview-Commit-ID: 3XEfeF03Umx

--HG--
extra : source : de7346c106bd2716de7b3ab5068ef6604dd6d826
2016-07-28 12:00:06 +10:00
Xidorn Quan
31f5ebf083 Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
So that we can avoid unnecessary refcount changes.

MozReview-Commit-ID: 4Mk9SJTj6AS

--HG--
extra : source : c35643f76ef33b6cdce115c8de0dfae8abccd644
2016-07-28 12:00:06 +10:00
Ben Kelly
d6ce89f9c9 Bug 1170543 P4 Don't active service worker until the previous active service worker is idle. r=asuth 2016-07-27 20:36:10 -04:00
Ben Kelly
1a8803ebd5 Bug 1170543 P3 Expose ServiceWorker idle thread state to ServiceWorkerManager. r=asuth 2016-07-27 20:36:10 -04:00
Ben Kelly
23604e56e7 Bug 1170543 P2 Explicitly track the idle KeepAliveToken separately. r=asuth 2016-07-27 20:36:10 -04:00
Ben Kelly
43550b2fa1 Bug 1170543 P1 Create separate KeepAliveTokens for service worker events and script evaluation. r=asuth 2016-07-27 20:36:10 -04:00
Daniel Holbert
9e983e1b6a Bug 1288228 part 2: When a DOMSVGLength is CC'd, remove it from tearoff table and drop its weak ref to wrapped val. r=jwatt
MozReview-Commit-ID: 74YJfLnRYg0

--HG--
extra : rebase_source : 762d182c092f52f4ed433179fcf2de095187565b
2016-07-21 11:11:37 -07:00
Daniel Holbert
543ecd97c3 Bug 1288228 part 1: Move cleanup code from DOMSVGLength destructor into a helper-function. r=jwatt
MozReview-Commit-ID: 8CQCZZP8NUn

--HG--
extra : rebase_source : 48e1311053c477c18af5b45172504ada4f752671
2016-07-21 10:49:38 -07:00
Thomas Wisniewski
16c863c9d6 Bug 1285036 - Part 9: Clean up the XHR send() API endpoints, and how nsIVariants are handled. r=baku
--HG--
extra : rebase_source : 6eb5919d4c4180c55089f0fd6dfcd728dbb52534
2016-07-21 00:36:26 -04:00
Thomas Wisniewski
978c16c644 Bug 1285036 - Part 8: Change XHR open() and related code to follow the spec more closely. r=baku
--HG--
extra : rebase_source : a40634c94d6a259a181028021b780140a7fdbf41
2016-07-20 13:02:36 -04:00
Thomas Wisniewski
468fef78cc Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku
--HG--
extra : rebase_source : 8d3491471156823c0f1c7c7adbcb0024494e13db
2016-07-27 16:03:42 -04:00
bechen
f37d302b58 Bug 1281418 - Release and reload the vtt resource when the src attribute of TrackElement changed. r=rillian
MozReview-Commit-ID: B8wdOxP3HId

--HG--
extra : transplant_source : %85%F3R%10%D3h%C8tSN%12%09%B5%12%91%DBT%19t%14
2016-07-21 16:49:24 +08:00
bechen
b13de09ea4 Bug 1281418 - Add testcase for changing the src of TrackElement. r=rillian
MozReview-Commit-ID: A7QB9ELEfp3

--HG--
extra : transplant_source : %FE%12%B9%98%847%E2%BF%9E%B8%7D%BDT%E3%7E%F0%90%1E%25i
2016-07-19 17:01:06 +08:00
Ben Kelly
c8cef10a01 Bug 1228277 P2 Make skipWaiting() check the evaluating service worker script. r=asuth 2016-07-27 19:09:15 -04:00
Ben Kelly
cc9a82558b Bug 1228277 P1 Track service worker scripts during evaluation in ServiceWorkerRegistrationInfo. r=asuth 2016-07-27 19:09:15 -04:00
Olli Pettay
811035a57c Bug 1289900 - DataTransferItem::mCachedFile leaks, r=khuey
--HG--
extra : rebase_source : 610259321f53ef77d9c81039bd30de9e2643e083
2016-07-28 00:37:12 +03:00
Jeff Gilbert
6502268813 Bug 1242165 - Disable conformance/typedarrays/data-view-test due to spec changes. 2016-07-28 00:24:17 +02:00
Geoff Brown
286d6d02fa backout f0d2679582bea4d7d74ea47d4b1f7f458b1bd359 (bug 1287720) for causing Android 4.3 opt mochitest-chrome application timeouts 2016-07-27 15:12:04 -06:00
Bobby Holley
55b3f93f9f Bug 1289624 - Clear servo data when nodes are removed from the tree. r=heycam 2016-07-27 13:34:57 -07:00
Bobby Holley
46c7fed6d0 Bug 1289624 - Switch to UniquePtr for managing ServoNodeData. r=heycam 2016-07-27 13:34:55 -07:00
Emilio Cobos Álvarez
11ac7c1d96 Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(

MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
ba64988f2f Bug 1288590: Use GetAttrInfoAt in nsXBLPrototypeBinding.cpp. r=bholley
MozReview-Commit-ID: EDqajfBFPra
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
16ed085072 Bug 1288590: Use GetAttrInfoAt in nsXBLBinding.cpp. r=bholley
MozReview-Commit-ID: Bm29ogNHXwR
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
5b1b25967b Bug 1288590: Use GetAttrInfoAt in nsXMLContentSerializer.cpp. r=bholley
MozReview-Commit-ID: 1mOIlXK8O5a
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
1f021d7738 Bug 1288590: Use GetAttrInfoAt in SVGUseElement.cpp. r=bholley
MozReview-Commit-ID: BXdOCztAm2k
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
b3d22350d1 Bug 1288590: Use GetAttrInfoAt in nsXHTMLContentSerializer.cpp. r=bholley
MozReview-Commit-ID: 5f5RI9FEJse
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
28ee86f5de Bug 1288590: Use GetAttrInfoAt in nsContentUtils.cpp. r=bholley
MozReview-Commit-ID: 844XRlHiI7Y
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
e54d13faa8 Bug 1288590: Add a function to get attribute info from an Element by index. r=bholley
MozReview-Commit-ID: AjgzhP3gwgV
2016-07-27 11:18:33 -07:00
Eric Rahm
b6659dcf84 Bug 1289614 - Remove warnings from TabChild::{SetFocus,Blur}. r=smaug 2016-07-27 10:44:25 -07:00
Andrew McCreight
e806f57820 Bug 1289136 - Fifth argument to XPCConvert::NativeInterface2JSObject() is always null. r=gabor 2016-07-27 10:11:40 -07:00
Kyle Machulis
6b02d1de30 Bug 1289315 - Tests for Iterable<> Union Types in WebIDL Interfaces; r=bz
MozReview-Commit-ID: 1co6k6YOPUI
2016-07-27 09:48:59 -07:00
Jonathan Chan
bd2261bd38 Bug 1289315 - Fix union types for maplike/setlike/iterable in WebIDL parser; r=qdot
MozReview-Commit-ID: Bmn0CPfwUXZ
2016-07-27 09:48:59 -07:00
Bobby Holley
64639661c1 Bug 1289620 - Hook up initial styling. r=heycam
Aside from the parser-side hacks, this should subsume all the current scattered
logic in the stylo tree to handle initial styling.
2016-07-27 09:44:25 -07:00
John Dai
0ff1457b76 Bug 1274505 - Remove SVG-based custom element support. r=wchen
--HG--
extra : rebase_source : a2caaa0fc1a49ca989dafc9e73c55ad752b83752
2016-07-26 00:35:00 -04:00
Boris Zbarsky
fb2eb08b4d Bug 1289179. IDBRequest::SetResultCallback should expose its script owner to active JS before entering its compartment. r=baku 2016-07-27 11:05:36 -04:00
Boris Zbarsky
3f84f0b441 Bug 1289129. When setting up an AutoJSAPI with a global, make sure to expose that global to active JS. r=mccr8 2016-07-27 11:05:36 -04:00
Boris Zbarsky
8617edc967 Bug 1288791 part 3. Ensure that FindAssociatedGlobal never returns a gray global. r=bkelly 2016-07-27 11:05:36 -04:00
Boris Zbarsky
5b840d9b96 Bug 1288791 part 2. Rename WrapNativeParent to FindAssociatedGlobal and update it to actually do that. r=bkelly 2016-07-27 11:05:36 -04:00
Boris Zbarsky
8e34004cf1 Bug 1288791 part 1. Rename the GetParentObject template bits to make it clearer what they're really doing: finding the associated global for an object's native. r=bkelly 2016-07-27 11:05:36 -04:00
Boris Zbarsky
f65cc2b16c Bug 1289467 part 4. Make ForwardDeclarationBuilder error out if asked to forward-declare a templated type instead of spitting out nonsense that doesn't compile. r=qdot 2016-07-27 11:05:36 -04:00
Boris Zbarsky
d39f976400 Bug 1289467 part 3. Skip forward-declaring types used by methods/attributes on maplikes/setlikes/iterables that we auto-generate an implementation for. r=qdot 2016-07-27 11:05:36 -04:00
Boris Zbarsky
f9765094cb Bug 1289467 part 2. Skip example codegen for methods/attributes on maplikes/setlikes/iterables that we auto-generate an implementation for. r=qdot 2016-07-27 11:05:35 -04:00
Boris Zbarsky
f7ef79ba7f Bug 1289467 part 1. Example codegen generation should print out which files it generated, so it's easy to examine them. r=qdot 2016-07-27 11:05:35 -04:00
Nicolas Silva
a4ee782267 Bug 1289380 - Simplify PersistentBufferProviderShared. r=edwin 2016-07-27 16:50:20 +02:00
Carsten "Tomcat" Book
bbf6621f7e Merge mozilla-central to mozilla-inbound 2016-07-27 16:38:35 +02:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Carsten "Tomcat" Book
dbdbb9ddab merge fx-team to mozilla-central a=merge 2016-07-27 16:33:09 +02:00
Ben Kelly
6ce45a87c8 Bug 1289658 Make ExtendableMessageEvent.waitUntil() hold the service worker alive. r=asuth 2016-07-27 10:32:12 -04:00
Geoff Brown
7f273d755a Bug 1287720 - Enable dom/browser-element mochitest-chrome tests on Android; r=me 2016-07-27 07:47:56 -06:00
Gerald Squelart
371109fa03 Bug 1289378 - Fix inter-locking in PDMFactory+GMPDecoderModule - r=jya
Say PDMFactory::EnsureInit() runs on the main thread (effectively locking it)
and then tries to lock sMonitor; if another thread was also running
EnsureInit() and locked sMonitor, it will dead-lock when trying to sync-
dispatch the GMPDecoderModule creation to the main thread.

This can be fixed by ensuring that the actual PDMFactory instance creation is
always done on the main thread (and that we don't hold sMonitor before
dispatching to the main thread.)

Note that we can now simplify GMPDecoderModule::Init and assert we are already
on the main thread.

MozReview-Commit-ID: 8xHpoymw6po

--HG--
extra : rebase_source : aabc1f4768aebdd16873bbc1afdd1679d90aed6f
2016-07-27 12:43:33 +10:00
Daisuke Akatsuka
4f153efd27 Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz

--HG--
extra : rebase_source : b26d9d25c2dd54f7ec0e12dd51127229cb085346
2016-07-27 10:13:17 +09:00
Daisuke Akatsuka
92b6c55c8d Bug 1264865 - Part 1: steps(3, end) should serialize using the shorter steps(3) syntax. r=birtles
MozReview-Commit-ID: HBukw3qjyrr

--HG--
extra : rebase_source : 53bdcefc66cffa92c438bb3be794e6537533461c
2016-07-27 10:12:43 +09:00
Mike Hommey
4fdd5ca717 Bug 1289248 - Stop using MOZ_WINSDK_MAXVER outside configure. r=blassey,cpearce
Its value was only used in a couple C++ files, and a corresponding value
can be gotten directly from including winsdkver.h.

--HG--
extra : rebase_source : 618f1eb2ee0243a6c1c652ccce45b2aeba959edf
2016-07-22 18:52:13 +09:00
Wes Kocher
cef61ca9ed Merge m-c to autoland, a=merge 2016-07-26 16:54:33 -07:00
Carsten "Tomcat" Book
bee34206c8 Merge mozilla-central to mozilla-inbound 2016-07-26 17:06:58 +02:00
Carsten "Tomcat" Book
8b58b75b4e merge mozilla-inbound to mozilla-central a=merge 2016-07-26 16:59:46 +02:00
Carsten "Tomcat" Book
bb1d829c64 merge fx-team to mozilla-central a=merge 2016-07-26 16:57:00 +02:00
Nicolas Silva
48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Carsten "Tomcat" Book
25aa8617fc Backed out changeset 1825b8fa636a (bug 1246540) for bustage
--HG--
extra : rebase_source : 45defacae713b2c2f75813fea6f2f289ebc481cd
2016-07-26 12:52:15 +02:00
Chris Pearce
5d7e74fc64 Bug 1289623 - Assume keys marked as 'output-restricted' are usable. r=gerald
Chrome appears to do this.

MozReview-Commit-ID: LbSFQiB0pEO

--HG--
extra : rebase_source : 2e4358ccc2bcfec0f9d286456f726400cfe0e13c
2016-07-27 11:06:43 +12:00
Benoit Girard
fecbc5166c Bug 1288746 - Handle missing WebGL failure IDs. r=jrmuizel
MozReview-Commit-ID: 3kdr8Dwinqm

--HG--
extra : rebase_source : dea04b6d4288e305bb3bb2b8f3965e8f1f713ef9
2016-07-22 13:26:05 -04:00
Christoph Kerschbaumer
5bc0a6e499 Bug 1280692: Remove redundant sendBeacon tests due to spec update of using 'no-cors' per default. r=sicking 2016-07-26 13:46:48 +02:00
Christoph Kerschbaumer
5ccdcb67f4 Bug 1280692: Update sendBeacon origin header test. r=sicking 2016-07-26 13:46:33 +02:00
Christoph Kerschbaumer
d95c44acb7 Bug 1280692: Update sendBeacon redirect test. r=sicking
--HG--
rename : dom/tests/mochitest/beacon/beacon-cors-redirect-handler.sjs => dom/tests/mochitest/beacon/beacon-redirect-handler.sjs
rename : dom/tests/mochitest/beacon/test_beaconCORSRedirect.html => dom/tests/mochitest/beacon/test_beaconRedirect.html
2016-07-26 13:46:17 +02:00
Christoph Kerschbaumer
c6310e8999 Bug 1280692: Update sendBeacon to use 'no-cors' per default. r=sicking 2016-07-26 13:46:01 +02:00
Christoph Kerschbaumer
d872b01ebc Bug 1181370: Update CheckURL to set the incumbent document's principal as the triggeringPrincipal. r=bz 2016-07-26 12:46:01 +02:00
Wes Kocher
9f3327c8f0 Backed out changeset 8f1980fa5bee (bug 1280584) for artifact build bustage a=backout 2016-07-26 10:40:30 -07:00
Carsten "Tomcat" Book
a155789154 Merge mozilla-central to autoland 2016-07-26 17:08:24 +02:00
Carsten "Tomcat" Book
5b47cb2e80 Merge mozilla-central to autoland 2016-07-26 12:00:39 +02:00
Carsten "Tomcat" Book
574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
JW Wang
4d4146a965 Bug 1289290 - Assert |!IsShutdown()| in MediaDecoder::DecodeError() r=kaku
MozReview-Commit-ID: EoUtle6quy

--HG--
extra : rebase_source : 47077044c8379c24cd732ab3707c24e28cb298f9
2016-07-26 14:01:54 +08:00
Jeff Gilbert
4f4b4cb007 Bug 1288638 - Unconditionally SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX. - r=mtseng
MozReview-Commit-ID: CPgJTTV8vAA
2016-07-25 20:01:09 -07:00
Jeff Gilbert
66ac1e0650 Bug 1288638 - Update shader validator usage. - r=mtseng
MozReview-Commit-ID: 5bSUacggvR8
2016-07-25 20:01:09 -07:00
Iris Hsiao
60bb75129e Backed out changeset 65e1219ade06 (bug 1284803) 2016-07-26 10:20:57 +08:00
Sotaro Ikeda
f660774b3d Bug 1284803 part 10 - Add toleranes to testColorConversions() r=jrmuizel 2016-07-25 18:23:14 -07:00
Hiroyuki Ikezoe
9c3e690c9a Bug 1287725 - Drop KeyframeEffectReadOnly::HasAnimationOfProperties and nsLayoutUtils::HasCurrentAnimationsForProperties. r=birtles
MozReview-Commit-ID: K33ga7KpLIo

--HG--
extra : rebase_source : 57bc8f2edffb7e89ea790f5cc0fa6848770d1873
2016-07-26 06:44:11 +09:00
Matt Woodrow
4ed207c9ad Bug 1277626 - Create test DXVA decoders on the main thread so that we can protect them with a crash guard. r=jya,dvander 2016-07-25 15:18:55 +12:00
Kartikaya Gupta
166816e4b0 Bug 1287576 - Update the touch-behavior notification code to behave like the set-target-apzc notification code. r=botond
In particular, this change uses the root frame of the touch target document,
so that the correct presShell resolution is used when doing the touch-action
hit test.

MozReview-Commit-ID: 2bra6PIRqkR
2016-07-25 20:35:03 -04:00
Ben Kelly
b8e8e264e4 Bug 1287547 Don't leak HTMLScriptElement wrapper when page is closed during off-thread script parsing. r=bz 2016-07-25 15:16:58 -07:00
Matthew Gregan
5e5637e77f Bug 1288980 - Add libcubeb backend to about:support. r=felipc 2016-07-26 10:50:14 +12:00
Jeff Gilbert
c6bdac40c5 Bug 1288649 - 2-arg ctors shouldn't be explicit.
MozReview-Commit-ID: 8yZeVcOj3Et
2016-07-25 14:46:25 -07:00
Jeff Gilbert
407bc3c38c Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
a4dadbacbe Bug 1280499 - Mark tests.
MozReview-Commit-ID: DnVgcJvZ9NM
2016-07-25 13:55:24 -07:00
Jeff Gilbert
ff9844ee32 Bug 1280499 - Allow SKIP_ROWS+height>IMAGE_HEIGHT and fix paranoid uploading. - r=jrmuizel
Top-of-tree test is green now.

MozReview-Commit-ID: IbCTHK62qGT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
3740e5150b Bug 1280499 - Support paranoid uploading for nVidia. - r=jrmuizel
MozReview-Commit-ID: 3CMNoHiBACT
2016-07-25 13:52:41 -07:00
Jeff Gilbert
e4c382d96e Bug 1280499 - Unlock UNPACK_BUFFER. - r=ethlin
MozReview-Commit-ID: 5RbFNeKsvqF
2016-07-25 13:52:41 -07:00
Jeff Gilbert
41c0b57871 Bug 1280499 - Implement PBOs for textures. - r=jrmuizel
MozReview-Commit-ID: 3FCinT9hS8j
2016-07-25 13:52:41 -07:00
Jeff Gilbert
3b7adaea8f Bug 1280499 - Add stubs and forwards. - r=ethlin
MozReview-Commit-ID: BZUAGCjnINM
2016-07-25 13:52:41 -07:00
Jeff Gilbert
4d20164c66 Bug 1280499 - Add webidl. - r=khuey
MozReview-Commit-ID: 3RE378JZoxq
2016-07-25 13:52:41 -07:00
Andrea Marchesini
78ccb9fb63 Bug 1289010 - Correct ErrorType message for File CTOR., r=bz 2016-07-25 22:42:31 +02:00
Jan-Ivar Bruaroey
ea09c098c8 Bug 1284726 - move MediaStreamTrackEvent.webidl back out of MOZ_WEBRTC (used in gUM). r=jesup
MozReview-Commit-ID: Hx2RHxxgIQR

--HG--
extra : rebase_source : a5ed1c403bd92650fa4ae4f55640e97936121499
2016-07-22 16:02:56 -04:00
Boris Chiou
a8ff634f84 Bug 1272475 - Part 2: Add crashtests and mochitests. r=heycam
MozReview-Commit-ID: A8CpiMLfa7Q

--HG--
extra : rebase_source : 5a9b2911c41e4c08249a9d85e95a8bb2fa906493
2016-07-20 16:00:36 +08:00
Tim Huang
71ca0b6bc8 Bug 1283325 - Part 1 : Make EME Plugins / Gecko Media Plugins storage OriginAttribute aware. r=cpearce 2016-07-22 08:40:00 +02:00
Jim Mathies
b5801fa3f7 Bug 1283274 - Disable windowless workaround if we detect a flash library that support async rendering. r=aklotz
MozReview-Commit-ID: 3RubBjRoeEa
2016-07-25 15:45:29 -05:00
Ethan Lin
e89d62b83f Bug 1279986 - Make WebGL Uniform*, UniformMatrix* and VertexAttrib* accept SharedArrayBuffer. r=jgilbert 2016-07-19 20:00:00 +02:00
isangelawu
5362a0f92e Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
Haik Aftandilian
8f7ffc84b7 Bug 1274540 - Record sandboxing status in crash reports; r=gcp
Adds content sandbox metadata to parent and child crash reports:
Includes the value of pref security.sandbox.content.level,
whether or not the system is capable of sandboxing, if the
sandbox was successfully turned on, and (on Linux systems)
the sandbox capabilities flags.

New crash report keys:
"ContentSandboxLevel" in parent and content
"ContentSandboxCapable" in parent
"ContentSandboxEnabled" in content
"ContentSandboxCapabilities" in content on Linux
2016-07-25 13:21:00 +02:00
Kate McKinley
01cbd73591 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-25 12:37:00 +02:00
Kilik Kuo
3de7882657 Bug 1136707 - [Part1] Make pref 'media.eme.enabled' only affect practical DRMs. r=cpearce
MozReview-Commit-ID: 5XeAelzLbIc

--HG--
extra : transplant_source : J%7D%FE%B8%CC3%CF%E7%BAg%A7%3E%19%DDC%C0%EB%92%AD%C8
2016-07-27 12:04:47 +08:00
Iris Hsiao
caea40742f Backed out changeset 8dc198cd46ff (bug 1246540) for Mochitest failures 2016-07-27 13:14:07 +08:00
Kate McKinley
c6650db185 Bug 1246540 HSTS Priming Proof of Concept
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-26 13:03:00 +08:00
Iris Hsiao
a7c8429fc4 Backed out changeset d7e39be85498 (bug 1246540) for Mochitest failures 2016-07-27 11:15:52 +08:00
Morris Tseng
b53cf295ac Bug 1247977 - Handle FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: GiwoIcFsv2k
2016-07-27 09:42:09 +08:00
Chris Pearce
e3566aa24b Bug 1266938 - Add explicit to ctors for helper classes in WidevineVideoDecoder. r=bustage 2016-07-27 11:27:08 +12:00
JW Wang
0b638406f0 Bug 1289004. Part 3 - Remove MediaDecoder::mShuttingDown. r=cpearce
MozReview-Commit-ID: DoJ4UFuyz2h

--HG--
extra : rebase_source : 531df3335548186338fc2eb5b5b4b0bb4cc6c101
extra : source : d4f4a98303c3ddc14986478aa44f137cce87af30
2016-07-13 16:48:27 +08:00
JW Wang
12fd7814cd Bug 1289004. Part 2 - Add MediaDecoder::IsShutdown(). r=cpearce
MozReview-Commit-ID: 50muOKcUqYi

--HG--
extra : rebase_source : d97e968c980dcc146824bb6703747f23b0a5b651
extra : source : 2ca76a5cecbb9c6ef107794eab32bb13633880a2
2016-07-13 16:45:30 +08:00
JW Wang
694dff250f Bug 1289004. Part 1 - Constify and devirtualize some functions. r=cpearce.
MozReview-Commit-ID: 8f14ekpinCR

--HG--
extra : rebase_source : ca1d62df789639817e4c7da01919783038db22f0
extra : source : 5dc15cac9b631fd10b03902b3ba627fd763a49aa
2016-07-13 16:35:37 +08:00
Gijs Kruitbosch
6806a51e47 Bug 1280584 - implement cloneWithNewRef, r=valentin
MozReview-Commit-ID: 8FIyclkJPDp

--HG--
extra : rebase_source : 5fee9f021e3d23a981c52b1996f1a21fc03f6365
2016-07-18 16:00:54 +01:00
JW Wang
db58db163a Bug 1288344. Part 2 - Remove MediaDecoder::mWasEndedWhenEnteredDormant. r=cpearce
MozReview-Commit-ID: edGkP9mv6L

--HG--
extra : rebase_source : 4833d10975c6dd241d41bf86f81b08a9fe76784c
2016-07-12 14:34:06 +08:00
JW Wang
237d5b4a0d Bug 1288344. Part 1 - Don't change play state when entering/exiting dormant state. r=cpearce
MozReview-Commit-ID: 24damxCvWl8

--HG--
extra : rebase_source : 31058b1ace6d1d8e462b24f96845bb81251445d7
2016-07-12 14:32:36 +08:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Chris Peterson
6674411c75 Bug 1288924 - Remove __func__ polyfill for VS2013. r=froydnj 2016-07-25 01:14:31 -07:00
Gerald Squelart
17e3c87114 Bug 1288585 - Clarify console message about WinXP unsupported formats - r=cpearce
On Windows XP (and others before Vista), if WMF is required to play a format,
the console message should not refer to Microsoft software as it is not
available there.

MozReview-Commit-ID: LaERcaOfePe

--HG--
extra : rebase_source : 72b6e24683be4eb2c21c9ccff039f326cf5647a7
2016-07-22 13:12:15 +10:00
Manish Goregaokar
52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Chris Pearce
d29928ce19 Bug 1288976 - Only retry MediaKeySystemAccess requests on 'gmp-changed' notification if the CDM is now installed. r=gerald
This ensures we'll only retry requests if we know the install operation has
completed for a given GMP. This means if (say) OpenH264 happens to install
while we have a Widevine request pending, we won't retry the Widevine request,
as that would fail. The Widevine request will retry once the Widevine CDM
has downloaded and in turn fires its gmp-changed notification.



MozReview-Commit-ID: E3CV9uID4pS

--HG--
extra : rebase_source : 4e27210a9e6c28118e93f45846b63aaa64f5882d
2016-07-25 13:38:08 +12:00
Chris Pearce
d183d8433b Bug 1288976 - Use gmp-changed rather than gmp-path-added to retry MediaKeys requests. r=gerald
We're already routing the "gmp-changed" observer service notification over from
the chrome process to the content process, and it fires at pretty much the same
time as the "gmp-path-added" notification (and a few more) so we can just switch
to have the MediaKeySystemAccessManager listen on that notification instead, and
we'll be e10s compatible.




MozReview-Commit-ID: EowFDfdWgAJ

--HG--
extra : rebase_source : ad01990278cf9005f6676ef0b7fa0acbf69249eb
2016-07-25 10:18:34 +12:00
Xidorn Quan
834c029b00 Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
MozReview-Commit-ID: HiPkCPrQQr0

--HG--
extra : rebase_source : ce3826834065242a4e99b82d52ac65ddc205ae61
2016-07-20 14:42:08 +10:00
Gijs Kruitbosch
61094e5a36 Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
MozReview-Commit-ID: 8FIyclkJPDp

--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01:00
Carsten "Tomcat" Book
dcae5b0335 Merge mozilla-central to fx-team 2016-07-26 11:58:36 +02:00
Sebastian Hengst
4bcb37cd63 Backed out changeset 6acbad99a3ff (bug 1284914) for not updated expected results. r=backout 2016-07-25 16:59:41 +02:00
Carsten "Tomcat" Book
a3904e8a8a Merge mozilla-central to mozilla-inbound 2016-07-25 15:59:01 +02:00
Jessica Jong
b99dc5856a Bug 1282894 - Propagate exception on setting HTMLTableElement.caption. r=bz
--HG--
extra : rebase_source : ea1aff21fb0b410c1076775cd76d7569d0f6c695
2016-07-21 22:40:00 +02:00
John Dai
61e4473134 Bug 1275833 - Update wpt and test_interfaces.html. r=smaug, wchen
--HG--
extra : rebase_source : 660b579caba59d32d0b57045319610cf144fc088
2016-07-21 23:44:00 +02:00
John Dai
0744abcb80 Bug 1275833 - Move CustomElementDefinition and CustomElementHashKey from nsDocument to CustomElementRegistry. r=wchen
--HG--
extra : rebase_source : 014bdac82e416878f845ff84c54e1fc697d92b68
2016-07-21 23:42:00 +02:00
John Dai
7f2bb4c2c9 Bug 1275833 - Add window.customElements and CustomElementsRegistry interface for custom element v1. r=smaug, wchen
--HG--
extra : rebase_source : 5bed500eee0d4902703e4e2159e291779ff69ab5
2016-07-24 23:38:00 +02:00
John Dai
b0b2cf9184 Bug 1275833 - Remove redundant trailing spaces. r=wchen
--HG--
extra : rebase_source : 3da50fd96bebc680dc42c1b2af0dd007f5eb762f
2016-07-21 23:39:00 +02:00
Neil Deakin
67b5c571bd Bug 1275932, use AutoHandlingUserInputStatePusher to indicate that a real input is happening when refiring key event in the parent process, r=masayuki 2016-07-25 09:08:49 -04:00
Neil Deakin
d6835ffd46 Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-07-25 09:08:39 -04:00
Geoff Lankow
d14b295017 Bug 1287657 - Context menu items should not be disabled for media with a blob URL; r=kinetik, r=baku 2016-07-25 22:41:52 +12:00
Franziskus Kiefer
249fa77287 Bug 1263793 - update SAN, r=mgoodwin,ulfr
MozReview-Commit-ID: HtMKl2gP1xi

--HG--
extra : rebase_source : 5173dda521679b2ce6c8caabb3b54cce4f658640
2016-07-25 09:44:19 +02:00
Carsten "Tomcat" Book
0a5622c093 Backed out changeset 640247e978ba (bug 1246540) for bustage 2016-07-24 15:59:31 +02:00
Phil Bystrican
3fc0587193 Bug 1284939 - Removed definition and usage of QUIRK_FLASH_AVOID_CGMODE_CRASHES. Adjusted the bit shifts for quirk values that fell below it to keep the increment between them consistent. r=spohl
CGBridgeLayer was only ever constructed with aAvoidCGCrashes as false so its property mAvoidCGCrashes was removed and all conditionals that relied on it were removed. This also resulted in protectLastCGContext never doing any work so it was removed as well. r=spohl
2016-07-22 14:11:14 -04:00
Kate McKinley
547500d5a7 Bug 1246540 - HSTS Priming Proof of Concept. r=honzab
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-22 18:35:00 +02:00
Jan de Mooij
c7e88a5ad8 Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz 2016-07-23 19:54:19 +02:00
Jan de Mooij
fd0edec3bf Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:52:47 +02:00
Jan de Mooij
8073c28728 Bug 1286795 part 2 - Change JS_RequestInterruptCallback to take JSContext instead of JSRuntime. r=luke 2016-07-23 19:52:20 +02:00
Andrea Marchesini
10d10aa38d Bug 1274959 - Support symlinks in Directory API - part 3 - no loops with symlink in Directory.getFiles(), r=smaug 2016-07-23 10:35:26 +02:00
Andrea Marchesini
805b8ba685 Bug 1274959 - Support symlinks in Directory API - part 2 - Unify GetFilesHelper and GetFilesTaskParent, r=smaug 2016-07-23 10:35:06 +02:00
Andrea Marchesini
ce2d912270 Bug 1274959 - Support symlinks in Directory API - part 1 - Directory.getFilesAndDirectories, r=smaug 2016-07-23 10:34:43 +02:00
Andrea Marchesini
3660cacdaf Bug 1288681 - Rename HTMLInputElement::directory to HTMLInputElement::allowdirs, r=smaug 2016-07-23 10:20:15 +02:00
Lee Salzman
db08b356a2 Bug 1288872 - verify cairo_scaled_font creation succeeds in SkFontHost_cairo. r=mchang
MozReview-Commit-ID: JKRiyQgi9Y2
2016-07-22 21:23:56 -04:00
Sotaro Ikeda
2c8122c501 Bug 1250914 - Create gl texture for each video frame drawing to SkiaGL canvas r=jrmuizel 2016-07-22 18:10:13 -07:00
Blake Kaplan
b43a6820bf Bug 1267479 - Use ContentTask to avoid using intermittent CPOWs in browser_bug396843.js. r=wchen 2016-07-22 16:45:47 -07:00
Chris Pearce
cc5deae96d Bug 1282142 - Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey. r=gerald
MozReview-Commit-ID: vbnJT5PGGv

--HG--
extra : rebase_source : 880d9c972519faef9ed2aa3635e6cae441fb2ff6
extra : amend_source : 6c179a5b4481604dee820a4c45ee75f562851237
2016-07-22 13:42:31 +12:00
Chris Pearce
c45d37db14 Bug 1278198 - Enforce codecs match the capability and content type in GetSupportedCapabilities(). r=gerald
We're supposed to reject MediaKeySystemCapabilities which have a contentType
that has codecs which don't match their major type, i.e. audio codecs in a
video container type.

I missed that, and it's causing us to fail the
test_eme_requestMediaKeySystemAccess case "MP4 video container with both audio
and video codec type in videoType".


MozReview-Commit-ID: KQVGk9hX3eC

--HG--
extra : rebase_source : f8ed145d050bb27f2f6867ec4b308bbcd30d17a5
2016-07-21 19:22:59 +12:00
Chris Pearce
30716f1d57 Bug 1278198 - Adapt Adobe GMP's obsolete GMPDecryptor interface to new interface. r=gerald
The Adobe GMP only supports up to GMPDecryptor version 7. We're now up to
version 9.  So we need to provide an adaptor to convert the old version to run
with the new interface.

MozReview-Commit-ID: 5dKreev7JMv

--HG--
extra : rebase_source : b9aa1b66ad23e9f7ddbe60b71c94c161ad974818
2016-07-14 13:33:48 +12:00
Chris Pearce
8b28b48c65 Bug 1278198 - Fix tests to work with new EME API. r=gerald
MozReview-Commit-ID: WTWyYu2Zgp

--HG--
extra : rebase_source : 68208d9be13fd18aa7ff6a2f167299050d5375ed
2016-07-11 16:46:21 +12:00
Chris Pearce
f49856bc79 Bug 1278198 - Pipe through distinctive identifier and persistent state allowed. r=gerald
MozReview-Commit-ID: A92e0XGp5s4

--HG--
extra : rebase_source : 09f7ba18c9b81263aa345cc7f34f0ef2a2548482
2016-07-07 17:26:15 +12:00
Chris Pearce
e2b41d3d04 Bug 1278198 - Add Widevine FileIO. r=gerald
MozReview-Commit-ID: IXgSobtF24L

--HG--
extra : rebase_source : e1df08666b0713fa4c10fc020d6482a802d2fb52
2016-07-07 17:28:14 +12:00
Chris Pearce
1ec646af14 Bug 1278198 - Implement "Get Supported Configuration" algorithm in MediaKeySystemAccess. r=gerald
MozReview-Commit-ID: KiJMOm5HgHe

--HG--
extra : rebase_source : 0c60b76ad38cb9c5513e6618c8d8f4bc6f43b168
2016-07-01 13:36:57 +12:00