Commit Graph

59641 Commits

Author SHA1 Message Date
Milan Sreckovic
c7daab6df3 Bug 1329796 - Don't cache the mTarget too soon. r=mstange 2017-02-06 19:32:50 -05:00
Haik Aftandilian
2171e6dee8 Bug 1333681 - Part 1 - Normalize profile path before use in sandbox rules to avoid symlink issues; r=gcp
MozReview-Commit-ID: 1vHJePZ8CPy

--HG--
extra : rebase_source : aa1414ce23f7b29be559e3361cc97effe4268bd5
2017-01-24 20:06:35 -08:00
Jean-Yves Avenard
b3e9c44871 Bug 1334971: P2. Fix coding style. r=gerald
MozReview-Commit-ID: 1xMcYn354NT

--HG--
extra : rebase_source : efa9bfd79cbcc5ea402fbc7e421d35e6168b84cb
2017-02-07 07:57:04 +01:00
JW Wang
f40aaeaffc Bug 1336356 - Ensure MediaDecode::Shutdown() is called by MediaShutdownManager::BlockShutdown(). r=gerald
MozReview-Commit-ID: 80AFMafXoeB

--HG--
extra : rebase_source : 8b51b6c9fe4b83b4639c7ae081854307c4308391
extra : source : 7ca33be035c12485e0d6529c529b0cda914fd405
2017-02-03 17:12:38 +08:00
JW Wang
5e4268b4a8 Bug 1336345. Part 2 - some code cleanup. r=gerald
MozReview-Commit-ID: 1XHkvz4aWxB

--HG--
extra : rebase_source : e4a729d95630f762dc509d1c8f0358e9b3627cf6
extra : source : 4367d744807385cbba96fa0d7e9250e0d6329ba6
2017-02-03 15:16:50 +08:00
JW Wang
f5d46474d6 Bug 1336345. Part 1 - register shutdown blocker only once when the 1st MediaDecoder is created. r=gerald
MozReview-Commit-ID: 80DEZEEhm9E

--HG--
extra : rebase_source : 25db947e54192d37f8edf9461ae011c164ad708b
extra : source : 1785526b2065f6dd314218e19e75b770bab8a08e
2017-02-03 15:12:22 +08:00
Wes Kocher
7f456db28c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2iqmlA6R1S4
2017-02-06 17:52:26 -08:00
Kearwood Gilbert
7ea47574c2 Bug 1325428 - Disable bfcache for WebVR pages r=smaug
MozReview-Commit-ID: fymOSOEoDC

--HG--
extra : rebase_source : 111b3b6e5ba3e83e59cbe46244e080e4d42c9746
2017-02-03 16:49:15 -08:00
Chris Pearce
4757b59a5b Bug 1337159 - Use MOZ_LOG for WidevineAdapter logging. r=gerald
This works, at least on Windows, if the NSPR_LOG_FILE is set at a file
in the OS temp dir. This means we can turn on CDM logging in release
builds, in the sandboxed child process, without needing to recompile
to #define on logging.

This will make debugging issues with the CDM easier.

MozReview-Commit-ID: 6cAxMy4lv3T

--HG--
extra : rebase_source : eb75bba8e0dc38d1a0137cef28b7589ded43351a
2017-02-07 10:12:06 +13:00
Tomislav Jovanovic
22c41867ed Bug 1335890 - Factor out nsContentUtils::SubjectPrincipal version that takes JSContext r=bz
MozReview-Commit-ID: CGRipgKUm7g

--HG--
extra : rebase_source : 33c2dbd7eaad80a3e523113aa8217ba1e086572a
2017-02-05 23:19:26 +01:00
Jay Harris
c1706f8fa9 Bug 1335543 - Calls the bail function r=jwwang
MozReview-Commit-ID: KzUJRCi7tsW

--HG--
extra : rebase_source : a47ec4486a9f90a56fa79c2a8f4ea1bae3b927ad
2017-02-01 10:30:03 +13:00
Andrea Marchesini
16bc4a8d06 Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup 2017-02-07 08:58:35 +01:00
Kevin Chen
3f7720742d Bug 1331857 - Create class BasicRenderingContext2D. r=gwright 2017-02-02 22:43:00 +01:00
Chris Peterson
1db7fcec65 Bug 1336778 - Part 1: Remove always-false #if WINVER < _WIN32_WINNT_WIN7 (0x0601) check in dom/media. r=cpearce
As of bug 1325299, WINVER is always >= 0x0601 (Windows 7).

MozReview-Commit-ID: BJYg9d3zuYx

