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

67510 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup eea2736c27 Bug 1396879: don't dynamically switch to/from fast-path gUM audio r=jib 2017-09-16 00:06:07 -04:00
Boris Zbarsky 15194f2f07 Bug 1400275. Ensure we create reflectors for JS-implemented webidl interfaces with the right prototype when those interfaces are subclassed. r=qdot
MozReview-Commit-ID: 5yYD92NVVFQ
2017-09-15 23:45:06 -04:00
Boris Zbarsky f9854585c7 Bug 1398500 part 1. Switch the viewport scrollbar override stuff to use Element, not nsIContent. r=dholbert
MozReview-Commit-ID: FU0Afemj4XD
2017-09-15 23:45:05 -04:00
Stone Shih 459eddec0a Bug 1292134: Disable pointerevent_touch-action-span-test_touch-manual because of intermittent failures. r=kats. 2017-09-15 10:38:11 +08:00
Bobby Holley 2a5c1f23e1 Bug 1398982 - Remove style scoped warnings for stylo. r=me
We're unshipping stylo scoped anyway.

MozReview-Commit-ID: IeZLzX3ZU9i
2017-09-15 16:40:33 -07:00
Gregory Szorc 3b3a704584 Backed out changesets 98e46ead3522 and 52e6fce3e6f6 (bug 1399870) for Windows test failures; a=backout
--HG--
extra : histedit_source : 380fa58fada541be8dabf03b88aed89b8ba0d073%2C854308f608c4dec795868abd41d7d651952e0df7
2017-09-15 15:52:03 -07:00
Wes Kocher ed7085cec0 Backed out changeset 3b21f5d72f54 (bug 1398982) for unexpected passes in reftests a=backout
MozReview-Commit-ID: E4svy69pFIz
2017-09-15 15:50:14 -07:00
Wes Kocher 95f28ef759 Backed out changeset d9bc6c96c492 (bug 1399877) for build bustage a=backout
MozReview-Commit-ID: 1Ftlwl3MfrW
2017-09-15 14:53:20 -07:00
Daosheng Mu 9e3c4d27d7 Bug 1400091 - Skip-if WebVR reftests for MacOSX non-Nightly build; r=kip
MozReview-Commit-ID: CGYHW3n6QuX

--HG--
extra : rebase_source : 2c8c9d1de0e06a7434e961eea45c492f58674520
2017-09-15 15:30:33 +08:00
Masatoshi Kimura f7995f942e Bug 1400207 - Remove nsIDocument::AddCharSetObserver. r=hsivonen
MozReview-Commit-ID: 7uWDQvyz4yC

--HG--
extra : rebase_source : c8955e6b090d9084938c290f096b41b9090ec71c
2017-09-14 23:19:22 +09:00
Ted Mielczarek b8176d94a5 bug 1399877 - Globally define DLL_PREFIX/DLL_SUFFIX. r=gps
Several source files use DLL_PREFIX/DLL_SUFFIX defines, and they all
set them in moz.build using `DEFINES`. This is problematic for the WSL build
because the quoting gets lost somewhere between bash and cl.exe. This patch
makes them set globally in moz.configure with `set_define`. There was an
existing global `MOZ_DLL_SUFFIX` define that was only used in one place, so
that has been removed in favor of simply `DLL_SUFFIX`.

MozReview-Commit-ID: 4ZQiqMK8Dgu

--HG--
extra : rebase_source : f85cbb4b9e6dc69881f312182cd4e37985baf22e
2017-09-14 06:30:50 -04:00
Ted Mielczarek 8439a24741 bug 1399870 - Make DEFFILE a Path instead of a string. r=gps
DEFFILE is currently just used as a passthrough variable. All but one of
the current uses of it use `SRCDIR + '/file.def'` to get a srcdir-relative
path anyway, and the other one wants an objdir-relative path, so using
Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.

MozReview-Commit-ID: IRokABaZW2c

--HG--
extra : rebase_source : ae74c984bb2aab70211dc5974a8b052651e025dd
2017-09-14 06:24:43 -04:00
Josh Matthews a323bdfe53 Bug 1397971 - Share strings in URLDataValue with Rust. r=heycam
--HG--
extra : amend_source : 7946c76a40240baac44db6c1c6c7b0117ced4219
2017-09-15 13:11:37 -07:00
Sebastian Hengst 79fa2520bf merge mozilla-central to autoland. r=merge a=merge 2017-09-15 21:34:39 +02:00
Sebastian Hengst 6d3d62f7fb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: FmdeaRYDVqR
2017-09-15 21:33:32 +02:00
Bobby Holley 6b2dbc2b82 Bug 1398983 - Remove warning about assuming gecko style system. r=me
MozReview-Commit-ID: BCeG81uxLvS
2017-09-15 12:27:13 -07:00
Bobby Holley 76cc5d68ad Bug 1398982 - Remove style scoped warnings for stylo. r=me
We're unshipping stylo scoped anyway.

MozReview-Commit-ID: IeZLzX3ZU9i
2017-09-15 12:20:22 -07:00
Ryan VanderMeulen e1d23c6fa7 Merge inbound to m-c. a=merge 2017-09-15 14:20:02 -04:00
Sebastian Hengst 285f502fd9 Backed out changeset 3f1e68da9634 (bug 1397128) for bustage at mozilla/dom/cache/CacheStorage.h:108. r=backout on a CLOSED TREE 2017-09-15 18:29:41 +02:00
Sebastian Hengst 150c6ab212 Backed out changeset 15edfaab92f6 (bug 1397128) 2017-09-15 18:28:54 +02:00
Sebastian Hengst 8114378053 Backed out changeset bfbcc07fcb4b (bug 1397128) 2017-09-15 18:28:48 +02:00
Sebastian Hengst 2ecdeffe66 Backed out changeset 389e9f39d6b8 (bug 1397128) 2017-09-15 18:28:43 +02:00
Sebastian Hengst 8463726683 Backed out changeset 5988716b66bb (bug 1397128) 2017-09-15 18:28:37 +02:00
Sebastian Hengst ea5ea33329 Backed out changeset bb52082d2d3c (bug 1397128) 2017-09-15 18:28:32 +02:00
Sebastian Hengst b42f970139 Backed out changeset b28740aedf34 (bug 1397128) 2017-09-15 18:28:27 +02:00
Sebastian Hengst f14ea2acaf Backed out changeset e37614cb41e1 (bug 1397128) 2017-09-15 18:28:21 +02:00
Sebastian Hengst 4b9a1e0644 Backed out changeset b5ea37e08220 (bug 1397128) 2017-09-15 18:28:16 +02:00
Andrea Marchesini 09429732d5 Bug 1376794 - Label blob IPC messages, r=billm 2017-09-15 18:20:08 +02:00
Ben Kelly 188fc706fb Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 6847f129b1 Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 66d9e5a447 Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 60cc17beb8 Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 1cc7cde5c0 Bug 1397128 P5 Add ReadStream::Inner::EnsureStream() to synchronously open stream when Availabe/Read/ReadSegments is called. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly cd504ea7b0 Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 09:11:22 -07:00
Ben Kelly 6e5e0f4a24 Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt 2017-09-15 09:11:22 -07:00
Ben Kelly 31a34132cb Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt 2017-09-15 09:11:22 -07:00
Ben Kelly ba86302f10 Bug 1397128 P1 Make CacheReadStream ipdl struct contain an OptionalIPCStream. r=tt 2017-09-15 09:11:22 -07:00
Boris Zbarsky 6b4983d30a Bug 864845 part 2. Make window.content chromeonly in nightly. r=mystor
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Andrew Osmond 132cacdc6f Bug 1397214 - Prevent ContentChild::RecvSetXPCOMProcessAttributes from running after shutdown. r=ehsan
Since ContentChild itself may be created before the observer service is
started, we cannot create an observer to simply listen for the
xpcom-shutdown event. Thankfully we do not need to do anything special
upon receiving the event -- we just need to know if it has been fired
when we called RecvSetXPCOMProcessAttributes. As such, this patch
creates a canary using ClearOnShutdown. If the canary is cleared, then
we know xpcom-shutdown has been issued, and we should abort the
initialization process.

