Граф коммитов

66683 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 07c73f15a7 Bug 1394724. P4 - merge MediaCacheStream::Close() and CloseInternal(). r=cpearce
MozReview-Commit-ID: Fo43lKYPA0m

--HG--
extra : rebase_source : b9f82c410c842c9ad6ad6d0eb04d22fdd0dcaed9
extra : source : b28530622cf885d5e6f987300333a9bf62edf615
2017-08-29 16:46:42 +08:00
JW Wang 14d7dd5668 Bug 1394724. P3 - fix data race in reading mClosed in MediaCacheStream::NotifyDataReceived(). r=cpearce
1. mCacheStream.Close() should happen after CloseChannel() to avoid data race
   in reading mClosed in MediaCacheStream::NotifyDataReceived().
2. MediaCache::Update() and CloseStreamsForPrivateBrowsing() should call
   ChannelMediaResource::Close() to ensure mCacheStream.Close() happens
   after CloseChannel().

MozReview-Commit-ID: 1o3yPbm3Gy6

--HG--
extra : rebase_source : 0a39af9ae228bdf4098ad16793bb6eccd15c3ec7
extra : source : f4b6deb231be5915dc42318ec22d850d20562b0e
2017-08-29 16:41:17 +08:00
JW Wang b336472dda Bug 1394724. P2 - mListener->Revoke() should happen after mChannel->Cancel() to avoid data race. r=cpearce
http://searchfox.org/mozilla-central/rev/cd82cacec2cf734768827ff85ba2dba90a534c5e/netwerk/base/nsIRequest.idl#56
All OnDataAvailable() calls should happen before Cancel().
It is safe to modify mResource after a call to Cancel().

MozReview-Commit-ID: KoeLth1zlZM

--HG--
extra : rebase_source : 49ff3e08ba74d6d200673fea04cb22ad85e77a59
extra : source : 1c327787519a463ea6599dfb69eea5a6f348b774
2017-08-29 15:55:20 +08:00
JW Wang 696ee533d1 Bug 1394724. P1 - assert the channel is already closed in ~ChannelMediaResource(). r=cpearce
MozReview-Commit-ID: 4lJNEEBsv4r

--HG--
extra : rebase_source : 0d6aad3544a2d3f9e74ee366099e193060f5e836
extra : source : e6f540139314ef9841ed85578c08f15e4a084a3d
2017-08-29 15:41:40 +08:00
Wes Kocher 940bdbc699 Merge autoland to central, a=merge
MozReview-Commit-ID: Jz9iBkuBrpV
2017-08-30 19:52:39 -07:00
Wes Kocher a216658ae3 Backed out 2 changesets (bug 1382377) under suspicion of causing asan devtools failures a=backout CLOSED TREE
Backed out changeset c23f8bd95172 (bug 1382377)
Backed out changeset e9156a9ede8e (bug 1382377)

MozReview-Commit-ID: GnLs0Kzd5em
2017-08-30 16:44:20 -07:00
Wes Kocher ed7c10b582 Backed out changeset be5d0598f77d (bug 1335029) for crashtest failures in 1185192.html a=backout CLOSED TREE
MozReview-Commit-ID: 9wzZ9KwfoDB
2017-08-30 12:13:01 -07:00
Andrea Marchesini 1df07a3979 Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly 2017-08-30 18:47:23 +02:00
Paul Adenot c159686ac3 Bug 1335029 - Take into account SystemClockDrivers in fallback mode when dealing with AudioContext promises. r=jesup
MozReview-Commit-ID: HBS6XGXDGf1

--HG--
extra : rebase_source : a57a55552011406310cc10a1a1fb305f8c356488
2017-08-30 15:18:10 +02:00
Kris Maglione 8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Alexandre Poirot d9b0804cc0 Bug 1382377 - Test console against devtools.enabled pref. r=baku
MozReview-Commit-ID: GEayP1MP8PV

--HG--
extra : rebase_source : 754ff2f10d96939f1c0f578d74a3016db26504f4
2017-08-28 19:22:58 +02:00
Alexandre Poirot 50231c9ddf Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
MozReview-Commit-ID: 4xuzRQKH3Vg

--HG--
extra : rebase_source : f388a7222df314c988c3af20afb59684cc1045e5
2017-08-08 16:29:34 +02:00
Boris Chiou f2076b6d4a Bug 1390039 - Add tests for mismatched transform lists and some other corner cases. r=birtles
MozReview-Commit-ID: ESchrGe6h9N

--HG--
extra : rebase_source : 099f3b882e7851519a998c51dde4ef9fdd44a998
2017-08-21 16:36:17 +08:00
Samael Wang 92d4c13cad Bug 1394132 - Ensure we only handle focus event once. r=masayuki
MozReview-Commit-ID: 6VoRMXpNco4