--HG--
extra : source : 4eff752dd001a722fe1d8e60e56ccb5f70c8d872
2017-01-25 00:13:33 -08:00
Carsten "Tomcat" Book
64c9244019 Merge mozilla-central to mozilla-inbound 2017-02-06 13:06:26 +01:00
Carsten "Tomcat" Book
c95dc46546 merge mozilla-inbound to mozilla-central a=merge 2017-02-06 12:56:49 +01:00
Ben Kelly
b639eaf199 Bug 1336598 P3 Add preferences to control timeout back pressure algorithm. r=smaug 2017-02-05 21:50:12 -05:00
Ben Kelly
cc8571902b Bug 1336598 P2 Avoid underflow in timeout CancelOrUpdateBackpressure(). r=smaug 2017-02-05 21:50:09 -05:00
Ben Kelly
10744cc4bb Bug 1336598 P1 Tune setTimeout anti-flood constants to minimize jank. r=smaug 2017-02-05 21:50:07 -05:00
Chun-Min Chang
9efca17a07 Bug 1321502 - part 2: Use preferred layout for initializing cubeb when audio queue is empty; r=jya
MozReview-Commit-ID: BDEb8IxuJRn

--HG--
extra : rebase_source : a3bc1ea315c6a00d479a1b7da3eb14d89f458b2d
2017-02-04 08:22:15 +08:00
Chun-Min Chang
561671475d Bug 1321502 - part 1: Enable multi-channel support in Gecko on Windows; r=jya
MozReview-Commit-ID: KURUk3EffOu

--HG--
extra : rebase_source : a0ce3fb8691f45a33995a3ce1ba895c254a35c8c
2017-01-26 17:35:31 +08:00
Phil Ringnalda
7d78556bf0 Backed out 2 changesets (bug 1336345) for gtest timeouts and crashes in test_data_protocol_registration.js
CLOSED TREE

Backed out changeset c4247e22a8ff (bug 1336345)
Backed out changeset 05e8e7d0f430 (bug 1336345)
2017-02-05 20:40:19 -08:00
JW Wang
4182436102 Bug 1336345. Part 2 - some code cleanup. r=gerald
MozReview-Commit-ID: 1XHkvz4aWxB

--HG--
extra : rebase_source : 5303151acf39cbd05ee07d643c834b38d99c2562
extra : source : 4367d744807385cbba96fa0d7e9250e0d6329ba6
2017-02-03 15:16:50 +08:00
JW Wang
b2d7143749 Bug 1336345. Part 1 - register shutdown blocker on startup. r=gerald
MozReview-Commit-ID: 80DEZEEhm9E

--HG--
extra : rebase_source : 4c582b3ab3356efc166e22aaad5bd79826afaaeb
extra : source : 1785526b2065f6dd314218e19e75b770bab8a08e
2017-02-03 15:12:22 +08:00
Jean-Yves Avenard
7ea5b8ca6d Bug 1319987: P11. Fix MediaDataDecoder gtest. r=gerald
They appear to have been broken for a while. Several months at least.

MozReview-Commit-ID: I71xE91UMOZ

--HG--
extra : rebase_source : 80d179d207c2ae2f808aec573ab47f54f6df4a1d
2017-01-31 20:43:07 +01:00
Jean-Yves Avenard
b7844bd5c3 Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny

--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +01:00
Jean-Yves Avenard
8dcd7e8a30 Bug 1319987: P8. Fix comment. r=gerald
MozReview-Commit-ID: BXZBHdEAY8Z

--HG--
extra : rebase_source : 633be1d45d5afc7e0d8f875ed6dc99a376d0bea4
2017-01-27 11:48:43 +01:00
Jean-Yves Avenard
e2abc1a523 Bug 1319987: P7. Re-implement handling for WaitingForKey in MFR. r=cpearce,gerald
MozReview-Commit-ID: FCiAO54oiH3

--HG--
extra : rebase_source : 898e175742ae4db13c48cf75463a9775968b0030
2017-01-27 11:48:00 +01:00
Jean-Yves Avenard
5e2e07649c Bug 1319987: P6. Shutdown demuxer asynchronously. r=gerald
This prevents the demuxer attempting to use the parent resources once the parent has been shutdown.

MozReview-Commit-ID: LQqPxBkAfAS

--HG--
extra : rebase_source : 1a9c2e870aecb5b0ecb68d5f600c48334ac4d312
2017-01-26 18:17:15 +01:00
Jean-Yves Avenard
73fd84bc5d Bug 1319987: P5. Promisify MediaDataDecoder. r=cpearce,gerald,mattwoodrow,snorp
This is a big change, and unfortunately impossible to break down with independently functional commits.

There are four main changes being applied here:

* Code cleanup, including making all MediaDataDecoder related code mozilla coding style compliant
* Make MediaDataDecoder use MozPromise
* Making Flush and Shutdown processes fully asynchronous
* Fixing few data races encountered across the code, in particular in the Android PDM

MozReview-Commit-ID: DpiZucGofJT

