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

63436 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta e49fb92e99 Merge m-c to graphics, a=merge
MozReview-Commit-ID: IU4SJ95MVHH
2017-05-30 07:50:05 -04:00
Carsten "Tomcat" Book b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
sotaro 3e55c4713f Bug 1366915 part 1 - Remove pipeline id allocation with IPC MozPromise r=nical 2017-05-30 09:59:29 +09:00
Kartikaya Gupta b7ee577f62 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 8IWAJNO52ry
2017-05-29 08:28:04 -04:00
Kartikaya Gupta d5c99e4ebb Bug 1367837 - Implement some APZ test util APIs for webrender. r=botond,dvander
This implements some methods exposed on DOMWindowUtils and used by
reftests, for the WebRender codepath. The implementation is very similar
to the implementation in LayerTransactionParent.

MozReview-Commit-ID: HP8OxzIzS7P
2017-05-28 07:48:36 -04:00
Sylvestre Ledru d525178ff0 Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
MozReview-Commit-ID: KOM35SQnoRh

--HG--
extra : rebase_source : 6ece3e3e7c287ef1bfc133470a8cd451f8e3971e
2017-05-26 18:53:35 +02:00
Xidorn Quan ac6cc1d36a Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
MozReview-Commit-ID: 5qCoeqfM2s5

--HG--
extra : rebase_source : 6dc1693ce61bea4ec35469a3388c75a9fb64e5b3
2017-05-29 16:17:39 +10:00
Daisuke Akatsuka d27e5208ee Bug 1367283 - Part 9: Add tests to confirm valid 'inherit' value of -moz prefixed properties during animation. r=hiro
Test to confirm valid 'inherit' value of -moz prefixed properties during
animation. This also means to confirm the algorithm of clone_XX methods
of stylo.
NOTE: This file should have only animatable properties that have '-moz' prefix.

In this patch, appends following properties.

* -moz-box-align
* -moz-box-direction
* -moz-box-orient
* -moz-box-pack
* -moz-float-edge
* -moz-orient
* -moz-osx-font-smoothing
* -moz-user-focus
* -moz-user-input
* -moz-user-modify
* -moz-window-dragging

MozReview-Commit-ID: GfBfMkvfgGm

--HG--
extra : rebase_source : f2e220ccc0c6864ad15416a2cda470f64eeb62be
2017-05-30 10:42:59 +09:00
Xidorn Quan ae513f0ff4 Bug 1352968 part 1 - Add separate CSSImportRule base class. r=heycam
MozReview-Commit-ID: 5h6dmij1elX

--HG--
extra : source : 5205d8d42a0f9e8f0c013c13a23cf5d85cc37f2f
2017-05-30 11:10:25 +10:00
Carsten "Tomcat" Book 492d32e329 merge autoland to mozilla-central a=merge 2017-05-26 11:03:46 +02:00
Ehsan Akhgari 9e272b0923 Bug 1366812 - Account for the fact that the load event may fire even though mIsDocumentLoaded is true in TimeoutManager; r=cpearce a=topcrasher 2017-05-26 01:11:39 -04:00
Ryan VanderMeulen e38fed0cd1 Merge inbound to m-c. a=merge 2017-05-25 21:30:20 -04:00
Ryan VanderMeulen df9dd3967c Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00
Eden Chuang 80717194b1 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Ryan VanderMeulen ac35891cc9 Merge m-c to inbound. a=merge 2017-05-25 16:35:51 -04:00
Ryan VanderMeulen 8543438674 Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
Andrew Osmond 459f477d40 Bug 1367058 - Clarify CanvasRenderingContext2D::GetImageDataArray when there is no overlapping data to read. r=mchang 2017-05-25 14:54:15 -04:00
Boris Zbarsky d50c80150f Bug 1364360 part 3. Don't flush layout when setting scrollTop to 0. r=ehsan 2017-05-25 13:39:44 -04:00
Boris Zbarsky 42c1cf9ea3 Bug 1364360 part 2. Make Element::GetScrollFrame take a flush type, not a "should I flush?" boolean. r=ehsan 2017-05-25 13:39:44 -04:00
Boris Zbarsky 3119ff4e5e Bug 1364360 part 1. Make Element::GetScrollFrame follow the spec more closely in the quirks mode case. r=ehsan 2017-05-25 13:39:44 -04:00
Olli Pettay f78280f29a Bug 1364513 - Ensure correct buffer initialization. r=mystor
--HG--
extra : rebase_source : af0024c26378f21da156e8f4e5da1b3bcc8c1ed8
2017-05-25 09:39:17 -04:00
Andrew Osmond aa39ee6f8c Bug 1367150 - Do not attempt to create PresentationChild if ContentChild is shutting down. r=ehsan 2017-05-25 06:43:59 -04:00
Dan Glastonbury 4b414a3c6c Bug 1367646 - Update WebRTC with cubeb_device_collection changes. r+jesup r=jesup,kinetik
MozReview-Commit-ID: 3llJO2vWPJh