fixup
2017-09-15 18:48:37 -04:00
Florian Quèze 3e165cf69a Bug 1379587 - fix tests that rely on scrolling on a not-yet-painted browser, r=mconley. 2017-09-15 23:43:56 +02:00
Andrew Sutherland ab9e8a3643 Bug 1378949 - Fix SW notification tests that assumed activated SW to wait for activation. r=bkelly
Bug 1378949 found test_notificationclick_focus.html timing out because the
ServiceWorker activation raced the creation of an iframe document that wanted
to be controlled by the serviceworker.

The documents that wanted to be controlled had a half-hearted attempt at
dealing with this by using navigator.serviceWorker.ready, but that would only
work if the SW's attempted to claim the clients if they already existed, which
they did not.

This patch cleans up the defective test and its sibling tests that follow the
same idioms.

--HG--
extra : source : fb699d88bb80f27fbfd4805afc2e8feaa55964e0
2017-09-15 16:05:16 -04:00
Ben Kelly f3bd79bbe8 Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 9e8538fa6a Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 65f88cc067 Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly acf4cdb7d2 Bug 1397128 P6 Allow ReadStream to be created with an initially nullptr base stream. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 2cf80de4ff Bug 1397128 P5 Add ReadStream::Inner::EnsureStream() to synchronously open stream when Availabe/Read/ReadSegments is called. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 9ef03c8751 Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly b88c4699cd Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt 2017-09-15 12:25:40 -07:00
Ben Kelly 9bbbfca014 Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt 2017-09-15 12:25:40 -07:00
Ben Kelly 66eb21a04b Bug 1397128 P1 Make CacheReadStream ipdl struct contain an OptionalIPCStream. r=tt 2017-09-15 12:25:40 -07:00
Ryan VanderMeulen 17c17bd036 Merge m-c to inbound. a=merge 2017-09-15 14:20:59 -04:00
Stone Shih df20c4bac3 Bug 1399876: Relax the assertion about sending multiple eMouseEnterIntoWidget in TabParent. r=baku.
We may create a browser element and replace it while the TabChild isn't ready to handle input events.
2017-09-15 15:41:53 +08:00
Christoph Kerschbaumer a14a33f806 Bug 1399848 - Update failing windows tests within dom/browser-element to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-15 12:17:26 +02:00
Sebastian Hengst 49155b17af merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-15 11:12:04 +02:00
Sebastian Hengst ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Jeff Gilbert 4efa5737b0 Bug 1400073 - Hide MOZ_debug from getSupportedExtensions. - r=daoshengmu
MozReview-Commit-ID: LFTrUOGLh36
2017-09-14 19:26:49 -07:00
Sebastian Hengst 09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Sebastian Hengst 71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Jonathan Kew 109a07bbd7 Bug 1399503 - Use font family list passed from the chrome process to initialize the platform font family list on macOS, to avoid expensive Core Text font iteration code path. r=mconley 2017-09-14 22:15:27 +01:00
Tim Taubert 62ee484a0d Bug 1388851 - Follow-up to disable parts of browser_webauthn_telemetry.js r=bustage 2017-09-14 23:12:13 +02:00
JW Wang 04279e9849 Bug 1399751. P3 - pass the offset of range request to ChannelMediaResource::OnStartRequest(). r=gerald
So we don't have to look at GetOffset(). We want to reduce the use of
MediaCacheStream::mChannelOffset so it is easier to fix data races about it.

MozReview-Commit-ID: 3GAbKYA9xi4

--HG--
extra : rebase_source : bfaceb190da30e3276085fb7930468ad51e3a98f
2017-09-14 14:33:15 +08:00
JW Wang 93ecd70b5b Bug 1399751. P2 - pass a block index to FindBlockForIncomingData() so it doesn't depend on mChannelOffset. r=gerald
MozReview-Commit-ID: 7VltaDyxndl

--HG--
extra : rebase_source : 09516f6379bb5f0e6e949e150cc74d373a889464
2017-09-14 10:42:54 +08:00
JW Wang a00d1e2c0a Bug 1399751. P1 - pass a block index to AllocateAndWriteBlock() so it doesn't depend on mChannelOffset. r=gerald
MozReview-Commit-ID: EJmxrE5X6nA

--HG--
extra : rebase_source : 0d89f6e1de8082ebe0fa3a20c1c8d2e34d4e1982
2017-09-14 10:39:06 +08:00
Bryce Van Dyk 5a880668fb Bug 1336367 - Fix unified build issues from previous changes. r=pehrsons
MozReview-Commit-ID: E82sCwkCxGT

--HG--
extra : rebase_source : 7ceace01c2d91b1f65f7ab9d34ebb08dd1edb48b
2017-09-14 14:15:22 +12:00
Bryce Van Dyk 1d69fbd829 Bug 1336367 - Rename TestTrackEncoder to TestAudioTrackEncoder. r=pehrsons
The TestTrackEncoder file only contained audio encoder tests. This makes the
distinction between the already existing TestVideoTrackEncoder and these audio
tests clearer.

MozReview-Commit-ID: KmM616S72Gm