--HG--
extra : rebase_source : 80bd6c6f9726d536b6f306c40d9af6df27333be9
2017-01-26 13:56:46 +01:00
Andreas Farre
a9d97e3d92 Bug 1336229 - Don't dispatch canceled IdleRequestExecutors. r=bkelly
IdleRequestExecutor::MaybeDispatch needs to handle the case when
mWindow is null, due to IdleRequestExecutor::Cancel setting mWindow to
nullptr.

MozReview-Commit-ID: F2Up5mItkqN
2017-02-05 13:40:38 +01:00
Sebastian Hengst
122ebc553b Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout 2017-02-05 10:26:28 +01:00
Aakar Dwivedi
995c71cd97 Bug 1334989 - Parameter in the declaration of the function made same as the one in definition of the function; r=janv 2017-02-05 08:17:45 +01:00
Brad Lassey
ecdf363246 bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Phil Ringnalda
cde93160c2 Merge m-i to m-c, a=merge 2017-02-04 17:05:50 -08:00
Chris Peterson
7ed800f024 Bug 1242321 - Remove obsolete "media.eme.apiVisible" pref. r=cpearce sr=bz
MozReview-Commit-ID: D31Yg1LHI5u

--HG--
extra : rebase_source : 7c608ee93025840fc4f97977feec2ca65ceee263
2017-02-01 22:10:06 -08:00
Wes Kocher
f9c7eaa259 Bug 1336654 - Skip the suddenly permafailing tests to reopen the tree a=me CLOSED TREE
MozReview-Commit-ID: 1KLjbaojvYc
2017-02-03 17:17:51 -08:00
Wes Kocher
b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Ben Kelly
c07494ba04 Bug 1336529 Handle ServiceWorkerInfo destruction while released KeepAliveToken. r=asuth 2017-02-03 14:36:27 -05:00
Andrea Marchesini
f7dc102b1b Bug 1336481 - Window is not used in the ErrorCallback runnable in the Entries API, r=qdot 2017-02-03 19:51:24 +01:00
Ehsan Akhgari
e194de018f Bug 1334281 - Fix the docgroup key computation to account for things such as null principals, URLs with IP address hostnames, etc.; r=billm 2017-02-03 13:26:03 -05:00
Ehsan Akhgari
012ba2217d Bug 1336213 - Part 2: Remove DOMParser::mOriginalPrincipal; r=bzbarsky 2017-02-03 10:46:45 -05:00
Ehsan Akhgari
d250dc8172 Bug 1336213 - Part 1: Set the right principal on the documents created by DOMParser from the beginning; r=bzbarsky 2017-02-03 10:46:40 -05:00
Ehsan Akhgari
35ff90ed3b Bug 1334047 - Only set the script handling object for XSLT result documents after setting up the principal; r=peterv 2017-02-03 10:35:36 -05:00
Tim Huang
a7c11235fd Bug 1312954 - Part 6: Update all callers of network predictor, and the docshell will update the first party domain if it is a typeContent mozbrowser. r=smaug 2017-02-02 22:16:00 -05:00
Jessica Jong
ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Carsten "Tomcat" Book
3860f49d11 Merge mozilla-central to mozilla-inbound 2017-02-03 13:32:38 +01:00
Carsten "Tomcat" Book
e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Andrea Marchesini
c58769de70 Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly 2017-02-03 08:35:19 +01:00
Andrea Marchesini
899a146699 Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug 2017-02-03 08:28:52 +01:00
Andrea Marchesini
2134b5e0e7 Bug 1336044 - No needs of JSContext in SharedWorker CTOR, r=qdot 2017-02-03 07:46:22 +01:00
Phil Ringnalda
6bfdccc26e Merge m-c to m-i 2017-02-02 22:11:09 -08:00
Phil Ringnalda
b1aadb3572 Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Phil Ringnalda
abe2443efb Merge m-c to m-i 2017-02-02 21:26:26 -08:00
Phil Ringnalda
d685853b46 Merge autoland to m-c, a=merge 2017-02-02 20:52:46 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Bobby Holley
c35f772b59 Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00
Boris Zbarsky
08d76ec702 Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Boris Zbarsky
bcc1d4ab44 Bug 1335654 part 3. Implement actually throwing a SecurityError when cross-origin property accesses are denied. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
9516d2d41d Bug 1334957 part 3. Remove the use of IsCallerChrome() in NotifyPaintEvent. r=smaug 2017-02-01 18:26:31 -05:00
Boris Zbarsky
48f43b7f91 Bug 1334957 part 2. Remove all the accessors from the XPCOM interface for NotifyPaintEvent. r=smaug 2017-02-02 12:48:48 -05:00
Boris Zbarsky
52e939e98d Bug 1334957 part 1. Mark NotifyPaintEvent and all its members as chromeonly. r=smaug 2017-02-01 18:12:38 -05:00
Sebastian Hengst
3b7bb25ac6 Backed out changeset bf20544a7385 (bug 1336043) for failing wpt interfaces.worker.html. r=backout 2017-02-02 17:35:46 +01:00
Paul Adenot
0ac29668f5 Bug 1336098 - When the input is silent, AnalyserNode.getFloatFrequencyData should put -Infinity in the buffer. r=pehrsons 2017-02-02 17:13:13 +01:00
Sebastian Hengst
4c5957bbd3 Backed out changeset c724fbd9c326 (bug 1332812) for build bustage. r=backout on a CLOSED TREE 2017-02-02 16:58:52 +01:00
Sebastian Hengst
1fef20171e Backed out changeset bfaa720977d2 (bug 1336018) for failing test_exception_messages.html. r=backout on a CLOSED TREE 2017-02-02 16:51:55 +01:00
Sebastian Hengst
cf329a5f4a Backed out changeset 95fe30082f2c (bug 1334564) 2017-02-02 16:51:18 +01:00
Boris Zbarsky
b249de7c3a Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Boris Zbarsky
c22552fc85 Bug 835981 part 7. Remove all the remaining bits of nsIDOMXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
ac6be6fde3 Bug 835981 part 6. Change nsIDOMXULElement::GetControllers consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
e57875aac9 Bug 835981 part 4. Change nsXULElement::ClickWithInputSource to return void and switch consumers of nsIDOMXULElement::Click to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
acd21dac48 Bug 835981 part 3. Switch nsIDOMXULElement::DoCommand consumers to nsXULElement instead. r=peterv 2017-02-02 10:32:57 -05:00
Boris Zbarsky
67e1896e97 Bug 835981 part 2. Switch nsIDOMXULElement::GetDatabase consumers to nsXULElement instead. r=peterv 2017-02-02 10:32:57 -05:00
Boris Zbarsky
5e86c194f6 Bug 835981 part 1. Switch nsIDOMXULElement::GetBuilder consumers to nsXULElement instead. r=peterv 2017-02-02 10:32:57 -05:00
Andrea Marchesini
8aa589ac59 Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly 2017-02-02 16:15:24 +01:00
Andrea Marchesini
8f2647aa6b Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug 2017-02-02 15:25:54 +01:00
Andrea Marchesini
73af520c01 Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug 2017-02-02 15:15:54 +01:00
Mats Palmgren
7d5c410670 Bug 1335515 - Add mozilla:: prefix to make MediaEngine.h compile with --disable-webrtc. r=jesup
Part of the original patch already landed in Bug 1335250
2017-02-02 09:12:29 -05:00
Mike Shal
795f995ed4 Bug 1335796 - Move WebIDL parser tests out of 'make check'; r=dustin,Ms2ger
This test suite involves a bunch of python tests which don't require
configure or any generated binaries to run. We can split them out into a
Taskcluster linter type task to run directly on the source tree in
parallel with builds.