--HG--
extra : rebase_source : 70ef5201d310b1b034c24070c572e26a001e24a5
2017-05-25 15:28:24 +10:00
Chris Pearce b7b2dab14d Bug 1355252 - Backed out changeset c19d32e2a710. r=backout
MozReview-Commit-ID: 7pTa64IsIq2

--HG--
extra : rebase_source : 27ec010599614d1402e9621149cb953464ec7603
2017-05-30 10:34:13 +12:00
Chris Pearce 1a44af43a6 Bug 1355252 - Backed out changeset ddb3969de046. r=backout
MozReview-Commit-ID: cdH0WSFOaz

--HG--
extra : rebase_source : 3b1eebcf7323cbcc037d1a2e0d92a923f217d811
2017-05-30 10:33:30 +12:00
Geoff Brown 72cf96c3de Bug 1332970 - Allow assertion in test_restyles.html; r=hiro
Frequent intermittent assertions have been happening for a long time.
2017-05-29 16:03:51 -06:00
Ehsan Akhgari 1bdcddf20c Bug 1361709 - Move FlushPendingLinkUpdatesFromRunnable to idle dispatch; r=smaug 2017-05-29 16:22:24 -04:00
Andreas Farre d73636b6e1 Bug 1368335 - Don't dispatch idle executor when window has suspended. r=smaug 2017-05-29 18:58:26 +02:00
Nicolas B. Pierron 8ea6209d25 Bug 1364117 - Encode JS bytecode of scripts which are parsed on the main thread. r=mrbkap 2017-05-29 16:01:37 +00:00
Makoto Kato 51d94b9c3f Bug 1358025 - Part 4. Disable undo when input.value setter isn't user interaction. r=masayuki
See bug 1346723.  I would like to turn off undo when not user interaction.  Except to Gecko, other browsers don't create undo history by input.value setter.

MozReview-Commit-ID: 9P1eOKTXCXN

--HG--
extra : rebase_source : 44967a19300827af6187c4f906e09ed09808cd30
2017-05-18 16:32:29 +09:00
Makoto Kato 5b36447061 Bug 1358025 - Part 3. Use nsIEditor.setText when input.value setter isn't user interaction. r=masayuki
When not using eSetValue_BySetUserInput, we should use SetText transaction instead for fast path.  For backward compatibility, when input.value setter is by user interaction, I keep original way.  Because the original way doesn't replace all text when some string matches.

MozReview-Commit-ID: IDm7Y1NBmaK

--HG--
extra : rebase_source : 625085737f5c110dac11f9bc8a38c98a703ce2b1
2017-05-18 16:32:21 +09:00
Emilio Cobos Álvarez fa730cc3b0 Bug 1357583: Add an API to get the restyle generation from the pres context. r=heycam
MozReview-Commit-ID: b7j0CpPimC
2017-05-29 23:53:25 +02:00
Chris Pearce 7442ac32b0 Bug 1334111 - Log MediaKeySystemConfiguration on creation of MediaKeySystemAccess. r=gerald
This makes it easier to tell what's going on; whether we've created a
MediaKeySystemConfiguration which can persist state.

MozReview-Commit-ID: L4dbmMVYhsM

--HG--
extra : rebase_source : e47e60f5091b6b5477b2c8bd63ba408922706082
2017-05-29 11:02:15 +12:00
Chris Pearce 098502268f Bug 1334111 - Move MediaKeySystemConfig to-string helper to MediaKeySystemAccess. r=gerald
This will enable us to re-use the logging code in MediaKeySystemAccess to log
the configuration we end up instantiating the MediaKeySystemAccess with.


MozReview-Commit-ID: AMnauhMLJ1R

--HG--
extra : rebase_source : a2dfeb7b263108ac1c60bfe2f47755e0a73d6324
2017-05-29 10:34:38 +12:00
Chris Pearce 7bcd5db48e Bug 1334111 - Reject MediaKeys requests for persistent storage when in PB mode. r=gerald
We want requests for MediaKeySystemAccess with persistentState to be rejected
if the window is in Private Browsing mode. This is primarily so that users in
Private Browsing mode don't unknowningly use up their "device limits"; some DRM
streamers have limits on the numbers of unique devices that can be
provisioned/used in a given time period, and the device ID is persisted in the
persistent state. So if we're flushing that state, the user will use up one of
their device quota on every new session, and quickly hit their limit, and be
unable to continue watching DRM video.

