Commit Graph

528040 Commits

Author SHA1 Message Date
Alfredo.Yang
0e5b3d1e8c Bug 1341221 - enable rust mp4 parser on linux debug build. r=kinetik
MozReview-Commit-ID: DSkDsDpz0uO

--HG--
extra : rebase_source : c602d06def9a0647503c78c3a2e72310d053ebce
2017-03-26 23:19:49 +08:00
Luca Greco
231a6e81de Bug 1350782 - Fix undefined Cu error on unregistering tool using its definition object. r=ochameau
MozReview-Commit-ID: FWBwTcQKf0T

--HG--
extra : rebase_source : 12b97a63c47d9469291278f6c7fc2c1c198d4287
2017-03-27 03:37:06 +02:00
Robert Helmer
bce75af4b4 Bug 1350471 - provide an unregisterTimer function for nsIUpdateTimerManager r=mossop
MozReview-Commit-ID: HMcaqXA3dJW

--HG--
extra : rebase_source : 5d0131ba24626b84e2529487429547af9974a8bc
2017-03-26 00:56:46 -07:00
Makoto Kato
a6e3f6a9cb Bug 1349884 - Turn off ENABLE_INTL_API on Android/x86's all channel. r=snorp
Android/x86 runs xpcshell and a limited of mochitest.  These tests are already passed on m-c.

MozReview-Commit-ID: 7Qkqi0dYh95

--HG--
extra : rebase_source : 4cc064aea022a8ba17d9a78a1f36a612ab877898
2017-03-27 16:39:44 +09:00
Phil Ringnalda
e7905e8e6d Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Phil Ringnalda
fb622b0334 Bug 1348803 followup, take eslint's advice and remove an unused var 2017-03-27 20:17:16 -07:00
Alastor Wu
7509784040 Bug 1348803 - part2 : modify event name to lower case letter. r=sebastian
Other events in browser.js are all lower case letter, also change these two to make them consistent.

MozReview-Commit-ID: LkzYUo6OrEA

--HG--
extra : rebase_source : 8b134332e32cae29a1f963e604f2507433c694b8
2017-03-28 10:58:32 +08:00
Alastor Wu
31d5fff67b Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV

--HG--
extra : rebase_source : fc26c98ed7b33552b4eba5b20168394b1b1a4390
2017-03-28 10:57:50 +08:00
JW Wang
a7f369e934 Bug 1350811 - Replace use of int64_t for microseconds by TimeUnit in DecodedStream. r=kaku
MozReview-Commit-ID: JjBfTmqkru8

--HG--
extra : rebase_source : f03d35b4697304255f24e66dbdf93a1c8815fd59
2017-03-27 11:09:49 +08:00
sotaro
249f8f9784 Bug 1349232 - Add destroyed check to CompositorVsyncScheduler::ScheduleComposition() r=kats
WebRenderBridgeParent works independently, if root WebRenderBridgeParent is destroyed
without CompositorBridgeParent::StopAndClearResources() call,
non-root WebRenderBridgeParent are still active and could trigger ScheduleComposition().
The change prevents to trigger ScheduleComposition() in this case.
2017-03-23 15:07:02 +09:00
Makoto Kato
7127efa43c Bug 943287 - Part 3. nsICollation fallback version for Android. r=hsivonen
Beta and release channel of Android still turn off ICU.  So we should add UTF-8 version of nsICollation for fallback.
Some people want to keep --enale-intl-api=no for faster build on developer environment, so even if non-Android, it will be required.


MozReview-Commit-ID: 3RcjqoVip1W

--HG--
rename : intl/locale/unix/nsCollationUnix.cpp => intl/locale/nsCollationAndroid.cpp
extra : rebase_source : 6844f32efe8c37b020f30bc745d4d4d8e95c4158
2017-03-23 13:43:38 +09:00
Makoto Kato
80c217bbec Bug 943287 - Part 2. Use ICU version of nsICollation on all platform. r=hsivonen
nsICollation for macOS version uses ICU, so we should use it on all platform since nightly and aurora can use ICU on all platform.

MozReview-Commit-ID: 4nTzDCjOQXJ

--HG--
rename : intl/locale/tests/unit/test_collation_mac_icu.js => intl/locale/tests/unit/test_collation.js
extra : rebase_source : 3b47f9a521e79be929bb4c39d0c68b9438075e4c
2017-03-23 13:42:49 +09:00
Makoto Kato
aa97ad5859 Bug 943287 - Part 1. Rename nsCollation.cpp to nsCollationFactory.cpp. r=hsivonen
nsCollation.cpp implements nsCollationFactory and nsCollation utils classes.
To remove nsIPlatfromCharset dependency, I would like to remove nsCollaction utils class.  So at first, I would like to rename it to nsCollactionFactory.cpp. (then, nsICollation implementation will be nsCollation.cpp)

MozReview-Commit-ID: FaG3vfzi9cl