MozReview-Commit-ID: 9ux3rAuFXAY

--HG--
extra : rebase_source : 95378cd686644e34ea017c682d7384906b17d13a
2017-01-31 19:08:50 -05:00
Andrew Swan
9e4e48131a Bug 1335829 Add mozAddonManager.permissionPromptsEnabled r=qdot
MozReview-Commit-ID: FldFilY24kf

--HG--
extra : rebase_source : 19a8996a443098fbe095cd14653d10dc80f30b68
2017-02-02 10:59:54 -08:00
Kirk Steuber
a2a797193b Bug 1323064 - Remove Flash from navigator.plugins when Flash is blacklisted in the document r=bsmedberg
MozReview-Commit-ID: LKjCORgaecI

--HG--
extra : rebase_source : bf07e9da8e0bb1a899c6e81aa66149794aadf8d7
2017-02-02 10:03:51 -08:00
Jay Harris
c2ed7a7dfc Bug 1318792 - Adds a simple test for keys specified in the sgpd r=jya
MozReview-Commit-ID: 8TrZcTVcbzD

--HG--
extra : rebase_source : 93fb734a5960b68039b1acfb9fb9238dae483e76
2017-02-02 09:03:31 +13:00
Paul Adenot
b51488fd48 Bug 1320705 - Add a test to check that decoding an Opus file does to produce a long tail. r=jya
MozReview-Commit-ID: B4IlW1cWYlX
2017-01-27 15:18:58 +01:00
Andrea Marchesini
1fd70e0029 Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
Andrea Marchesini
270f257d6b Bug 1336020 - postMessages should have transferable as [] by default, r=smaug 2017-02-03 11:00:37 +01:00
Carsten "Tomcat" Book
1ce6a28f32 Merge mozilla-central to autoland 2017-02-03 13:33:41 +01:00
Masatoshi Kimura
96feb72589 Bug 1333631 - Fix misuse of nsIFile::GetNativeTarget in dom/filesystem. r=baku
MozReview-Commit-ID: 9VpLg1iNFxs