MozReview-Commit-ID: JWNO1kcU2ST

--HG--
extra : rebase_source : ad4e22629acfdd82aff8ead764949939726adbf4
2017-05-29 10:21:18 +12:00
JW Wang a86c1434a6 Bug 1338635 - Declare |holder| before |atq| to ensure the destructor is run after |holder.Disconnect()|. r=gerald
Otherwise we might fail the assertion |!mRequest| in the destructor of MozPromiseRequestHolder.

MozReview-Commit-ID: HsVD2re0R7e

--HG--
extra : rebase_source : c023899d92501dd3e275000c9ef0eb50df117236
2017-05-29 09:38:14 +08:00
Kaku Kuo c61f8b93c0 Bug 1365190 P2 - don't assert NeedMoreVideo() in audio events; r=jwwang
The assertion fails if we call SeekToNextFrame() on a video which has done
video decoding but keeps decoding audio.

MozReview-Commit-ID: F9qpfYI2Ajo

--HG--
extra : rebase_source : 73ab2f146101b0ef5a55ee26436b005386164c9d
2017-05-25 14:03:39 +08:00
Kaku Kuo 70dcb59b49 Bug 1365190 P1 - NextFrameSeekingState should be aware of the existing video data request; r=jwwang
MozReview-Commit-ID: 3deIwYbQ3BM

--HG--
extra : rebase_source : c0caf7077dde22bd1a89c0cf0950833c576cec99
2017-05-25 12:06:34 +08:00
Blake Kaplan 961eb025a9 Bug 1366448 - Fix assumptions in this test so it works across branches. r=mconley
The previous version of this test assumed that it was in control of all
processes (except for a single one that was hanging around). That meant that
changes to the environment, such as running it on a different branch could
cause it to fail. Now we explicitly test that creating new tabs creates a new
content process (and that the final tab creation *doesn't* do so) with a
sanity check that new ContentParents don't reuse the same underlying OS
process. Because we're now explicitly testing what we want, this works whether
the current branch holds a random extra process alive or not.

MozReview-Commit-ID: CNgLGL32Iog

--HG--
extra : rebase_source : f27d132d00bdd94d7034cc63c83bbacfe04bde0c
2017-05-23 16:16:22 -07:00
Ryan VanderMeulen d3f265330e Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
Andrea Marchesini 8cfd4ae66c Bug 1349266 - Using a workerHolder to keep alive a parent worker when a child worker is created, r=kbelly 2017-05-25 09:04:25 +02:00
Makoto Kato 75cfb3ee47 Bug 1356503 - Part 2. Replace nsWin32Locale::GetXPLocale with LCIDToLocaleName (webspeech part). r=eeejay
Since our platform support is Windows 7+, we can replace nsWin32Locale::GetXPLocale with LCIDToLocaleName.

MozReview-Commit-ID: Tboh4P6cLc

--HG--
extra : rebase_source : 7dd6614b0aca25e82d194d104409400e1cc6b4a8
2017-04-27 12:40:30 +09:00
Ehsan Akhgari b2b32dd799 Bug 1368272 - Rewrite test_bug534149.html to not rely on the dispatching order of WindowDestroyedEvent; r=mystor 2017-05-28 13:42:21 -04:00
Paolo Amadini d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst 8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Nico Grunbaum e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
bechen 97ab63e82a Bug 1361655 - Add new reftest to verify the first and last frame for short.mp4. r=jwwang
Since the ref-sample made by linux, the mac and windows platforms need fuzzy.
And on windows platform, the first frame is different to other platform, skip it first.
Android platform somehow can not load the video src.

MozReview-Commit-ID: A0VbEcNSmck

--HG--
extra : rebase_source : 266f0012d460b8fd6b62ac1d2878dc9aa686f9a8
2017-05-17 16:54:16 +08:00
Gerald Squelart bcfa6b7a7d Bug 1367155 - Handle async-closed FileBlockCached::mFD when reading/writing - r=cpearce
Also, close the FD if FileBlockCache::Closed() was called between Init() and
SetCacheFile().

MozReview-Commit-ID: 5p8NslMow7D

--HG--
extra : rebase_source : a465020edfedf91454ba6c2ae307ae9e6977f47f
2017-05-24 13:21:28 +12:00
Shing Lyu 5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00