--HG--
rename : dom/media/gtest/TestTrackEncoder.cpp => dom/media/gtest/TestAudioTrackEncoder.cpp
extra : rebase_source : abd0965fd27ef0f51575ac20e908b4cc908bca47
2017-09-14 13:54:43 +12:00
Bryce Van Dyk 2cc5363e39 Bug 1336367 - Add gtest for new AudioTrackEncoder init method and behaviour. r=pehrsons
MozReview-Commit-ID: 1IWPu2lD2u6

--HG--
extra : rebase_source : 4daeef0555e637f561025440591b7954641add1d
2017-09-14 13:21:31 +12:00
Bryce Van Dyk 1f1b9997c8 Bug 1336367 - Move AudioTrackEncoder Segment init logic into new method. r=pehrsons
The AudioTrackEncoder has logic to attempt to init when given an AudioSegment.
This logic has previously been part of NotifyQueuedTrackChanges. This
changeset moves the logic to its own method. This allows for finer testing of
the init attempt behaviour.

MozReview-Commit-ID: Der1iM9J8fr

--HG--
extra : rebase_source : bb47dd483d69349482a6d8882e9768b1a8d09480
2017-09-14 07:19:27 +12:00
Bryce Van Dyk fc034c8d9f Bug 1336367 - Significantly lower TrackEncoder timeout, make best effort init audio encoder on timeout. r=pehrsons
MozReview-Commit-ID: 2J5DPfkulIF

--HG--
extra : rebase_source : 06fffca2f1fb60971d204e0dfa773d1373eb0e89
2017-09-12 09:32:17 +12:00
John Lin ac062e7031 Bug 1394239 - don't return video frames that MDSM won't show. r=jya
In some Android ROMs, MediaCodec doesn't allocate additional buffers to reduce
consumer starvation and will not work when MDSM grips most recently returned
frame before rearching seek target. Implement SetSeekThreshold() to get actual
seek target to check if video buffers can be released back to remote decoder
immediately.

MozReview-Commit-ID: 7IetuVxCXc0

--HG--
extra : rebase_source : 8e8643dbde757d41a26de45663a8232b4c66c386
2017-09-11 12:50:48 +08:00
James Cheng 7789212fcf Bug 1399754 - [Part2] Fix wrong format string. r=cpearce
MozReview-Commit-ID: 5oXE0UvGeFt

--HG--
extra : rebase_source : 92ecf466b49f4062a85f058b802c37887cabf23a
2017-09-14 17:18:00 +08:00
James Cheng 1d71cf11e9 Bug 1399754 - [Part1] Replace CDM_LOG with GMP_LOG. r=cpearce
MozReview-Commit-ID: IG3qsRGW42E

--HG--
extra : rebase_source : 0b0cd4a394a5c15ed8fa8b631c149c962297e55e
2017-09-14 16:00:58 +08:00
Sebastian Hengst 88adc0346c merge mozilla-central to autoland. r=merge a=merge 2017-09-17 23:33:31 +02:00
Jean-Yves Avenard 83780d15b6 Bug 1400254 - Don't apply fuzz workaround when appendWindowEnd is set. r=gerald
Someone changing the attribute appendWindowStart and appendWindowEnd can be expected to know what they are doing. As such, we don't need to make sure playback starts when content timestamps are broken.

MozReview-Commit-ID: EcPORuDHpF5

--HG--
extra : rebase_source : 2e29f07d8c4c52dfee360bac9e83b4d92b3eae38
2017-09-17 15:30:34 +02:00
JW Wang 81acc3c247 Bug 1400166. P2 - Flush() should dispatch a task to clear arrays. r=gerald
If mBlockChanges is cleared when PerformBlockIOs() is dropping the data lock,
blockIndex will become an invalid index after it acquire the data lock again.

MozReview-Commit-ID: 5Cu2TgEO3F5

--HG--
extra : rebase_source : 1b3dce490acee6d034c3b85741deda79d209d21a
2017-09-18 11:07:52 +08:00
JW Wang 20c0330a15 Bug 1400166. P1 - move re-initialization code to Flush() for it is confusing to call Init() twice. r=gerald
MozReview-Commit-ID: 6KolHyGkqXo

--HG--
extra : rebase_source : 98ee1e8a4bebde33149e2dd6d8d0469be7ca11e9
2017-09-18 10:52:17 +08:00
J.C. Jones 8b00bef83f Bug 1400019 - Don't assert on illegal WebAuthn algo names r=keeler
The algorithm names provided to the WebAuthn methods have to either be a
string, or (potentially) a WebCrypto object. Right now we only work with
strings, but there's no good reason to assert that, we can just let the
action fail.

This patch removes the assert to help out the fuzzing team.

MozReview-Commit-ID: 9dc8m0a2gZK

--HG--
extra : rebase_source : 649a7f4928679405fe445ac533eee2cfccaedd25
2017-09-14 18:37:34 -07:00
Ryan VanderMeulen 277d6a438f Merge m-c to inbound. a=merge 2017-09-14 10:52:18 -04:00
Sebastian Hengst 65bd75b8f9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6nttXoSo3Fh
2017-09-14 11:04:14 +02:00
Wes Kocher ff68b95b87 Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
Ryan VanderMeulen 7995fdbb33 Merge m-c to inbound. a=merge 2017-09-13 20:37:13 -04:00
Ryan VanderMeulen 3fc86b0be1 Backed out 2 changesets (bug 864845) for causing bug 1399649.
Backed out changeset c991b71d3642 (bug 864845)
Backed out changeset 9e6a4d96cf76 (bug 864845)
2017-09-13 19:23:12 -04:00
Sebastian Hengst 006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Christoph Kerschbaumer d52e12418d Bug 1399468 - Update remaining tests within dom/browser-element to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-13 16:07:19 +02:00
Michael Layzell 44f1d8fa25 Bug 1396976 - Flush IME document changes when entering nested Document Update, r=masayuki 2017-09-13 11:45:49 -04:00
Michael Layzell 5dff36164d Bug 1398883 - Disable the DataTransfer::Protected state for Firefox 57, r=baku
This isn't a super essential feature, and is just a change to try to bring us in
line with chromium and the spec. As this has apparent web compat issues, and
DataTransfer is a hard to test area, this patch moves the changes behind a pref,
which we can come back to turning on after we ship 57.
2017-09-13 11:45:48 -04:00
Andrew Osmond cf998634b8 Backed out changeset e66c8d65d0f1 (bug 1389021) because it did not reduce the crash volume. 2017-09-13 11:19:06 -04:00
Sebastian Hengst 61569e53a2 Backed out changeset 142c2979af94 (bug 1254688) for failing mochitest dom/tests/mochitest/general/test_resource_timing_unload.html | Only one entry should be found. r=backout on a CLOSED TREE 2017-09-13 16:58:44 +02:00
Sebastian Hengst 49cb3c40cb Backed out changeset 0140b9418003 (bug 1398556) for asserting at dom/file/ipc/IPCBlobInputStream.cpp:555. r=backout on a CLOSED TREE 2017-09-13 16:57:39 +02:00
Sebastian Hengst b3fd3e1e87 Backed out changeset 393e901c47f6 (bug 1399466) so bug 1398556 can be backed out. r=backout on a CLOSED TREE 2017-09-13 16:56:25 +02:00
Shawn Huang f86d1e915d Bug 1399038 - Enable Storage API on beta/release. r=janv, baku 2017-09-13 21:46:36 +08:00
Andrea Marchesini 88cc64e1f7 Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug 2017-09-13 15:37:49 +02:00
Andrea Marchesini 2961a9e492 Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug 2017-09-13 15:29:39 +02:00
Dan Minor b155d6c5ca Bug 1393687 - Add mochitest for max-fs; r=jesup
This adds a mochitest to verify that the max-fs constraint results in smaller
video for VP8 and H.264.