--HG--
extra : rebase_source : b0c0bc340d206ce967098082e2a341bd2a475b39
2017-01-27 00:48:52 +09:00
Phil Ringnalda
f4d138720a Merge m-c to autoland 2017-02-02 22:11:54 -08:00
Phil Ringnalda
3281b2aab2 Backed out 5 changesets (bug 1328058) for timing out in browser_block_silentAudioTrack_media.js
CLOSED TREE

Backed out changeset 0c48cff3db5d (bug 1328058)
Backed out changeset 37d35ca95b1f (bug 1328058)
Backed out changeset 0c177bdf5ec3 (bug 1328058)
Backed out changeset b369d9999b8a (bug 1328058)
Backed out changeset 61dbcbe35565 (bug 1328058)
2017-02-02 20:59:34 -08:00
Chris Pearce
21ef31a22a Bug 1335295 - [EME] Add pref to override EME decrypt/decode with blank decoder. r=jya
This means we can isolate whether a playback failure is in
the audio or video stream.

MozReview-Commit-ID: G4broHPaAkX

--HG--
extra : rebase_source : a3648a305734cda1b2205fda96009099203a0310
2017-01-31 15:42:45 +13:00
John Lin
f5936d67a7 Bug 1336009 - null Java object check before accessing. r=jchen
MozReview-Commit-ID: 8Wkr2nnXacs

--HG--
extra : rebase_source : e78cf87caf031ab074628035166b58775ce1d01a
2017-02-02 17:14:10 +08:00
Alastor Wu
915bb36a5d Bug 1328058 - part2 : rename function. r=baku
Rename function MaybeNotifyMediaBlocked() to MaybeNotifyMediaBlockStart().

MozReview-Commit-ID: CJyWiKKkpwd

--HG--
extra : rebase_source : 63cb95fd65565bfe872546dd2b4cf5c21d57af47
2017-02-03 11:25:06 +08:00
Alastor Wu
e684e589c7 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : 7b4214f1f552ba75da94e4bb1795178983af20f7
2017-02-03 11:25:04 +08:00
Alastor Wu
b55cdff3c1 Bug 1319771 - part2 : resume foreground window if it was still be blocked. r=baku
In previous patch, we modify the behavior of nsDocument, now it would only resume
window when document has active media components.

However, it causes another issue. If the tab really goes to foreground, but
there is no active media component, the tab would still be blocked and it won't
be resumed anymore.

Therefore, we need to resume it by ourself if the tab is on the foreground but
doesn't be resumed yet.

MozReview-Commit-ID: EdnQ7sRkSJK

--HG--
extra : rebase_source : c2ab932cc3134531e5c49581c5e63b4aabef6ca4
2017-02-03 10:50:07 +08:00
Alastor Wu
9e4d1c7549 Bug 1319771 - part1 : only resume the window when there has active media components. r=baku
For the first pinned tab, it would be set to visible first and then set to
invisible if there exists other tabs after restarting the whole browser.

If the tab is set to visible, we would activate the media component (set the
|mMediaSuspended| in outer window to none-suspend). In this case, the first
pinned tab would be set to visible briefly, but it doesn't mean the tab is in
the foreground, it's just how DOM manage the tab's visibility.

In that moment, none of the media component has been created yet. Therefore, we
would only activate the media component after the audio channel service exists.

MozReview-Commit-ID: 1FgdMq84yWX

--HG--
extra : rebase_source : d5d7568b9f4bfddf2abd0b2c2a4e9391a856882b
2017-02-03 10:48:38 +08:00
Jay Harris
efb83af7fa Bug 1318792 - Adds support for sbgp and sgpd boxes occuring in the sampletable r=jya
MozReview-Commit-ID: JaFGeZKFPRg

--HG--
extra : rebase_source : 07137a6923478b837794a1fa2cf617bfd08e41d6
2017-01-25 11:35:16 +13:00
Jay Harris
107910f23e Bug 1318792 - Adds support for sbgp and sgpd boxes in the traf box r=jya
MozReview-Commit-ID: 7aHEaCTJm22

--HG--
extra : rebase_source : d160d3d64f3848f697e648eae2dafa481800bedd
2017-01-25 12:10:35 +13:00
Hiroyuki Ikezoe
af7c9e29b7 Bug 1326306 - Skip test_restyles.html on Android x86. r=gbrown
MozReview-Commit-ID: AHp28FajVoT