--HG--
extra : rebase_source : e66951431a24c7abba939124988f98f084e1e0bd
2017-08-29 15:52:14 +08:00
Chun-Min Chang b0e140e2a2 Bug 1392930 - part 3: Make AudioCallbackDriver inherit from DeviceChangeListener; r=padenot
--HG--
extra : rebase_source : a6d87257004fe4954044c0ccd70ca4b4f597099a
2017-08-29 17:45:44 +08:00
Chun-Min Chang b7f3746bab Bug 1392930 - part 2: Make AudioStream inherit from DeviceChangeListener; r=jwwang
--HG--
extra : rebase_source : 384f30c0fe923609b1c1f0822179f0165d987d4a
2017-08-29 18:08:46 +08:00
Chun-Min Chang e1fbc3f90d Bug 1392930 - part 1: Replace AudioStream by DeviceChangeListener in AudioNotificationReceiver; r=jwwang
--HG--
extra : rebase_source : b8484a25147ea1cf034b63039b5b3c4c09991958
2017-08-29 17:40:06 +08:00
Sebastian Hengst 948b5a30f8 merge mozilla-central to autoland. r=merge a=merge 2017-08-30 11:06:42 +02:00
Sebastian Hengst a56d428b1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Chris Pearce 50bc88ccf9 Bug 1395021 - Fix up includes to account for StreamTracks.h not being indirectly included in so many places. r=jwwang
With MediaInfo.h no longer including StreamTracks.h, some things that include
MediaInfo.h now use things that are no longer included. This patch adds the
includes back in, so the build works again.

MozReview-Commit-ID: INpH3vnBAmk

--HG--
extra : rebase_source : 8b91a999c71242c1eb5030f86c2a1f1c85d5fb27
2017-08-30 15:38:56 +12:00
Chris Pearce e4e1189f9a Bug 1395021 - Move TrackID definition from StreamTracks.h into TrackID.h. r=jwwang
This means that MediaInfo.h doesn't need to include StreamTracks.h, which pulls
in MediaSegment.h and the MSG and a bunch of DOM bindings stuff.

MozReview-Commit-ID: 6JSO1dxJq8k

--HG--
extra : rebase_source : c5ca38a6e0b297e4e05db3b23c7c2ead49e9f8bc
2017-08-30 15:24:54 +12:00
James Cheng 6dd36073da Bug 1395015 - Remove HLSResource. r=jwwang
Move the dependent method into HLSDecoder.
Remove the class entirely.

MozReview-Commit-ID: F9eOFQvgeLQ

--HG--
extra : rebase_source : a45407d88513883245f429c5f4bd09c78bef6f10
2017-08-30 14:14:32 +08:00
Sebastian Hengst 08520511b8 Backed out changeset d292ce405097 (bug 1393189) 2017-08-30 10:04:40 +02:00
Nils Ohlmeier [:drno] f16dee0822 Bug 1394078: reject SDP with non-ASCII chars. r=bwc
MozReview-Commit-ID: 3s5gpcDNK4W

--HG--
extra : rebase_source : 4ee35312e76709d587bc87a4760f0481f41ac6e6
2017-08-25 22:58:25 -07:00
Bobby Holley a4efa141db Bug 1390951 - Assert harder against stylesheet type mismatches. r=xidorn
MozReview-Commit-ID: 1oB7FDxAZFt
2017-08-29 16:27:28 -07:00
Bobby Holley 1ffe80adee Bug 1390951 - Use the same style backend when cloning documents. r=xidorn
MozReview-Commit-ID: F6HMAsSsNDa
2017-08-29 16:27:21 -07:00
Andrew McCreight 78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Wes Kocher de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Wes Kocher 2198196808 Merge inbound to central, a=merge
MozReview-Commit-ID: G6QZZ8RGk6n
2017-08-29 16:14:22 -07:00
Sebastian Hengst ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Sebastian Hengst 2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Andrew McCreight f3d6766f0e Bug 1394176 - Use default values for scheduler prefs if the parent process didn't send any. r=billm
In some unknown circumstance, possibly if the parent process has a
different version than the child process, the child does not receive
scheduler prefs, which makes it read out of an uninitialized local
variable. This can probably happen because the scheduler prefs are
checked before we do the ContentChild::Init version check. Bill also
suggested that the pref env var might be getting truncated.

This patch improves on the situation by using null for the prefs array
if none was sent, and falling back on the default values, which leave
the scheduler disabled.

This also checks that the pref string is at least long enough to avoid
a buffer overflow. Note that if the end of the string isn't an integer
we'll end up with an sPrefThreadCount of zero, which can't be good.

MozReview-Commit-ID: ByHLFMEpgyZ