MozReview-Commit-ID: Hk6uyqoiwUY

--HG--
extra : rebase_source : 99602d3d98f8f17b8d71fd94ef3198d43abb7541
2017-09-12 08:24:48 -04:00
Valentin Gosu 825c888826 Bug 1254688 - Test that loaded in onunload shouldn't show up in the next page performance object r=bz
MozReview-Commit-ID: ApFxoKmwoji
2017-09-13 14:55:15 +02:00
Ben Kelly f43590de33 Bug 1398484 Only assert that the channel does not change for top level service worker scripts. r=baku 2017-09-13 05:53:54 -07:00
Sebastian Hengst 7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst 1fbe7771e8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Sebastian Hengst dd669d05e1 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JWKcdNfAFqk
2017-09-13 11:25:59 +02:00
Andrea Marchesini 57228a9b15 Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini abd6b28844 Bug 1359017 - onmessageerror for Workers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini f59c3de953 Bug 1359017 - onmessageerror for BroadcastChannel in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini ab8673f32d Bug 1359017 - onmessageerror for MessagePort in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:05 +02:00
Jon Coppeard a3c0357907 Bug 1399141 - Attribute malloc memory when creating reflector object r=baku 2017-09-13 11:21:12 +01:00
Sebastian Hengst a3ed708553 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Joel Maher 7806465584 Bug 1398244 - run mochitest-media on windows 10 instead of windows 8. r=rwood 2017-09-13 05:18:46 -04:00
Boris Zbarsky 101a69d71a Bug 864845 part 2. Make window.content chromeonly. r=mystor
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Ryan VanderMeulen 68c8008faf Backed out 7 changesets (bug 1364364) for causing bug 1399182.
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)

--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-12 13:21:17 -04:00
Sebastian Hengst 643376d693 Backed out changeset a8d6f6fd7bda (bug 1359017) for failing wpt's /html/dom/reflection-forms.html. r=backout 2017-09-13 08:56:53 +02:00
Sebastian Hengst 92d408093a Backed out changeset 354139a05e75 (bug 1359017) 2017-09-13 08:56:23 +02:00
Sebastian Hengst 264522f53d Backed out changeset 9248962260f9 (bug 1359017) 2017-09-13 08:56:18 +02:00
Sebastian Hengst 66969c6b7b Backed out changeset 7b45c1aebf7f (bug 1359017) 2017-09-13 08:56:13 +02:00
Andrea Marchesini 68fed142b9 Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini 977186322a Bug 1359017 - onmessageerror for Workers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini f3bcbfa12b Bug 1359017 - onmessageerror for BroadcastChannel in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Andrea Marchesini 456461ba4d Bug 1359017 - onmessageerror for MessagePort in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:05 +02:00
Sebastian Hengst ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Xidorn Quan a0f7c55075 Bug 1398619 - Correctly inherit backend for document created by DOMParser, and add test for it. r=bholley
The old code doesn't work because mScriptHandlingObject is a nsWeakPtr,
which cannot be casted to nsPIDOMWindowInner directly.

Since scriptHandlingObject is a strong reference to the same object, we
can just try casting that.

MozReview-Commit-ID: JRBs5N6xxc0

--HG--
extra : rebase_source : cd0237553198182b00ff9c667a17271b23464567
2017-09-12 14:28:27 +10:00
James Cheng be5b995e78 Bug 1397123 - [Part2] Decouple ChromiumCDMProxy from ChromiumCDMParent. r=cpearce
1. Pass ChromiumCDMCallback interface to ChromiumCDMParent instead of ChromiumCDMProxy directly.
2. Wrap dispatching to main thread function to clean up the redundant code.

MozReview-Commit-ID: 5HxS9Fc1yr

--HG--
extra : rebase_source : 3ac4c4b260f3196bd862e97aaf12c2422d43ad11
2017-09-11 12:17:36 +08:00
James Cheng e3b97ecea3 Bug 1397123 - [Part1] Make aMessage of CDMProxy::OnSessionMessage const. r=cpearce
MozReview-Commit-ID: Bsw6s2HE02

--HG--
extra : rebase_source : 40a0bd4d5cc20210322daed0eba04dec2273fbd7
2017-09-11 12:16:18 +08:00
Stone Shih 6837036723 Bug 1397461: Fire coalesced mousemove event when the event button or buttons changes. r=smaug. 2017-09-08 10:21:09 +08:00
Bill McCloskey fe8e58f308 Bug 1397941 - Fix DecodedStream labeling bug (r=jwwang)
MozReview-Commit-ID: KL5XzLJuWgz
2017-09-11 19:10:59 -07:00
Sebastian Hengst 16e918b99e Backed out changeset bc3d643c4973 (bug 1395973) for failing browser-chrome's toolkit/content/tests/browser/browser_bug982298.js and toolkit/modules/tests/browser/browser_Finder_hidden_textarea.js. r=backout on a CLOSED TREE 2017-09-14 14:48:50 +02:00
Andrea Marchesini b837bb47ab Bug 1399466 - IPCBlobInputStream should not use STS to read from the remote Stream, but DOMFile thread instead, r=smaug 2017-09-14 14:28:29 +02:00
Catalin Badea 82d10f3476 Bug 1395973 - Remove index cache from nsContentIterator. r=masayuki
nsContentIterator used to maintain a stack of indices so that when it
finished iterating through a subtree it would know the position of the
next node. Maintaining this stack is expensive and unnecessary since we
have fast getters for next and previous siblings.
2017-09-14 11:03:45 +01:00
Andrea Marchesini e4901e78cc Bug 1398556 - IPCBlobInputStream should call OnInputStreamReady() on the current thread if ::AsyncWait() is called without passing nsIEventTarget, r=smaug 2017-09-13 15:29:39 +02:00
Christoph Kerschbaumer ece368a815 Bug 1398692: Test toplevel navigation to a data:application/pdf. r=bz 2017-09-14 07:37:07 +02:00
Christoph Kerschbaumer 929390bec4 Bug 1398692: Allow toplevel navigation to a data:application/pdf. r=bz 2017-09-14 07:34:41 +02:00
Alastor Wu 7ed84d4e89 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 30b9dc35f5754d6ecc7cddaf7f5a9fabf9965889
2017-09-13 15:38:24 +08:00
Alastor Wu 10f4de4d65 Bug 1397141 - part7 : update error description in MFR. r=jya
MozReview-Commit-ID: 9Sb5ogX2Bf2