--HG--
extra : rebase_source : 045de247f860c249f6d9f982fa507d6070460bf5
2017-02-02 12:55:59 +09:00
Jeff Gilbert
195cc8411d Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Wes Kocher
5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Jonathan Kew
2e0c0497f2 Bug 1312049 - Switch nsChromeRegistry::GetDirectionForLocale to use uloc_isRightToLeft instead of a list of known-rtl locales, and replace the now-obsolete intl.uidirection.* prefs with a single override intl.uidirection for testing purposes. r=gandalf 2017-02-02 22:12:50 +00:00
Olli Pettay
4999914c19 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:11:00 +02:00
Olli Pettay
01dc764f79 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:07:07 +02:00
Olli Pettay
9cd6e244e9 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=mccr8
--HG--
extra : rebase_source : ed3294efccdcd35f7da5f1b4c59a7d8a30fc491f
2017-02-02 23:32:17 +02:00
Tim Huang
3e5d172c95 Bug 1319773 - Part 1: Add a SubsumesConsideringDomainIgnoringFPD in BasePrincipal. r=baku
--HG--
extra : rebase_source : db853a600e666cd11a140153536427c1f4e5882c
2017-01-18 20:17:19 +08:00
Alastor Wu
504a266d7c Bug 1329179 - only display 'play tab' icon for background tab. r=baku
When user open new tab and then go to the pasted URL (which has autoplaying
media), the "play tab" icon would be displayed briefly, and then change to the
"mute tab" icon.

That is the media element starts before calling nsDocument::PageShow() which
would resume all blocked media in the tab. Before that moment, even the tab is
in the foreground, but we doesn't resume the media yet.

Therefore, we need to check the document's visibility by ourself, and only show
the "play tab" icon for the background blocked tab.

MozReview-Commit-ID: Eg2SD5kpG0j

--HG--
extra : rebase_source : ccf25537904a10e17de2e70650b62fac8f5a3434
2017-01-17 16:30:22 +08:00
JW Wang
dc7d9fc978 Bug 1333289. Part 2 - retrieve debugging data from MediaDecoder/MDSM. r=jya
MozReview-Commit-ID: F4AxZFBPVPB

--HG--
extra : rebase_source : 2f70995597808332749332de8a2b27046b2a702e
extra : source : 66b5a72457bf49b0be90397abfc5bd8c4fe9f828
2017-01-24 10:49:37 +08:00
JW Wang
c6bbdcd459 Bug 1333289. Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. r=bz
MozReview-Commit-ID: AXTpOYaq56A

--HG--
extra : rebase_source : 7a04919aa07c71f42e26d35f81b055dea2ed19f2
extra : intermediate-source : 0ddcc9dc7ba1952a06e2b48593e8b16378847b69
extra : source : 7c1de996eaa5989359debd34b4ec1a5af37f9ee7
2017-01-18 16:14:57 +08:00
Wes Kocher
ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Stone Shih
c1cc98fed4 Bug 1304308: Investigate failure of test_pointerevent_setpointercapture_inactive_button_mouse-manual.html. r=masayuki
This test case should be triggered by pointerover and pointerout. Add new test API to fire mouse event at the specified position and refine the synthesized events fired to the test case to trigger it correctly.

MozReview-Commit-ID: DkLYrD6MwYc

--HG--
extra : rebase_source : f0ae002edcb6f39d301e83fea9bf1e74dc21c62a
2017-01-24 13:03:21 +08:00
Mantaroh Yoshinaga
cbf08f5f05 Bug 1322970 - Use primary frame for checking throttle instead of using style context. r=dholbert,hiro
This changeset will skip finding the first SMIL animation function to affect the sandwich from multiple functions if element hasn't primary frame when composing attributes.
This mean that target element's animation don't need to animate in the following cases.
- ancestor elements has display:none attribute.
- target element have display:none attribute.
- ancestor element's tag produces a non-rendering subtree, by definition (like <desc>).

MozReview-Commit-ID: 253qTpBLc8L

--HG--
extra : rebase_source : c6f0eff440fa5448fc28e5283be68b6e33335b9e
2017-02-02 15:23:22 +09:00
Jean-Yves Avenard
95b4a438ea Bug 1335624: Check mDecoder. r=gerald
Revert commit dd429b170253 (bug 1335390)

Fix CID 1399621

MozReview-Commit-ID: 571uyotVb5c

