Commit Graph

571282 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
d606b7a73d Bug 1420791 - Drop explicit flushing styles before calling waitForPaintsFlushed(). r=boris
waitForPaintsFlushed() flushes styles inside it, so we don't need the explicit
flush.

MozReview-Commit-ID: KcQYRDWyhU0

--HG--
extra : rebase_source : 9adeaa107f358d9beb717a6d1fa96bbfd4c05416
2017-11-27 12:29:45 +09:00
Hiroyuki Ikezoe
126931ab2d Bug 1420791 - Use waitForPaintsFlushed() instead of waitForPaints(). r=boris
The waitForPaints() which is defined in function runOMTATest() invokes
waitForAllPaintsFlushed(), it is the same what waitForPaintsFlushed() does.

MozReview-Commit-ID: BKt2fZO3DuM

--HG--
extra : rebase_source : b0cd89ca4000cd7bfae2c169d44984e15e78f9e5
2017-11-27 12:29:41 +09:00
Gerald Squelart
91a021aeb0 Bug 1420298 'layout.display-list.retain.verify' to debug retained-dl - r=mattwoodrow
Setting the 'layout.display-list.retain.verify' gfxPrefs implies
'layout.display-list.build-twice', and then compares the retained-built tree
to the non-retained one, and outputs differences&trees to the terminal.

MozReview-Commit-ID: 3dnyIUTbtH8

--HG--
extra : rebase_source : 36a6b8f029d0bd1339557e7c630906311ecf1254
2017-11-20 17:15:08 +11:00
Hiroyuki Ikezoe
23677e6410 Bug 1420774 - Drop unnecessary virtual from Animation methods. r=boris
MozReview-Commit-ID: wRrKFbjsTx

--HG--
extra : rebase_source : 0e29a425d94c9cac01a5ba1f149f48301bcf5cde
2017-11-27 07:44:53 +09:00
dluca
627438bf3c Backed out 4 changesets (bug 1418224) for build bustages r=backout on a CLOSED TREE
Backed out changeset 3ef8715cb8d7 (bug 1418224)
Backed out changeset 0d58d9fed90d (bug 1418224)
Backed out changeset faad7f275749 (bug 1418224)
Backed out changeset 1e86ff6b95ae (bug 1418224)
2017-11-27 07:42:50 +02:00
JW Wang
ce20f92811 Bug 1420016 - remove ChannelMediaResource::IsSuspendedByCache(). r=bechen,gerald
For it is used internally by CacheClientNotifySuspendedStatusChanged() only.

MozReview-Commit-ID: 8XVUHhdERYR

--HG--
extra : rebase_source : 60b97821b3e1c13bf1ba706ad1431b9e323df319
extra : intermediate-source : 6891fae737691efcf0885ff90fc7af777f9493d8
extra : source : 8c49a2fbc12f59c83809d233c9c0e9fa404cdd21
2017-11-23 11:30:07 +08:00
JW Wang
eb912e4057 Bug 1418918. P2 - add thread/monitor assertions. r=bechen,gerald
MozReview-Commit-ID: 3J8pRFnpm77

--HG--
extra : rebase_source : 722b2f5df7d2b6f95d806b334a9382f80ac4ea07
extra : intermediate-source : cb6319d0c879e9d57a46ff261bb9e1d5a16e2ad9
extra : source : 5b99626480b1c190f03a61635b7a2174b38c87b1
2017-11-20 16:30:05 +08:00
JW Wang
106e488634 Bug 1418918. P1 - remove unused FlushPartialBlock(). r=bechen,gerald
MozReview-Commit-ID: GSda1KfPWXE

--HG--
extra : rebase_source : 8bb0b962e6fec586dd68587d6e43b542d37f6a2d
extra : intermediate-source : d58472fa128100ed3bbc8e07d4e72ac7cc5bfe09
extra : source : e3925d43d873e20ad95a48550f271b832f852b7d
2017-11-20 16:00:22 +08:00
Hiroyuki Ikezoe
4937b30bdd Bug 1413370 - Skip the test case that checks transform animation on scrolled-out element is unthrottled periodically on Android. r=boris
It causes intermittent failure.

MozReview-Commit-ID: HDitQV4Yn3P