--HG--
extra : rebase_source : 8a2ae32439097c583c63290009b8ca5de36b49a8
2017-09-13 15:38:06 +08:00
Alastor Wu 116ce6a963 Bug 1397141 - part6 : use MediaResult to replace nsresult r=jya
Return MediaResult instead of using nsresult, because it can contain more detailed
error information. We could also return this error with our rejected decode promise.

MozReview-Commit-ID: 80yEAbxqvWu

--HG--
extra : rebase_source : 51a56b571767c6b64f0c92353585261b28ea5616
2017-09-13 15:37:50 +08:00
Alastor Wu 686b38b20a Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: 9aKyYftBnUo

--HG--
extra : rebase_source : a497e12d98e3a2b0e0ec2afa60298cacbe1a5ea9
2017-09-13 15:37:24 +08:00
Alastor Wu 1df67c03cc Bug 1397141 - part4 : change mLastError type to MediaResult r=jya
Change mLastError type to MediaResult and send it as parameter to PDM::CreateVideoDecoder
in order to get detailed error description.

MozReview-Commit-ID: 4sIRXTHsrzr

--HG--
extra : rebase_source : 23d72cc72f5683305745024de913f44298d717d5
2017-09-13 15:05:52 +08:00
Alastor Wu b89748ad91 Bug 1397141 - part3 : remove the minimum resolution check. r=jya
After bug 1392143, we won't enable HW decoding for the resolution < 132 pixels.
In addition, software decoder doesn't have the minimum resolution limit, so
we can remove the minimum resolution check.

MozReview-Commit-ID: 7MiLpwjiq3s

--HG--
extra : rebase_source : 742556f6f2fb40b3e5e69212707a606d3b22ed36
2017-09-13 15:05:45 +08:00
Alastor Wu 0eecc91949 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
Alastor Wu 95cde08ed5 Bug 1397141 - part1 : update error description for getting more details r=jya
We should report the more detailed error when creating the decoder failed,
instead of just reporting "can not create decoder".

MozReview-Commit-ID: 8vunP5c3zzI

--HG--
extra : rebase_source : 327a988463bf61ad17d1f93bf0a2640d9c9735c7
2017-09-13 15:05:25 +08:00
Sebastian Hengst f992c70670 Backed out changeset 6f22cc93383c (bug 1397141) for bustage at dom/media/ipc/VideoDecoderParent.cpp:87 (undeclared variable). r=backout on a CLOSED TREE 2017-09-13 09:26:39 +02:00
Sebastian Hengst 483665f6a4 Backed out changeset 81a987374ac7 (bug 1397141) 2017-09-13 09:25:55 +02:00
Sebastian Hengst 4492018f6a Backed out changeset 57ab4c51c72b (bug 1397141) 2017-09-13 09:25:50 +02:00
Sebastian Hengst f550df3a8e Backed out changeset 9140f22570ea (bug 1397141) 2017-09-13 09:25:44 +02:00
Sebastian Hengst 7d84900829 Backed out changeset 6dade48b3326 (bug 1397141) 2017-09-13 09:25:39 +02:00
Sebastian Hengst 2e68cb77ba Backed out changeset c78c096d0be9 (bug 1397141) 2017-09-13 09:25:33 +02:00
Sebastian Hengst 6f1ea8f932 Backed out changeset eab2e401c60f (bug 1397141) 2017-09-13 09:25:28 +02:00
Sebastian Hengst d7f084f99d Backed out changeset f6f5863e50a8 (bug 1397141) 2017-09-13 09:25:22 +02:00
Alastor Wu d3b21ca470 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 36cdd1e18cd41516319989b56e4e83888b0ecf50
2017-09-13 15:06:22 +08:00
Alastor Wu 0fc4a508a5 Bug 1397141 - part7 : update error description in MFR. r=jya
MozReview-Commit-ID: 5QPdFCMesi5

--HG--
extra : rebase_source : e62040cbeccd55a30ffe3b7b2d16010f7c86ee6f
2017-09-13 15:06:14 +08:00
Alastor Wu 3da04770d6 Bug 1397141 - part6 : use MediaResult to replace nsresult r=jya
Return MediaResult instead of using nsresult, because it can contain more detailed
error information. We could also return this error with our rejected decode promise.

MozReview-Commit-ID: HrI3QKlSJC

--HG--
extra : rebase_source : 6aba73c887e3068bf2a3f031a9a3b0698decc2e3
2017-09-13 15:06:07 +08:00
Alastor Wu 45f6a63ccf Bug 1397141 - part5 : update error description from GPU process. r=jya,mattwoodrow
MozReview-Commit-ID: CuBZOtjh4g2

--HG--
extra : rebase_source : 82c68ea3fe54b148b0cf98fe37d954efd4acbcbe
2017-09-13 15:05:59 +08:00
Alastor Wu 6db87eb5d6 Bug 1397141 - part4 : change mLastError type to MediaResult r=jya
Change mLastError type to MediaResult and send it as parameter to PDM::CreateVideoDecoder
in order to get detailed error description.

MozReview-Commit-ID: 4sIRXTHsrzr

--HG--
extra : rebase_source : 23d72cc72f5683305745024de913f44298d717d5
2017-09-13 15:05:52 +08:00
Alastor Wu 8b50e7758a Bug 1397141 - part3 : remove the minimum resolution check. r=jya
After bug 1392143, we won't enable HW decoding for the resolution < 132 pixels.
In addition, software decoder doesn't have the minimum resolution limit, so
we can remove the minimum resolution check.