--HG--
extra : rebase_source : d7095510f2c0006afc6ac16676bf7f03268abbd8
2017-02-01 13:25:12 +01:00
Sylvestre Ledru
21e7d4ff3c Bug 1335324 - Fix a -Wmax-unsigned-zero warnings (std::max(unsigned int, 0u) r=jwatt
MozReview-Commit-ID: BYraLQCG24S

--HG--
extra : rebase_source : 869c42d589176d8e844a873aa16e9826750e593e
2017-02-06 16:21:54 +01:00
Andrea Marchesini
fc26940d57 Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug 2017-02-06 11:07:54 +01:00
Jean-Yves Avenard
c64edca1b9 Bug 1319987: P4. Refactor H264 Converter. r=cpearce
We can make some assumptions now that the Input method is only called once and never again while a decode is pending.

MozReview-Commit-ID: EmzKEcwNY2J

--HG--
extra : rebase_source : 42ae59878962b425970a60abe25d98c023ef4fdf
2016-12-30 21:51:42 +11:00
Jean-Yves Avenard
6a0bd6027f Bug 1319987: P3. Remove Gonk PDM. r=cpearce
The platform is no longer supported, and the promisifying of the MediaDataDecoder makes it not worthwhile to continue maintenance.

MozReview-Commit-ID: FjDzRk5YQp3

--HG--
extra : rebase_source : a28f0e2cada698f5be93c9115b1af6c7789f9d4e
2016-12-30 01:26:12 +11:00
Jean-Yves Avenard
6e774a7bcd Bug 1319987: P2. Remove FuzzingWrapper. r=gerald
It is no longer used and in its current state incompatible with promise based decoders.

We'll re-add it later.

MozReview-Commit-ID: DHsyTsFvTZB

--HG--
extra : rebase_source : 4b1a7dba2a001ff32ffe4ef4df63b91f15a43e83
2016-12-21 10:52:01 +11:00
Jean-Yves Avenard
d144f37888 Bug 1319987: P1. Remove handling for WaitingForKey in MFR. r=cpearce
This is not compatible with promise based decoders. We'll re-implement it in a different fashion later on.

MozReview-Commit-ID: HYBNKVxEUmB

--HG--
extra : rebase_source : fe9f26e47b77a64099a422be844d20f4108663d0
2016-12-20 18:53:39 +11:00
Karl Tomlinson
9c0be75890 bug 1331320 test that a crashreport is generated on X11 protocol error in plugin r=glandium
MozReview-Commit-ID: HSKgzjqRZh6

--HG--
rename : dom/plugins/test/mochitest/test_CrashService_crash.html => dom/plugins/test/mochitest/test_x11_error_crash.html
extra : rebase_source : c432eded8a4dedc4e4b85b90eb699cad54c29204
2017-01-16 14:48:33 +13:00
Karl Tomlinson
dbb3d944e5 bug 1331320 document requestFlakyTimeout for crashAndGetCrashServiceRecord() r=glandium
MozReview-Commit-ID: 4l2qxJfRbkq

--HG--
extra : rebase_source : 87c70a124406287434847c7e4a23ab062dbb60de
2017-01-16 18:57:03 +13:00
Karl Tomlinson
671fdc9bae bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
MozReview-Commit-ID: 9Io2fABc2hI

--HG--
extra : rebase_source : 7da1b83d5003d49d0eaddd94509f50a40c043825
2017-01-13 20:50:58 +13:00
Wes Kocher
9576aa1519 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HXFQTGJASw4
2017-02-08 16:21:53 -08:00
Manish Goregaokar
e4852035e0 Bug 1334330 - Part 11: stylo: Use ServoUtils abstraction for GenericSpecifiedValues to remove virtual dispatch overhead in nostylo mode; r=bz,emilio
MozReview-Commit-ID: 8yGWs2uOjES

--HG--
extra : rebase_source : 2fed3ab11c243a3b045116abd04dbb9e939c5dc2
2017-01-26 16:51:01 -08:00
Manish Goregaokar
f70f115d57 Bug 1334330 - Part 10: stylo: Use GenericSpecifiedValue abstraction for <body>; r=bz,emilio
MozReview-Commit-ID: 8yGWs2uOjES

--HG--
extra : rebase_source : 5146186ff7ff572ea72219dd419f77a6d6ab84ee
2017-01-26 16:51:01 -08:00
Manish Goregaokar
f61fd43189 Bug 1334330 - Part 9: stylo: Use GenericSpecifiedValue abstraction for <hr>; r=bz,emilio
MozReview-Commit-ID: CvKYf9To9mD

--HG--
extra : rebase_source : 53ad6beff484ab295400d5ae1130e14af49af10b
2017-01-26 16:51:01 -08:00
Manish Goregaokar
38d26acfd2 Bug 1334330 - Part 8: stylo: Use GenericSpecifiedValue abstraction for <iframe>; r=bz,emilio
MozReview-Commit-ID: GUiRcgSlLWI

--HG--
extra : rebase_source : ed0e910dc05314db70484ed895edf0c9fb3fcfe7
2017-01-26 16:51:01 -08:00
Manish Goregaokar
156cbb9222 Bug 1334330 - Part 7: stylo: Use GenericSpecifiedValue abstraction for <font>; r=bz,emilio
MozReview-Commit-ID: E2FwWTF2MVI

--HG--
extra : rebase_source : 1650a23b29c43b8abc5516514a584feb381f55da
2017-01-26 16:51:01 -08:00
Manish Goregaokar
7a9ea12241 Bug 1334330 - Part 6: stylo: Use GenericSpecifiedValue abstraction for table elements; r=emilio
MozReview-Commit-ID: 6wo4iw4zEWP

--HG--
extra : rebase_source : d5980fcfd00fa75f198565dbd75cf7ccc48b0364
2017-01-26 16:51:01 -08:00
Manish Goregaokar
18a42c058c Bug 1334330 - Part 5: stylo: Use GenericSpecifiedValue abstraction for <li>,<pre>,<ol>,<ul>,<textarea>; r=bz,emilio
MozReview-Commit-ID: JQaa26ay5va

--HG--
extra : rebase_source : b4ca53adbf1e1be2fd6c081bfe6c704c434fb2e6
2017-01-26 16:51:01 -08:00
Manish Goregaokar
e1aeede86c Bug 1334330 - Part 4: stylo: Use GenericSpecifiedValue abstraction for <br>; r=bz,emilio
MozReview-Commit-ID: LjoqZ5R8tNb

--HG--
extra : rebase_source : fe86d6f781d8b6e2bfc76ac9a8374385f3ab249e
2017-01-26 16:51:01 -08:00
Manish Goregaokar
7aca0c8cd0 Bug 1334330 - Part 3: stylo: Use GenericSpecifiedValue abstraction in elements using only common mappers; r=bz,emilio
MozReview-Commit-ID: B8vg4ZiqRGK

--HG--
extra : rebase_source : c1c73d3f8dd695717e368ce28028ad75dbf9838c
2017-01-26 16:51:01 -08:00
Manish Goregaokar
fbe60a8ba6 Bug 1334330 - Part 2: stylo: Use GenericSpecifiedValue abstraction in nsGenericHTMLElement; r=bz,emilio
MozReview-Commit-ID: 7Njz7pUkgft

--HG--
extra : rebase_source : a0356df72c349c294b5b7e4cef804b994fb6b383
2017-01-26 16:51:01 -08:00
Manish Goregaokar
48bc1c741c Bug 1334330 - Part 1: stylo: Abstractify nsMappedAttributes to work on arbitrary containers of specified value data; r=bz,emilio
MozReview-Commit-ID: BSM4TC9RKot

--HG--
extra : rebase_source : 5f2c5d998b9e2bc10a2c9ce8d0b3ce90817a0d39
2017-01-26 13:39:13 -08:00
Carsten "Tomcat" Book
5131dfea4e Merge mozilla-central to mozilla-inbound 2017-02-02 14:28:07 +01:00
Carsten "Tomcat" Book
72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Olli Pettay
b003a7de36 Bug 1110928, first request GC should be a full GC, r=jonco
--HG--
extra : rebase_source : 6949e66d52d5ab4f75bf2a1875e50c49465f5818
2017-02-01 23:55:38 +02:00
Olli Pettay
96d3270619 Bug 1110928, ensure zone GC collects the zone from which canvas context is originated, r=mccr8
--HG--
extra : rebase_source : d9e4b2cb9ff5e683efc1ce25aec3ab5cead22481
2017-01-23 19:26:37 +02:00
Olli Pettay
ba57b14f47 Bug 1110928 trigger full GC only when closing top level outer window , r=mccr8
--HG--
extra : rebase_source : 5fd026939961004be1456624625f5d2ed1768da0
2017-01-23 19:23:57 +02:00
continuation@gmail.com
3c54dab20c Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : 839ac8ef6e0de1a69240f2986c07e1793e750b21
2017-01-23 19:22:26 +02:00
Andrew McCreight
c77b68df2f Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : 2d78ae196882d056bdf03e014ff928d7769ba81a
2017-01-23 19:20:54 +02:00
Joel Maher
d85b37d5f5 Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus
MozReview-Commit-ID: AeIuBnLx6IF
2017-02-02 06:33:47 -05:00
Joel Maher
0006d179f5 Bug 1335082 - add BUG_COMPONENT to dom/xul/* files. r=Neil
MozReview-Commit-ID: 2ydrODhOI27
2017-02-02 06:33:47 -05:00
Joel Maher
49c98716b8 Bug 1334476 - add BUG_COMPONENT to dom/canvas/* files. r=milan
MozReview-Commit-ID: 1ySit4Kh3Yh
2017-02-02 06:33:47 -05:00
Joel Maher
64f1bc3955 Bug 1319801 - Move Linux64 mochitest-gl to Ubuntu 16.04. r=jgilbert
This patch has a few parts to make this work:
1) more tests pass on ubuntu 16, so remove old fail-if conditions
2) no support for GL_ARB_gpu_shader5, we cherry pick from updated ANGLE code
3) disable test_capture.html as it leaks on ASAN

MozReview-Commit-ID: BSSiTFvF9jN
2017-02-02 06:33:46 -05:00
vincentliu
d427770671 Bug 1331925 - Add mochitest. r=smaug 2017-02-02 17:00:27 +08:00
vincentliu
8da5275969 Bug 1331925 - blob returns null if canvas width or height is zero. sr=smaug 2017-02-02 16:59:38 +08:00
Andrea Marchesini
a63d7359fa Bug 1335250 - Fix an ambiguous ipc header in MediaEngine.h, r=ehsan 2017-02-02 08:04:13 +01:00
Wes Kocher
f5eab47fb9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HVH8TbXbw7N
2017-02-01 16:30:50 -08:00
Wes Kocher
f2cb5e7c63 Merge inbound to m-c a=merge
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00