--HG--
extra : rebase_source : f3a874df1575f903bac3331c9e5cd3454f1f187b
2017-11-27 06:20:06 +09:00
Jeremy Chen
52cf386fc1 Bug 1418433 - increment RestyleGeneration for undisplayed elements when updating servo stylist. r=heycam
In the current implementation, we call SetStylistStyleSheetsDirty() every time
a style sheet is changed. However, the dirty bit setting may or may not always
update the style data. For example, the style data for undisplayed elements are
deliberately not updated in Stylo. However, the getComputedStyle API is supposed
to provide a way to get the up-to-date computed style data, even for undisplayed
elements.

In this patch, we increment RestyleGeneration for undisplayed elements when we
decide to update style data (i.e., calling ServoStyleSet::UpdateStylist()) due
to (XBL)StyleSheet is dirty. This could flush the cached data that getComputedStyle
API holds, and ensures the getComputedStyle API computes a new one.

MozReview-Commit-ID: JDDhACOG3z4

--HG--
extra : rebase_source : 51d37757b5449d315aa7c2e0aedb4a4622e2a859
2017-11-26 11:47:27 +08:00
Jeremy Chen
b44b5ae893 Bug 1418433 - add a test for style data update mechanism for non-displayed elements. r=heycam
In certain situations, we might access a non-displayed (i.e., display: none;)
element's style data through getComputedStyle API. In this patch, we add a test
to ensure that, if the inline style sheet is changed/modified, the style data
of a non-displayed element is always up-to-date.

MozReview-Commit-ID: Ggjd4FMqZlo

--HG--
extra : rebase_source : 8e9ba5d6b7b4c26b5247b36d44ff02a391dc7ee6
2017-11-26 21:49:41 +08:00
James Cheng
a6426a74c0 Bug 1416686 - Reduce the uses of IPC_FAIL_NO_REASON in GMPChild.cpp. r=cpearce,dmajor
Originally, we use IPC_FAIL_NO_REASON to make IPC call return error and then it invokes MOZ_CRASH to kill the process itself.
By using IPC_FAIL, we can pass a descriptive reason to GMPChild::ProcessingError and Bug 1416667 will use MOZ_CRASH_UNSAFE_PRINTF
to print the reason to the crash report. In addition, we use CrashReporter::AnnotateCrashReport to record the lib path without exposing the data publicly.

MozReview-Commit-ID: 15n1PItLgAp

--HG--
extra : rebase_source : 011f02155b290f95fcde807264f3e1ffb9a09e80
2017-11-13 09:35:03 +00:00
James Cheng
c3103719c2 Bug 1416667 - Use MOZ_CRASH_UNSAFE_PRINTF in GMPChild::ProcessingError r=cpearce
We passed the crash reason to GMPChild::ProcessingError but we didn't use it anymore.
We can simply use MOZ_CRASH_UNSAFE_PRINTF instead of MOZ_CRASH to make the crash more descriptive.

MozReview-Commit-ID: D7mU3Dsg9V9

--HG--
extra : rebase_source : 467974fbcc81792850b6c4b1a6faa3e90cfabb41
2017-11-13 08:24:00 +00:00
Alastor Wu
62e836ef58 Bug 1420192 - when disable autoplay, allow script calls play() once user triggered load() or seek(). r=jwwang
This patch is mainly reverting the changing of bug1382574 part3, but not all the same.

Since youtube would call load() when user clicks to play, and then call play()
later. For the old pref (checking user-input-play), we should still allow the
following play() even it's not triggered via user input. It's also same for
seeking, Youtube would call play() after seeking completed.

In this patch, we would allow the script-calling once play() if user has called load()
or seek() before that.

MozReview-Commit-ID: 1UcxRCVfhnR

--HG--
extra : rebase_source : c72212ebf29ea624128a8190dab67e1197f1f198
2017-11-27 10:55:02 +08:00
James Cheng
fa5a14b81f Bug 1417297 - Part2 - Convert fake-cdm to use Chromium ContentDecryptionModule_9 interface. r=cpearce
MozReview-Commit-ID: L0sF2lO3lDX

--HG--
extra : rebase_source : e8caab5f4c0c485ee47cd342962b47cfa01a9b6e
2017-11-23 16:51:23 +08:00
James Cheng
1c2ea0c110 Bug 1417297 - Part1 - Convert gmp-clearkey to use Chromium ContentDecryptionModule_9 interface. r=cpearce
1. Make ClearKeyCDM inherits cdm::ContentDecryptionModule_9
2. Pass cdm::Host_9 instance instead of cdm::Host8
3. Modify the manifest to 1.4.9