MozReview-Commit-ID: 7MiLpwjiq3s

--HG--
extra : rebase_source : 742556f6f2fb40b3e5e69212707a606d3b22ed36
2017-09-13 15:05:45 +08:00
Alastor Wu 8c01968e21 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
Alastor Wu 34ef9f5aa2 Bug 1397141 - part1 : update error description for getting more details r=jya
We should report the more detailed error when creating the decoder failed,
instead of just reporting "can not create decoder".

MozReview-Commit-ID: 8vunP5c3zzI

--HG--
extra : rebase_source : 327a988463bf61ad17d1f93bf0a2640d9c9735c7
2017-09-13 15:05:25 +08:00
Jean-Yves Avenard f33ffdaa12 Bug 1352016 - P5. Also check AMD cards with 0x1002 device id. r=mattwoodrow
MozReview-Commit-ID: DjCMDNfsfXe

--HG--
extra : rebase_source : de6814743e405d396d9ae479ed7646fa8de021d1
2017-09-10 18:17:14 +02:00
Jean-Yves Avenard 9f62aa3667 Bug 1352016 - P1. Add method to check if NV12 rendering is usable. r=mattwoodrow
It will allow to blacklist all NVidia Tesla and AMD UVD3 GPU.

MozReview-Commit-ID: LaJqyIj0Yau

--HG--
extra : rebase_source : aa93c4379181e2cb09733f0053de55bf64787ef6
2017-09-10 17:51:35 +02:00
Sebastian Hengst 0987151cd8 merge mozilla-central to autoland. r=merge a=merge 2017-09-12 11:36:32 +02:00
Nicholas Nethercote 2ef37710e7 Bug 1395828 (part 4) - Remove nsIParserService/nsParserService. r=mrbkap.
It a stateless wrapper around static methods in nsHTMLTags and nsHTMLElement,
and hence an unnecessary layer of indirection that just adds complexity and
slowness. This patch removes it, cutting almost 300 lines of code.

This requires making nsElementTable.h an exported header, to expose the
nsHTMLElement methods.

--HG--
extra : rebase_source : abbcb8e5001389affbf717092213b898673db07f
2017-09-05 20:19:06 +10:00
Sebastian Hengst 123fb86836 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-14 00:15:34 +02:00
Boris Zbarsky 19700317d5 Bug 1396520. Add back in the IsInSelection() check in IsNodeSelected. r=mats
This should really always test true, but apparently sometimes doesn't...
that's quite strange.  Hopefully the diagnostic asserts will help pin down how
it can happen.

MozReview-Commit-ID: 4bxdalIaUnQ
2017-09-13 16:53:45 -04:00
Florian Quèze cc2e281b3b Bug 1398198 - browser_startup_content.js should show the stack when a JS file was loaded earlier than expected, r=felipe,qdot. 2017-09-13 21:19:55 +02:00
J.C. Jones f699a8f77b Bug 1400066 - Gracefully handle unsupported platforms for U2F HID support r=ttaubert
FreeBSD isn't currently support for FIDO U2F support, similar to Android, so
this patch [1] from Jan Beich <jbeich@FreeBSD.org> treats Android and FreeBSD
the same. With luck, someone will add in the platform support for both, soon!

[1] https://github.com/jcjones/u2f-hid-rs/pull/44

MozReview-Commit-ID: DU7Rco2NLb3

--HG--
rename : dom/webauthn/u2f-hid-rs/src/android/mod.rs => dom/webauthn/u2f-hid-rs/src/stub/mod.rs
2017-09-14 18:11:47 -07:00
J.C. Jones 29d179c6cf Bug 1400080 - Remove impossible telemetry test from WebAuthn r=ttaubert
Now that there are actual hardware devices, this test can't be run: it
depended on there being a deliberately-erroring implementation of WebAuthn
which would instantly reject promises. Fortunately, this test was really more
a test that telemetry scalars work properly than really the functionality
of WebAuthn.

Sadly, I don't see any way to re-enable this test without adding a new test-
only pref to the tree, which doesn't seem worth it for the telemetry.

So this patch removes the offending test completely which was backed out in
https://hg.mozilla.org/integration/mozilla-inbound/rev/c115eec567a6 .

MozReview-Commit-ID: LiLuQHbPU1z
2017-09-14 19:17:52 -07:00
Mike Hommey 8cdad036f1 Bug 1398965 - Fold memory/mozjemalloc into memory/build. r=njn
The files relevant to the memory allocator are currently spread between
memory/mozjemalloc and memory/build, and the distinction was
historically from sharing some Mozilla-specific things between
mozjemalloc and jemalloc3. That distinction is not useful anymore, so
we fold everything together.

As we will likely rename the allocator at some point in the future, it
is preferable to move away from the mozjemalloc directory rather than in
its direction.

--HG--
rename : memory/mozjemalloc/Makefile.in => memory/build/Makefile.in
rename : memory/mozjemalloc/mozjemalloc.cpp => memory/build/mozjemalloc.cpp
rename : memory/mozjemalloc/mozjemalloc.h => memory/build/mozjemalloc.h
rename : memory/mozjemalloc/mozjemalloc_types.h => memory/build/mozjemalloc_types.h
rename : memory/mozjemalloc/rb.h => memory/build/rb.h
2017-09-12 13:14:35 +09:00
Wes Kocher c36e650732 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7Z1eEWwhzZC
2017-09-18 16:25:06 -07:00
Alastor Wu da413dafe6 Bug 1400758 - part3 : report the error description with InitPromise for ffmpeg decoders. r=jya
MozReview-Commit-ID: 3MGmU34JY3t

--HG--
extra : rebase_source : 154697238162ff92f861e7cbaa1a6d22b1ee13f4
2017-09-18 18:10:05 +08:00
Alastor Wu 9d25af9bef Bug 1400758 - part2 : report the error description with InitPromise for agnostic decoders. r=jya
MozReview-Commit-ID: BxTTHJPwDNq

--HG--
extra : rebase_source : e634e0a7d61da02f258b7736e69afa249dd2c6ee
2017-09-18 18:10:00 +08:00
Alastor Wu 1dc98ba99e Bug 1400758 - part1 : report the error description with InitPromise for Apple's decoders. r=jya
MozReview-Commit-ID: 8rifWLm8BPt

--HG--
extra : rebase_source : 44dcc34ba665a238a3bc72a7c610484e860ddb8a
2017-09-18 18:05:21 +08:00
FSeita f3d5101a06 Bug 1376333 - Improve naming of accumulation types & variables r=Dexter
MozReview-Commit-ID: F9w7CLUOP6r