--HG--
extra : rebase_source : 8f6368b88ec3746f4d1c7716a962bb2ac3c2f3b5
2017-08-29 10:30:03 -07:00
Andreas Farre 4409a06dbb Bug 1393764 - Reset execution budget if BudgetThrottlingEnabled returns false. r=bkelly
When BudgetThrottlingEnabled transitions from true to false, the
execution budget can be negative which will have the unfortunate
effect of limiting the number of timeouts run by
TimeoutManager::RunTimeout to zero. By resetting the execution budget
in UpdateBudget, when BudgetThrottlingEnabled returns false, we
prevent this loop from happening.
2017-08-29 16:44:24 +02:00
Xidorn Quan d47c52cdd6 Bug 1393189 part 1 - Statically initialize builtin style table with their name atom included. r=dholbert
Doing this at compile time would save a bit of our startup time, which
I've promised to do since @counter-style was initially implemented, see
bug 966166 comment 103 (the paragraph with "constexpr").

Also, having this implemented here makes using atom instead of string
on name of builtin counter styles easier, for later patches.

MozReview-Commit-ID: C9HYcuShBQv

--HG--
extra : rebase_source : b603e9b51faf3fefb18449c60284e591a20a3804
2017-08-29 14:44:14 +10:00
Phil Ringnalda 55ac177c22 Backed out 2 changesets (bug 1359055) for Win7 failures in test_conformance__extensions__webgl-compressed-texture-size-limit.html
Backed out changeset 41850a57de47 (bug 1359055)
Backed out changeset 7c2db4c459cc (bug 1359055)

MozReview-Commit-ID: CsWGhuHvqIx
2017-08-29 22:02:56 -07:00
JW Wang 29df163b4e Bug 1394705 - let HTMLMediaElement::MediaLoadListener implement nsIThreadRetargetableStreamListener. r=cpearce
This is required to use nsIThreadRetargetableRequest::RetargetDeliveryTo().

MozReview-Commit-ID: GFuAjovabpY

--HG--
extra : rebase_source : 4fbc7877f2548dcf0777c820ee724f41c46de688
2017-08-29 14:28:13 +08:00
Ehsan Akhgari 731a8f470b Bug 1392892 - Avoid creating a live nsContentList in nsDocument::GetTitleElement(); r=smaug 2017-08-29 07:33:21 -04:00
Ehsan Akhgari 75e9304a93 Bug 1392891 - Part 5: Devirtualize nsHTMLDocument::GetForms(); r=smaug 2017-08-29 07:30:30 -04:00
Ehsan Akhgari 0aeb82a9cc Bug 1392891 - Part 4: Remove nsIHTMLDocument::GetFormControls(); r=smaug 2017-08-29 07:30:28 -04:00
Ehsan Akhgari 399ce96953 Bug 1392891 - Part 3: Avoid creating live nsContentList objects in nsContentUtils::GenerateStateKey(); r=smaug 2017-08-29 07:30:26 -04:00
Ehsan Akhgari 35146883ae Bug 1392891 - Part 2: Add an API to return nsHTMLDocument::mForms/mFormControls without creating a new nsContentList; r=smaug 2017-08-29 07:30:24 -04:00
Ehsan Akhgari d4f7cc1e85 Bug 1392891 - Part 1: Make it possible to create nsContentList objects that don't observe DOM mutations; r=smaug 2017-08-29 07:30:22 -04:00
Andrea Marchesini 25cdcbf331 Bug 1378342 - AbortSignal/AbortController - part 12 - eslint for dom/abort tests, r=me 2017-08-29 11:31:07 +02:00
Andrea Marchesini 508c8078ce Bug 1378342 - AbortSignal/AbortController - part 10 - Reject the fetch() promise if AbortSignal is already aborted, r=bkelly 2017-08-29 11:31:07 +02:00
Andrea Marchesini 3e5de60a22 Bug 1378342 - AbortSignal/AbortController - part 9 - Request.signal should not be a reference of RequestInit.signal, r=bkelly 2017-08-29 11:31:07 +02:00
Andrea Marchesini a441d6f43c Bug 1378342 - AbortSignal/AbortController - part 8 - Aborting ReadableStream when AbortSignal is aborted, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini f533937740 Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini e670c2c16a Bug 1378342 - AbortSignal/AbortController - part 5 - Some WPTs pass, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini 031018437a Bug 1378342 - AbortSignal/AbortController - part 4 - Separate pref for AbortSignal/AbortController, r=bkelly
--HG--
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_abort_controller_fetch.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_abort_controller_fetch.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_abort_controller_fetch.js
2017-08-29 11:31:06 +02:00
Andrea Marchesini 6e67fd43cc Bug 1378342 - AbortSignal/AbortController - part 3 - Removing the following algorithm, r=bkelly 2017-08-29 11:31:06 +02:00