MozReview-Commit-ID: JbeBm5YNZ22

--HG--
extra : rebase_source : feb6aa44e361cb68f8a75284e79b1617609438a4
2017-11-23 16:47:13 +08:00
Chun-Min Chang
727fa182fd Bug 654787 - part8: Fire seeking and seeked events when looping back to the beginning; r=jwwang
MozReview-Commit-ID: 2hYJfcCmvam

--HG--
extra : rebase_source : 261299b07ff9eafe3354e46c96b1aafe9e841e2e
2017-11-21 18:10:19 +08:00
Chun-Min Chang
f7ef7354b3 Bug 654787 - part7: Stop playing and decoding when looping is cancelled; r=jwwang
MozReview-Commit-ID: BQKVsmDSqpJ

--HG--
extra : rebase_source : 64377f37dd6d1fd2a7a550843ffc805688a4d488
2017-11-21 18:15:08 +08:00
Chun-Min Chang
1a75cd91ef Bug 654787 - part6: Correct the playback position while looping; r=jwwang
MozReview-Commit-ID: 4h2zgtbVBVq

--HG--
extra : rebase_source : 9a91cefd6f081cbdbae6b5ffc7035446f7192ff1
2017-11-24 10:28:42 +08:00
Chun-Min Chang
a585c36a18 Bug 654787 - part5: Add the looping-offset time to audio data; r=jwwang
MozReview-Commit-ID: LUNF9x6foEA

--HG--
extra : rebase_source : f8603f9c502f5d3a9ab87d392d29d69059aab8d1
2017-11-10 13:50:38 +08:00
Chun-Min Chang
9fc6572690 Bug 654787 - part4: Keep decoding to MDSM in ReaderProxy when looping is on; r=jwwang
MozReview-Commit-ID: 4oVaUmDUeFJ

--HG--
extra : rebase_source : fc6e9b945f3730424b3722c4f7f35f59b8867a7e
2017-11-22 11:17:09 +08:00
Chun-Min Chang
7f6de174cb Bug 654787 - part3: Use OnAudioDataRequest{Completed, Failed} in ReaderProxy; r=jwwang
MozReview-Commit-ID: A4vUGJ64QrB

--HG--
extra : rebase_source : bb73633d0f1583fcf30ac75d917113dce7f88301
2017-11-10 11:19:04 +08:00
Chun-Min Chang
f999f07ca8 Bug 654787 - part2: Teach ReaderProxy about audio looping; r=jwwang
MozReview-Commit-ID: FK0FRffDzjJ

--HG--
extra : rebase_source : 9d2f93edb80c84fbbf451361fdb2887d91a10789
2017-11-10 12:06:12 +08:00
Chun-Min Chang
447c6c888f Bug 654787 - part1: Add pref for audio seamless looping; r=jwwang
MozReview-Commit-ID: 1md5AxHG8NA

--HG--
extra : rebase_source : c13002de65c523a508f01564cc2730aff4a36086
2017-11-08 13:43:08 +08:00
Jeremy Chen
a3c09a51bc Bug 1420724 - remove duplicated include declaration in nsCSSFrameConstructor. r=heycam
MozReview-Commit-ID: KZz7C4gF3md

--HG--
extra : rebase_source : b101f60dedeaf4d08880f0d614966c2ca056a9e6
2017-11-26 23:37:46 +08:00
Mark Striemer
8a1f9ea7ae Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr

--HG--
extra : rebase_source : 29e07cff103e7751bf4ca414a88f89136d3ac237
2017-11-22 19:00:58 -06:00
Luca Greco
04dd99c30f Bug 1409697 - Fix multiple addon options rendered on addon reload. r=aswan
MozReview-Commit-ID: 5IRvDqdW1ZO