--HG--
extra : rebase_source : 5330f9cb47145f5867a92277f4fa6c610e8eed56
2017-09-13 11:20:36 +02:00
James Cheng 277ad84673 Bug 1400180 - Fix CID 1417508 Uninitialized members of TextTrackCue::mLine and mPosition by giving them default values. r=alwu
MozReview-Commit-ID: CB6980MNqP1

--HG--
extra : rebase_source : 732149b1fa7d5a30b662ac179e8db59f12f4f2f6
2017-09-15 17:12:38 +08:00
Sebastian Hengst 33ee80a6b2 merge mozilla-central to autoland. r=merge a=merge 2017-09-15 11:08:55 +02:00
Jean-Yves Avenard f170080ea4 Bug 1397307 - P10. Remove uncessary loop. r=gerald
We only process a demuxed sample at a time. Waiting until one is decoded to do the next pending ones.

MozReview-Commit-ID: JlXhyPzso8U

--HG--
extra : rebase_source : c11185ca75fd5950aa4273dd9ec03d2cf9b217ba
2017-09-14 14:45:10 +02:00
Jean-Yves Avenard f1c09e4a82 Bug 1397307 - P9. Pass video frame rate to RemoteVideoDecoder and GPU process. r=mattwoodrow
MozReview-Commit-ID: BDSO332f3B6

--HG--
extra : rebase_source : 1ef2b6d7b1c4e237fa90afa99a446678f0f16e25
2017-09-12 18:29:40 +02:00
Jean-Yves Avenard b787f86de0 Bug 1397307 - P8. Pass averaged video frame rate to constructor. r=mattwoodrow
MozReview-Commit-ID: FMFz3RdFsHA

--HG--
extra : rebase_source : 868c4177da4aecbf5b7c13e441aa15fe865fd66e
2017-09-12 17:55:03 +02:00
Jean-Yves Avenard e1eaa06ce9 Bug 1397307 - P7. Display video resolution and frame rate in debug data. r=gerald
MozReview-Commit-ID: 9vsheKkAm4p

--HG--
extra : rebase_source : 701231cbb976f72819eab7de20c9a5d9c5780136
2017-09-12 17:40:42 +02:00
Jean-Yves Avenard a73b2aa424 Bug 1397307 - P6. Calculate average video frame rate as video is playing. r=gerald
We unfortunately can't store this information in the VideoInfo as typically the framerate isn't found in the container's metadata. Additionally, the VideoInfo object is readable-only as it is shared across threads.

As such, we can only estimate it as we demux samples.

MozReview-Commit-ID: 5HB33ubfGAs

--HG--
extra : rebase_source : 1d6d09da76a99524422b14d50db477a9aa222da0
2017-09-12 21:20:09 +02:00
Jean-Yves Avenard 6940b5e2e4 Bug 1397307 - P5. Avoid creating two decoders on first sample. r=gerald
Don't unnecessarily, create a decoder, flush, shutdown and create a new one on the first sample.

MozReview-Commit-ID: 8utEX5JEmq8

--HG--
extra : rebase_source : e40548e7ef4ad1a8e3c57f3070a2ffc77bf81a3f
2017-09-12 21:02:24 +02:00
Jean-Yves Avenard ac903423a4 Bug 1397307 - P4. Fix style. r=gerald
MozReview-Commit-ID: 1Q3kwsDlAhI

--HG--
extra : rebase_source : 1de597c71be3793000fc5787e1cd276bb7d2704a
2017-09-12 11:09:15 +02:00
Jean-Yves Avenard aa5caa2ae1 Bug 1397307 - P3. Remove unused method. r=gerald
Code was incorrect anyway.

MozReview-Commit-ID: Bf0O4Mhu1P6

--HG--
extra : rebase_source : 79ff66e3bec257b9f72e8af9b06b023715172d69
2017-09-11 17:37:44 +02:00
Jean-Yves Avenard c59188889b Bug 1397307 - P2. Wrap boolean in structure to prevent unwanted conversion. r=gerald
Automatic conversion (say from int to bool) makes DecoderParam difficult to extend.

MozReview-Commit-ID: G0T7jPogskN

--HG--
extra : rebase_source : 59437fd2b430ccd6be50b18c98b5a5c4ed2c8240
2017-09-08 15:45:38 +02:00
Jean-Yves Avenard d9036ddaef Bug 1397307 - P1. Make method const. r=gerald
MozReview-Commit-ID: 2UrTZroXpRG

--HG--
extra : rebase_source : d3c95c1c07fb46d28d7aea9fc8891894e7024b5a
2017-09-08 12:49:01 +02:00
Shane Caraveo 85604b0c2b Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
MozReview-Commit-ID: HjLLa9vx2UW

--HG--
extra : rebase_source : d37088f31931a74ef2c40dc510794ebc5f4931ab
2017-09-14 15:12:45 -07:00
JW Wang 2df8570673 Bug 1399358 - call mDecoder->CanPlayThrough() so MDSM has a chance to exit buffering quickly. r=gerald
MozReview-Commit-ID: A5e3A8HV2ih

--HG--
extra : rebase_source : a70fdd615b178b9d110b66d64c874c55295d401d
2017-09-13 12:43:33 +08:00
JW Wang fbbf253722 Bug 1398711. P2 - write to mClosed only when the cache monitor is held. r=gerald
This fixes the data race when Seek() read mClosed off the main thread.

MozReview-Commit-ID: GO7Kk5VgVpg

--HG--
extra : rebase_source : e29353aea1e077e30fd284a80a56472d6772e9e1
extra : intermediate-source : 20a5860220a6eb54616cbe059afdaebc81e07e1f
extra : source : 0722d581e2d03eb140ea722527975534471c31b5
2017-09-08 17:46:56 +08:00
JW Wang 0c7c4a09c5 Bug 1398711. P1 - remove unused methods. r=gerald
MozReview-Commit-ID: HHezNUArhVd

--HG--
extra : rebase_source : 4e139d0640dd7335e23332af9d56b88ae499a6e2
extra : intermediate-source : cb1e92dbd1f53874c8d41e36f317c4c5c61bbacf
extra : source : e24555972c08b134654847d950a523c1a836bdb5
2017-09-08 17:35:11 +08:00
James Cheng fd751ffde2 Bug 1398102 - [Part2] Fix test fail due to wrong assumption. r=gerald
MozReview-Commit-ID: 1wRNQ2oIY1w

--HG--
extra : rebase_source : f2822a79a2af2a0a2f2e0db0000f885c550db8d7
2017-09-12 17:28:48 +08:00
James Cheng 073b9ad68c Bug 1398102 - [Part1] canPlayType should return 'maybe' if the codec parameter is empty. r=gerald
MozReview-Commit-ID: BmzIUOuaTj9