--HG--
rename : intl/locale/nsCollation.cpp => intl/locale/nsCollationFactory.cpp
rename : intl/locale/nsCollation.h => intl/locale/nsCollationFactory.h
extra : rebase_source : 25eebf52634310891d1bbcc974635b5cc4b1c402
2017-03-23 13:42:00 +09:00
L. David Baron
7e875bb62c Bug 1350149 - Make display-reflow print reflow status in more cases. r=dholbert
This makes the display-reflow information for
layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-4.html
more clear, since it means we include previously-omitted
inline-break-before statuses (not really inline in this case!), such as:
  status=[Complete=Y,NIF=N,Truncated=N,Break=B,FirstLetter=N]

It was useful when debugging various tests for bug 1308876.

MozReview-Commit-ID: AL38FH6wuOa

--HG--
extra : transplant_source : 15%21%86%3C%1B%5C%C5s%7C9%26%FEo%B5%20%F7%E6%E4x
2017-03-23 23:36:53 -07:00
Timothy Nikkel
2776a4ad96 Bug 1343341. In FrameAnimator look up our frames once and pass them around. r=aosmond
The SurfaceCache can discard on any thread at any time. So we could be in the middle of advancing frames of a fully decoded animated image and then the frames could disappear out from under us.

Making the code deal with that kind of a situation would make the logic very complicated. So instead just look up the frames once and pass them around, that way they never change during while we are advancing the frame.
2017-03-24 00:57:30 -05:00
Gabriel Luong
06f7801997 Bug 1345119 - Part 5: Fix eslint errors in unit tests. r=me 2017-03-23 16:13:33 -04:00
Chih-Yi Leu
6b60ce5c0a Bug 1306505 - Implement mochitest: VRDisplay.exitPresent must only be allowed by content that started VR Presentation; r=daoshengmu
MozReview-Commit-ID: JSOhDU565gt

--HG--
extra : rebase_source : 01641425c59f615615cc97374968382d5c9261c7
2017-03-23 10:49:45 +08:00
Hiroyuki Ikezoe
55c2a5ea95 Bug 1351145 - Enable reftest for CSS animation on pseudo element. r=boris
MozReview-Commit-ID: 102ccHdfLPh

--HG--
extra : rebase_source : 4461b7e7870ef4c0d9367405cbe0fb9e5474f383
2017-03-28 11:10:11 +09:00
Cameron McCormack
ab48ee3d46 Bug 1350789 - Make CSSStyleSheet::SizeOfIncludingThis correctly check for shared inners. r=bradwerth
MozReview-Commit-ID: 3hsuiR5SwZT

--HG--
extra : rebase_source : db1a2eb4fd604655102fc031abb1e26e35f92bc1
2017-03-27 16:49:37 +08:00
Chris Pearce
d885daf774 Bug 1351132 - Fix keystatus and decode logging in ChromiumCDMChild. r=gerald
MozReview-Commit-ID: xwfJ4WwbmN