--HG--
extra : rebase_source : a3ea4959f027e86ff220c9fb835582be7c3ae130
2017-11-17 16:27:06 +01:00
Ting-Yu Lin
6f96433350 Bug 1418224 Part 4 - Fix tests after adding shape-outside: <image> to style system. r=heycam
Run those fragment URL tests in test_transitions_per_property.html for
clip-path only because shape-outside will resolve URL fragments (i.e. #a),
so the computed value of URL fragment will have document URL as a prefix,
which won't match. Also, added absolute URL tests for both clip-path and
shape-outside.

MozReview-Commit-ID: 8SUpfTaV9cz

--HG--
extra : rebase_source : e5c180a2ef293d70fa33133012023e9360eef98e
2017-11-22 17:54:56 +08:00
Ting-Yu Lin
0a432576a1 Bug 1418224 Part 3 - Add shape-outside: <image> support to style system. r=heycam
Some Gecko style system files are modified to prevent assertions and
crashing, and to keep test failures on stylo disabled builds to minimum.

MozReview-Commit-ID: GuxAeCTz0xx

--HG--
extra : rebase_source : 97c8b3900e4492ac03158a38aa03f7c044b71e0f
2017-11-17 16:34:37 +08:00
Ting-Yu Lin
fdbb843588 Bug 1418224 Part 2 - Extract ShapeInfo::CreateBasicShape(). r=heycam
MozReview-Commit-ID: DZ1O0CzzsyT

--HG--
extra : rebase_source : 41d23db4caef61663003c8ea1453363c90cdeca7
2017-11-21 18:24:34 +08:00
Ting-Yu Lin
8560cb2888 Bug 1418224 Part 1 - Change StyleShapeSource::SetURL's return type to void. r=heycam
No caller check the return value, and SetURL ever returns true.

MozReview-Commit-ID: 5XPFq41Ktlq

--HG--
extra : rebase_source : 7522e024ed38da5e1524eb3128bbf5a70e46177f
2017-10-02 17:51:20 +08:00
arthur.iakab
3da547458f Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-11-24 20:34:20 +02:00
Csoregi Natalia
e06f6769a6 Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE 2017-11-26 13:01:43 +02:00
Csoregi Natalia
6c0aadb872 Backed out 2 changesets (bug 1420026) for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
Backed out changeset 7ef37ebdf7b2 (bug 1420026)
Backed out changeset 75636e9e1d13 (bug 1420026)
2017-11-26 13:00:58 +02:00
Csoregi Natalia
7d839a753c Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE 2017-11-26 12:59:10 +02:00
Ting-Yu Lin
6c9d3c567e servo: Merge #19376 - style: Support shape-image: <image> (from aethanyc:shape-image); r=heycam
This is reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1404222

Source-Repo: https://github.com/servo/servo
Source-Revision: 286ac51c0727c43239c782d9fc4759f0c0d4690b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eed86f694275322017819d3876c96f36cdab063d
2017-11-26 03:30:39 -06:00
arthur.iakab
d89040a725 Merge inbound to mozilla-central r=merge a=merge 2017-11-24 20:09:23 +02:00
ffxbld
899f55bc70 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-11-26 11:29:24 -08:00
ffxbld
b7e36e0dad No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-11-26 11:29:20 -08:00
ffxbld
a1b8503be3 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-26 10:57:54 -08:00
ffxbld
ad8f2d950c No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-26 10:57:51 -08:00
Robert Longson
059b5600cf Bug 584623 - fix cairo bounds calculation for zero length lines. r=jmuizelaar 2017-11-26 14:47:25 +00:00
Cameron McCormack
8839daefd6 Bug 1420383 - Move nsCSSProps::kParserVariantTable into its rightful home in nsCSSProps.cpp. r=xidorn
MozReview-Commit-ID: 7Rg3EYq5GPQ

--HG--
extra : rebase_source : a3bb2bc6fa9f04c72104dc942316f14fd83ed636
2017-11-24 18:17:36 +08:00
Cosmin Sabou
8fd84b7a9d Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-26 01:54:31 +02:00
Cosmin Sabou
651cb90a8a Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout 2017-11-26 01:36:44 +02:00
Jon Leighton
22939c4977 servo: Merge #19358 - Move selection to end when textarea value is assigned (from jonleighton:issue-19171-3); r=KiChjang
Issue #19171

Source-Repo: https://github.com/servo/servo
Source-Revision: 3f0ccd0fef1ad108a22c731e399aa815d0af5441

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 617f3a81ce569cd8edfb20af8f4be58765c989b9
2017-11-25 16:10:41 -06:00
Cosmin Sabou
86ba8150af Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-25 23:22:14 +02:00
Brindusan Cristian
64077545fa Merge inbound to mozilla-central r=merge a=merge 2017-11-25 23:18:37 +02:00
Brindusan Cristian
287ed236c0 Merge autoland to mozilla-central r=merge a=merge 2017-11-25 23:16:36 +02:00
ffxbld
fde154d757 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-11-25 11:31:33 -08:00