--HG--
extra : rebase_source : d23d70aeb6097c0ba31f810240594ca4daa52f20
2017-09-11 17:17:55 +08:00
JW Wang 8fb5559c5f Bug 1395855. P2 - store the offset of range request. r=cpearce
So we know what to pass to SetupChannelHeaders()
when the channel is redirected.

MozReview-Commit-ID: DbCPGA3qIyn

--HG--
extra : rebase_source : 4b8a5b620344fa261b243c0935ce49ebb7a9b4aa
extra : source : dfe1a9fe59a623f4d1972f3184a5861cfef62ffd
2017-09-09 00:37:40 +08:00
JW Wang 7a2d2e198c Bug 1395855. P1 - remove ChannelMediaResource::mOffset so we have less data race to worry about. r=cpearce
We have MediaCacheStream::mChannelOffset to keep the download positon.
We don't need 2 variables for the same purpose.

MozReview-Commit-ID: IpnEJWuA9A9

--HG--
extra : rebase_source : 8e720d878c12555d0a5528167c183ddb881b249e
extra : source : 623cf4cc3ab5ad0d9d263bac05a58699b3577277
2017-09-08 15:09:37 +08:00
Sebastian Hengst 797770f328 Backed out changeset 939ecf1b80cb (bug 1398102) for failing mda's dom/media/test/test_can_play_type_wave.html. r=backout 2017-09-12 11:03:50 +02:00
James Cheng ae3bc947af Bug 1398102 - canPlayType should return 'maybe' if the codec parameter is empty. r=gerald
MozReview-Commit-ID: BmzIUOuaTj9

--HG--
extra : rebase_source : 530b713cf259920b65181d9459323f5f14bae39e
2017-09-11 17:17:55 +08:00
Emilio Cobos Álvarez afb59c871d Bug 1387942: Relax backdrop frame parenthood assertion, and re-enable test. r=xidorn
MozReview-Commit-ID: 99I3apwe52l

--HG--
extra : rebase_source : a9900b925cb58e095572fca75e211cc0e16c942f
2017-09-12 08:41:17 +02:00
JW Wang 7f866dd54e Bug 1399372 - update the principal only once per OnDataAvailable() call. r=cpearce
MozReview-Commit-ID: BWyDmKglWsl

--HG--
extra : rebase_source : a9563cf9c04e462dc4c80779b8a587f420bb5499
extra : intermediate-source : 9d12fff4917b308011d37de8172f8f5036308271
extra : source : 4150f78ba66d820509b0bae87cc47e39c2f4ade1
2017-08-29 17:57:00 +08:00
Chris Pearce 52ca837455 Bug 1399559 - Include nsXULAppAPI.h in AudioStream.cpp. r=jwwang
This ensures XRE_IsContentProcess() is defined, as it's used in this file.

MozReview-Commit-ID: JFCmvZ8aZdT

--HG--
extra : rebase_source : 5852da1b4b76f767e7d36071cdfa1f97eaedbf8c
2017-09-14 15:56:35 +12:00
Andrew McCreight 58abe33226 Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection. r=smaug
nsISelectionPrivate is accessible to script, while nsISelection is
not, so making the former inherit from the latter means script doesn't
have a complete view of the inheritance chain so the XPIDL compiler
produces an error.

It turns out that nothing in script relies on this inheritance, which
makes sense because I'm not sure how it would even work, so just
remove it.

MozReview-Commit-ID: 3Py2T7cprlD

--HG--
extra : rebase_source : 89fac3ad0f7a30c1c71da79d554ebfa153d5fb33
2017-09-11 15:19:22 -07:00
Emilio Cobos Álvarez 37df721a48 Bug 1397983: Synchronously bind/unbind XBL anonymous content from the bound content's Bind/UnbindFromTree. r=smaug
Doing it off a runnable makes the flattened tree inconsistent until that
runnable runs.

Also add an assert in frame construction that would've caught the first
only-unbind patch.

MozReview-Commit-ID: Hnua3aWSMHi

--HG--
extra : rebase_source : 2781e3b0a3f28b6b6a620902e7414dfe682fba51
2017-09-08 14:59:04 +02:00
Emilio Cobos Álvarez 82a163baff Bug 1397983: Rename nsXBLBinding::{Install,Uninstall}AnonymousContent to {Bind,Unbind}AnonymousContent. r=smaug
MozReview-Commit-ID: LZCjwiNtMYZ

--HG--
extra : rebase_source : 2e5f2d65f876d34c8ad97af6530b79e82cf94a30
2017-09-11 13:11:01 +02:00
Wes Kocher 7a8b3e02a0 Backed out 4 changesets (bug 1352016) for gfx crashes in test_TelemetryEnvironment.js a=backout CLOSED TREE
Backed out changeset dd7342e18e67 (bug 1352016)
Backed out changeset ebc7c92e8dc0 (bug 1352016)
Backed out changeset e79e512f803f (bug 1352016)
Backed out changeset 9eed6a69298c (bug 1352016)

MozReview-Commit-ID: CYDuqu0Hmtb
2017-09-12 17:09:40 -07:00
Jean-Yves Avenard 17b5da90db Bug 1352016 - P4. Also check AMD cards with 0x1002 device id. r=mattwoodrow
MozReview-Commit-ID: DjCMDNfsfXe

--HG--
extra : rebase_source : 671c9ae8bbf36ac825f68485072df7afd464f4c1
2017-09-10 18:17:14 +02:00
Jean-Yves Avenard 0d3f904559 Bug 1352016 - P1. Add method to check if NV12 rendering is usable. r=mattwoodrow
It will allow to blacklist all NVidia Tesla and AMD UVD3 GPU.

MozReview-Commit-ID: LaJqyIj0Yau

--HG--
extra : rebase_source : aa93c4379181e2cb09733f0053de55bf64787ef6
2017-09-10 17:51:35 +02:00
Daosheng Mu a9f76cd981 Bug 1383907 - Enable WebVR reftests on macOS; r=jgilbert,kip
MozReview-Commit-ID: 2OpA95QWI4d

--HG--
extra : rebase_source : b2457c5690fe8290d407c7fab11f29afdeda159c
2017-08-25 00:30:31 +08:00
Daosheng Mu 6eef084a6c Bug 1398404 - Make current context when updating max draw buffers; r=jgilbert
MozReview-Commit-ID: 1OSjjMwCpBb

--HG--
extra : rebase_source : 24f82404dcc4372f8b05e9778efa1d335ad786ad
2017-09-11 10:30:48 +08:00