--HG--
extra : rebase_source : ee459eb16df41055ce6ade360ff1149f3b894caa
2017-03-28 11:05:48 +13:00
sotaro
6499e3b68e Bug 1349465 - Ensure we don't enable WebRender if the GPU process is disabled r=kats
gfxWindowsPlatform overrides InitAcceleration, and the override calls
InitGPUProcessSupport, which may disable the GPU process. Therefore, in
order to capture this scenario, we need to initialize WebRender after
the subclass implementation has run, rather than at the end of the base
class implementation, which is before InitGPUProcessSupport has run.
2017-03-23 11:26:24 +09:00
Wes Kocher
b31e9e6a39 Merge inbound to central, a=merge
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Mason Chang
b8ac3c92fc Bug 1348913 - Update webrender to 0794911f97cae92496fca992d7430da696fa24eb. r=kats 2017-03-22 14:26:52 -07:00
Kartikaya Gupta
622a049d19 Bug 1349675 - Update webrender annotations for tests that no longer crash or produce random results. r=rhunt
MozReview-Commit-ID: KZPbrqWsFtc
2017-03-22 15:47:39 -04:00
Sebastian Hengst
f5e68bc3e1 Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE 2017-03-22 20:28:39 +01:00
Mason Chang
72173b1708 Bug 1348414 Always snapshot after no more paints are pending if WR is enabled. r=mattwoodrow 2017-03-22 12:20:00 -07:00
Lee Salzman
aa429c08b7 Bug 1347262 - fix Skia's round_asymmetric_to_int to bias all sides. r=jrmuizel
MozReview-Commit-ID: AMDi6YF0zn
2017-03-22 15:03:03 -04:00
Jeff Muizelaar
da3210576b Bug 1119128. Eliminate gfxPangoFontGroup and gfxFontconfigUtils. r=lsalzman 2017-03-22 14:58:19 -04:00
Jeff Muizelaar
49eb5ba0b6 Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Lee Salzman
baebc83432 Bug 1347632 - make RecordedSourceSurfaceCreation fallible. r=tobytailor
MozReview-Commit-ID: G4x3zTluGb4
2017-03-22 14:57:25 -04:00
Robert Strong
6c54db1fdf Bug 1348609 - Use the installation dir path CityHash hash for the updates directory even when the hash hasn't been written to the registry by the installer. r=mhowell, r=dtownsend 2017-03-22 11:45:11 -07:00
Ehsan Akhgari
101a58b3c6 Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here.  This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-22 14:13:31 -04:00
Kartikaya Gupta
47c42c47ea Bug 1322816 - Re-enable some skipped reftests now that WebRender handles them. r=rhunt
MozReview-Commit-ID: 1egwR8QAZ2O
2017-03-22 13:56:33 -04:00
Andrea Marchesini
8d7c2746ea Bug 1349512 - Move OriginAttributes class in separate files, r=qdot
--HG--
rename : caps/BasePrincipal.cpp => caps/OriginAttributes.cpp
rename : caps/BasePrincipal.h => caps/OriginAttributes.h
2017-03-22 18:45:40 +01:00
Andrea Marchesini
07103b0a43 Bug 1349434 - Fixing the saving in the JSONviewer, r=qdot 2017-03-22 18:44:10 +01:00
Ganesh Chaitanya Kale
4aa4377a32 Bug 1349502 - Make tabbrowser.xml use AppConstants from the global scope. r=dao 2017-03-22 20:46:24 +05:30
Jon Coppeard
e4d62401f0 Bug 1341044 - Rename the GC's 'zone group' concept to 'sweep group' r=sfink 2017-03-22 17:30:50 +00:00
Kartikaya Gupta
e0d4c1bfb3 Bug 1347811 - Fix build bustage due to unified builds and missing include. r=bustage
MozReview-Commit-ID: KHDOBrRqhVU
2017-03-22 11:10:52 -04:00
Kartikaya Gupta
9608ac4946 Merge m-c to graphics
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Carsten "Tomcat" Book
62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Carsten "Tomcat" Book
4db6c8f1f4 merge autoland to mozilla-central a=merge 2017-03-22 14:24:35 +01:00
Andrea Marchesini
0ef3f36c49 Bug 1341738 - Implement FetchController and FetObserver - part 5 - Dispatching observer events, r=bkelly 2017-03-22 11:07:27 +01:00
Andrea Marchesini
cd6bd71606 Bug 1341738 - Implement FetchController and FetObserver - part 4 - FetchObserver WebIDL, r=bkelly 2017-03-22 11:06:23 +01:00
Andrea Marchesini
e6ad00d782 Bug 1341738 - Implement FetchController and FetObserver - part 3 - FetchSignal in Fetch API, r=bkelly 2017-03-22 11:06:08 +01:00
Andrea Marchesini
d80fbab759 Bug 1341738 - Implement FetchController and FetObserver - part 2 - Follow/Unfollow, r=bkelly 2017-03-22 11:05:10 +01:00
Andrea Marchesini
8552a5e7ba Bug 1341738 - Implement FetchController and FetObserver - part 1 - FetchController in WebIDL, r=bkelly 2017-03-22 11:04:57 +01:00
Kaku Kuo
0f173417cb Bug 1349459 part 2 - test element as tainted when CreateImageBitmap() is used; r=jwwang
MozReview-Commit-ID: 6zjugUsA4fZ

--HG--
extra : rebase_source : ee9b3cbcb5fed0641b6d7ec230e1d9a17d3098d4
2017-03-22 15:32:03 +08:00
Kaku Kuo
1ae5278f6a Bug 1349459 part 1 - mark element as tainted when CreateImageBitmap() is used; r=jwwang,mattwoodrow
In this patch, we simply modify the ImageBitmap::createInternal(..., HTMLMediaElement&, ...) method to use
HTMLMediaElement::GetCurrentImage() utility and HTMLMediaElement::GetCurrentImage() marks the
videl element as tainted.

MozReview-Commit-ID: KyN2xRqKVrr

--HG--
extra : rebase_source : 5e0e0400f1848823751cd88f2bbe734bc5aec5fe
2017-03-22 15:21:44 +08:00
JW Wang
5a77a04dac Bug 1349485. P5 - make AudioSink a non-ref-counting type. r=kikuo
MozReview-Commit-ID: EJmSTwkSdX6

--HG--
extra : rebase_source : 0972500aeb439d5d09cb111feb619cc22c751b9d
2017-03-22 15:13:10 +08:00
JW Wang
db128cb2b7 Bug 1349485. P4 - rename DecodedAudioDataSink.* to AudioSink.*. r=kikuo
MozReview-Commit-ID: KYbJwTpUiHZ

--HG--
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
rename : dom/media/mediasink/DecodedAudioDataSink.h => dom/media/mediasink/AudioSink.h
extra : rebase_source : 414effaad950578dead21401f7e868d4a09a1099
2017-03-22 15:03:38 +08:00