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

528170 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack a051e59594 Bug 1341102 - stylo: Add some fuzziness to box-decoration-break-with-inset-box-shadow-1.html. 2017-03-31 17:41:44 +08:00
JW Wang 17fd6d8cd9 Bug 1352319. P12 - let CalculateNewCurrentTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 6bQdKvw0VEN

--HG--
extra : rebase_source : 4b6486f7626d3a3a44012485d7ee5c4ddf5e0ee2
extra : source : a0cb6689491d236a6cdd1196cfdf41c35cb46c20
2017-03-28 16:44:40 +08:00
JW Wang 7e2b1dfe92 Bug 1352319. P11 - change the type of NextFrameSeekingState::mCurrentTime to TimeUnit. r=kaku
MozReview-Commit-ID: Q4u92HgGdF

--HG--
extra : rebase_source : 4a6777c0e1ed50d84fa3ccce98667b461c094cd0
extra : source : 7995043baf379ec4f20e93acfd649f0307905d64
2017-03-28 16:38:26 +08:00
JW Wang 14d7d8bec7 Bug 1352319. P10 - let GetClock() return a TimeUnit. r=kaku
MozReview-Commit-ID: Efl1FemHOmJ

--HG--
extra : rebase_source : 39862017f074d30374c05f861cd360cc4d20aeb0
extra : source : a7363eb07fbef9ecd9a30037da6c9a0f356fadb1
2017-03-28 16:35:24 +08:00
JW Wang 308286b2e3 Bug 1352319. P9 - let GetMediaTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 7vrIzeMLP4Z

--HG--
extra : rebase_source : fe59f42336ea04d573579d8c6bdb1ecb8849f592
extra : source : 1d26e04ea6f7ad969ae995025d87c8b7836925fe
2017-03-28 16:16:56 +08:00
JW Wang 149633543d Bug 1352319. P8 - use TimeUnit in UpdatePlaybackPosition(). r=kaku
MozReview-Commit-ID: JkopzDG45Bq

--HG--
extra : rebase_source : c9bf356a4b421012f7756841aae8c3ced028c579
extra : source : fb3b140d5a5ecec923e75d11e314f216a88f502a
2017-03-28 16:01:55 +08:00
JW Wang d79d1e4a87 Bug 1352319. P7 - use TimeUnit in UpdatePlaybackPositionInternal(). r=kaku
MozReview-Commit-ID: ASzjKhHlhVA

--HG--
extra : rebase_source : a2fed6debead5ba37574dcc79b8ac7a5e2701064
extra : source : 678b5117a8b9d778e6f785b53cab3c0007061cfe
2017-03-28 15:57:38 +08:00
JW Wang 1b98a1aef1 Bug 1352319. P6 - let AudioEndTime/VideoEndTime return a TimeUnit. r=kaku
MozReview-Commit-ID: 6yyVl2RDrPm

--HG--
extra : rebase_source : c62f1972acb4c4f376fe2a1d689246a02ffb0fd8
extra : source : 9a7b19b5a668270cd9af875dd8b33791f69b542b
2017-03-28 15:50:53 +08:00
JW Wang f47a7d4631 Bug 1352319. P5 - rename AudioPrerollUsecs and let it return a TimeUnit. r=kaku
MozReview-Commit-ID: C3IdeNksQjn

--HG--
extra : rebase_source : f1dcc25e33dc0b8d3b09252509bf738088cc16ae
extra : source : 1b4d5af3409768bf3e2373e6627e2d72a6e290ab
2017-03-28 15:42:09 +08:00
JW Wang 747b792884 Bug 1352319. P4 - move AudioPrerollUsecs/VideoPrerollFrames into DecodingState. r=kaku
MozReview-Commit-ID: 3VuDj1TXZV2

--HG--
extra : rebase_source : 53471b886ee48e845e31b70e9e13d82b0620a6a7
extra : source : 383119c9b722b892d300cb56b92116af3285b60a
2017-03-28 15:38:34 +08:00
JW Wang 428f953b53 Bug 1352319. P3 - use TimeUnit in HasLowBufferedData(). r=kaku
MozReview-Commit-ID: HP7M78yKpww

--HG--
extra : rebase_source : 84069608ad345ea248b5584e8847df99d9d030a1
extra : source : 6a5be23e8d7ed332bfbd99717db24f22b0ad4824
2017-03-28 15:09:30 +08:00
JW Wang c2313c1dc6 Bug 1352319. P2 - rename variables and fix comments. r=kaku
MozReview-Commit-ID: G7II28F00Qp

--HG--
extra : rebase_source : 080df9f9c88d47b22f3aee24c66a342c2591861d
extra : source : e62c3c8524fe41601dcb5fa92b2b156906ad9234
2017-03-28 14:58:03 +08:00
JW Wang dafc031d93 Bug 1352319. P1 - add LOW_BUFFER_THRESHOLD and replace the use of LOW_DATA_THRESHOLD_USECS with it. r=kaku
MozReview-Commit-ID: HNQR7Y93pAz

--HG--
extra : rebase_source : 9ee8f45df132901345922255bda4f634b22be6c3
extra : source : fae6434fdc3a76aa29197ccb43a501cee713f173
2017-03-28 14:56:35 +08:00
Johann Hofmann a01a4f8ec3 Bug 1334842 - Fix intermittent browser_temporary_permissions.js. r=Nihanth
This intermittent was likely occurring because we set the expiry timeout
for temporary permissions to a really low value in the previous test.
The failing test was only failing on slow machines, leading me to believe
that the time between setting and checking was larger than the 500ms timeout
defined in the previous test. Thus, the permission was reset on checking it.
The expiry pref was set using pushPrefEnv, which restores prefs only after
the entire test was run. To just eradicate this category of problems in
the future I moved the test that manipulates the expiry into its own file.

MozReview-Commit-ID: 3mc5xHY4XLn

--HG--
extra : rebase_source : 40f78258a975da9dca9a47beddcaaeea83649de3
2017-03-29 16:15:56 +02:00
Iris Hsiao 98b769cf18 Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst 2374426ebe Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout 2017-03-31 10:08:21 +02:00
Sebastian Hengst cb6b27aed8 Backed out changeset ffbf6849c41f (bug 1019483) 2017-03-31 10:07:50 +02:00
Sebastian Hengst 91095472dc Backed out changeset f3ccca098f5e (bug 1019483) 2017-03-31 10:07:45 +02:00
Zibi Braniecki ad3956d0f1 Bug 1351873 - Bind OSPreferences::GetSystemLocale to use `intl.locale.os` pref. r=rnewman
This patch fixes a regression that we hit on Fennec when we handed over control
over language negotiation to LocaleService in bug 1347306.

The problem is that we currently do not have good Android bindings for
OSPreferences::GetSystemLocale and in result we could not negotiate
languages between user-selected OS locales and available locales.

The temporary solution implemented here binds android OS preferences to
`intl.locale.os` pref which is set on Locale:OS event in browser.js.
In LocaleService we add a listener on the pref to renegotiate languages
when OS locale changes.

MozReview-Commit-ID: KTqjYSzLNNO

--HG--
extra : rebase_source : 61b692e81ce67cdb15a7962e41ebe78164dbe1aa
2017-03-31 01:30:54 +02:00
bechen d75825c747 Bug 1350821 - Notify the mediaElement to render subtitle when the mCaption was created or re-created. r=rillian
MozReview-Commit-ID: 3RM7u8jumT9

--HG--
extra : rebase_source : 2a3ed8f304ac8fdf9c0cc897e2f70bd2d23e8101
2017-03-28 16:48:40 +08:00
JW Wang 83749eaa68 Bug 1351203. P2 - rename the variable and fix comments. r=kaku
MozReview-Commit-ID: Bs2uanapqR9

--HG--
extra : rebase_source : 431bcddbb23d60298a39cf4bb6c6fc8d5990a215
extra : source : 58f8153869933f3de7272b7058017acf60a82ec6
2017-03-28 14:46:34 +08:00
JW Wang 2c75e6cb53 Bug 1351203. P1 - change the type of LOW_VIDEO_THRESHOLD_USECS to TimeUnit. r=kaku
MozReview-Commit-ID: 47uMuLTPFPt

--HG--
extra : rebase_source : 4e6a9ac7e7c4b631cc880bafc4fa7bb86fb9d455
extra : source : 27b5c45872f2595e109a8c87df1365a9bd9d6f8d
2017-03-28 14:43:56 +08:00
Manish Goregaokar 1a52807756 Bug 1341102 - Update stylo test expectations
MozReview-Commit-ID: YQ4bixZsfo
2017-03-31 00:22:55 -07:00
Scott Wu 0e8a46bf3b Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : 661dc49e59066f983a802d5f4ebedc6cceb359ac
2017-03-30 14:34:38 +08:00
Scott Wu cf289cb4ce Bug 1019483 - (Part 1) Create interface to manage autofill profiles. r=MattN
MozReview-Commit-ID: KrGSPz7B108

--HG--
extra : rebase_source : 29d93d82b5240420121024ec9fb7afea69d5600b
2017-03-06 15:56:51 +08:00
Iris Hsiao f55fc8d7c5 Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
Alastor Wu 17e20d08f6 Bug 1352014 - add the flag 'RELEASE_OR_BETA' for the pref 'media.block-autoplay-until-in-foreground'. r=bwu
Put this feature only on Aurora and Nightly until it's stable enough.

MozReview-Commit-ID: 4jl9gZO3wtt

--HG--
extra : rebase_source : 952f2718d77ff3bc48a92152fbfa290798db33c6
2017-03-30 17:50:57 +08:00
Ricky Chien a2f3ae372e Bug 1352288 - Fix versioned scripts regression and update devtools-core r=Honza
MozReview-Commit-ID: GYojMk8RmMc

--HG--
extra : rebase_source : b3b6da1cddfa5eda0e2420f8cdc0e0664ea69b65
2017-03-31 11:14:32 +08:00
Jan Odvarko 3bf8d6ec24 Bug 1328001 - Fix focusring on devtools buttons; r=jryans,ntim
MozReview-Commit-ID: 2SA3ZLLIE8E

--HG--
extra : rebase_source : 70e98d6eccaf6781fe367e1a9a04eb215917aa4e
2017-03-29 14:31:19 +02:00
Bryce Van Dyk 19caff72af Bug 1325481 - Update clang-format fetch/locate codepath to gracefully fail. r=sylvestre
The checking on the return of value of fetch/locate is not working as intended.
The code should be early returning, but the return value of fetch/locate is 1 in
failure cases, which will not trigger the early return. The return value has
been altered to None, which will trigger the early return.

MozReview-Commit-ID: FDCW6rbZI6T

--HG--
extra : rebase_source : 8b087174db268d7d6a0bb62e6537f82a3b15b28d
2016-12-23 11:15:00 +13:00
Markus Stange 079ae63547 Bug 1352234 - Make nsImageRenderer.cpp and nsCSSRenderingGradients.h compile independent of build unification. r=rhunt
A few includes and namespace annotations are missing. And
nsImageRenderer.cpp is calling two functions that are static functions in
nsCSSRendering.cpp.

MozReview-Commit-ID: BLVPwpKB7On

--HG--
extra : rebase_source : d6111d093de47b88b5beba6478de4b6ed75b2a52
2017-03-30 17:50:47 -04:00
JW Wang d4487752ce Bug 1350837. P3 - rename the variable and fix comments. r=kaku
MozReview-Commit-ID: JI1sp6f6Xnb

--HG--
extra : rebase_source : 81342c1c7ce66f41b9c1edc81e1fa8ae2a29d711
extra : source : 7ef12f35a566561375eceb89f4499256f6f49cbe
2017-03-28 14:38:30 +08:00
JW Wang 392f7fe562 Bug 1350837. P2 - change the type of mAmpleAudioThresholdUsecs to TimeUnit. r=kaku
MozReview-Commit-ID: 2de8DrlemaT

--HG--
extra : rebase_source : 8aefbfa66940bacff448dff1733b9741993078af
extra : source : 479fe87b6feb3aa34d8725357bea7eaf12c37ac3
2017-03-28 14:27:26 +08:00
JW Wang 3cc0ac793e Bug 1350837. P1 - add AMPLE_AUDIO_THRESHOLD and use it to replace AMPLE_AUDIO_USECS. r=kaku
Note we can't simply change the type of AMPLE_AUDIO_USECS to TimeUnit because it is
used in a static_assert and TimeUnit::ToMicroseconds() is not a const expression.
There is no easy way to change it because CheckedInt::value() calls MOZ_ASSERT which
can't be a const expression.

MozReview-Commit-ID: 17qaTFOOLpL

--HG--
extra : rebase_source : 30d20d681d64cae35e0a56e9c6113afd1a712548
extra : source : bb1e3ec2bc37b0c0c7377dd78d935f60fca3a643
2017-03-28 14:21:01 +08:00
JW Wang d89ec64fed Bug 1350832. P3 - rename variables and fix comments. r=kikuo
MozReview-Commit-ID: 1xA8doM1tAG

--HG--
extra : rebase_source : fdeba5d0006a4875fdb96a620c98bab5dd80b580
extra : source : bcf51727f7416c0fe140b95f5875da6aca8ae0d1
2017-03-27 16:28:02 +08:00
JW Wang faade86218 Bug 1350832. P2 - change the type of mLowAudioThresholdUsecs to TimeUnit. r=kikuo
MozReview-Commit-ID: AurJRSuZkkg

--HG--
extra : rebase_source : 0fd06ad51f35d203c094d26c74a2d098f53bd36b
extra : source : 7ec0cc1999c03a09313c7ef85c90c8537440db8d
2017-03-27 16:22:09 +08:00
JW Wang 52f41d64eb Bug 1350832. P1 - change the type of LOW_AUDIO_USECS to TimeUnit. r=kikuo
MozReview-Commit-ID: GEemdvt5ldM

--HG--
extra : rebase_source : c8e62486dd3151602f91d37902e32b86a71f25e7
extra : source : 74788cb656f1d2829b60801f5964c159037fd0b4
2017-03-27 16:15:35 +08:00
Nihanth Subramanya 612842ec96 Bug 1345687 - Allow identity popup to be shown irrespective of pageproxystate if a permission has been granted to the current site. r=johannh
MozReview-Commit-ID: 4Bjnkgf1m16

--HG--
extra : rebase_source : 222b450ffe9df611b1456a13ee766d5c5b0542a2
2017-03-29 21:04:32 +05:30
Manish Goregaokar d52216a79d Bug 1341648 - stylo: Include content rules from HTMLTableCellElement::WalkContentStyleRules ; r=bz
This also removes the TABLE_ATTRS_DIRTY optimization. Constructing nsMappedAttributes isn't really expensive and we do it all the time anyway.

MozReview-Commit-ID: 2krt1nFUzgl

--HG--
extra : rebase_source : 18d400aed6f427e5efc503b87b6ee2d9af74f3f5
2017-03-26 13:53:34 -07:00
Manish Goregaokar 9b10ce5297 servo: Merge #16199 - stylo: Include content rules from HTMLTableCellElement::WalkContentStyleRules (from Manishearth:stylo-td-content); r=bz
This also removes the TABLE_ATTRS_DIRTY optimization. Constructing nsMappedAttributes isn't really expensive and we do it all the time anyway.

r=bz https://bugzilla.mozilla.org/show_bug.cgi?id=1341648

Source-Repo: https://github.com/servo/servo
Source-Revision: 6519503a5ffe28255602fadbce2390839b81d8a1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 850d495a484c38e79d8d74ec8decf410cd4a4170
2017-03-30 22:22:26 -05:00
Chih-Yi Leu 965c09b783 Bug 1311802 - Part3 - Initialize VRHMDSensorstate in VRMockDisplay to prevent crash; r=daoshengmu
MozReview-Commit-ID: ArGz64pDgZ7

--HG--
extra : rebase_source : c26317b727ed8abc166ffcb6c32ca529abd3d751
2017-03-30 16:42:25 +08:00
Chih-Yi Leu 77f9b81b79 Bug 1311802 - Part2 - Add Mochitest implementation; r=daoshengmu
MozReview-Commit-ID: K9Z0AWIi9Yp

--HG--
extra : rebase_source : 57189d1a951785a64add14036bfd9a1f00507508
2017-03-30 12:02:37 +08:00
Chih-Yi Leu 87da0a5295 Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
MozReview-Commit-ID: 7MFHIri2Bq7

--HG--
extra : rebase_source : 87c33bc5f06e6bcf53b72cae398ee72873c883cf
2017-03-27 11:26:19 +08:00
Kearwood Gilbert 09a9e040fa Bug 1351687 - Correct and Enable Pose Prediction for Oculus r=daoshengmu
MozReview-Commit-ID: Cl6DufZGxgQ

--HG--
extra : rebase_source : c76a20d8d5e582028c5216d5b839e0a4de0959f2
2017-03-30 15:27:50 -04:00
Ryan VanderMeulen dfcca02a7f Bug 1350908 - Upgrade Hunspell to version 1.6.1. r=masayuki
--HG--
extra : rebase_source : 0f8f351d0e5951a4d0a86a79fe8510c718a88c67
2017-03-30 22:30:35 -04:00
streichgeorg 9f87fd55c6 servo: Merge #16166 - initial-letter property (from streichgeorg:initial-letter); r=emilio
<!-- Please describe your changes on the following line: -->
Implemented parsing and serialization for the initial-letter property.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15959 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 04d12fa8f83a1340c8c2fcc11c89ce2ea40b430d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7fe54869866595e89d4eeaaee29ddb4e0f47c3c8
2017-03-30 18:37:24 -05:00
Ying-Ruei Liang(KK) 6d28e072df servo: Merge #16170 - Implement HTMLAnchorElement.rel getter and setter (from TheKK:implement_html_anchor_element_rel); r=jdm
This PR makes code below possible:

```javascript
a = document.createElement("a");
a.rel = "foo";
console.log(a.rel); // print out "foo"
```
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 2e743c2c56d7841ed9135e72581bf7db5e1092b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0968bc1bd94b382611b548a7243b6831901722f9
2017-03-30 17:25:31 -05:00
Nazım Can Altınova bf065fb0d0 servo: Merge #16194 - stylo: Serialize unquoted font-family without quote (from canaltinova:font-family); r=Manishearth
<!-- Please describe your changes on the following line: -->
Reviewed by Manishearth

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1351262](https://bugzilla.mozilla.org/show_bug.cgi?id=1351262)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ecf42ca6e94bc50b835defc084a357152c24cdaf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8a76af0acde6144d12013df5a12babbd6e82a744
2017-03-30 15:45:39 -05:00
Nazım Can Altınova e31083ac08 Bug 1351262 - Serialize unquoted font-family without quote r=manishearth
MozReview-Commit-ID: LY554sZxZyb

--HG--
extra : rebase_source : acfaafcee91db6775e033beff6fd94487aefa0a6
2017-03-30 21:15:57 +03:00
Masatoshi Kimura 0190f40378 Bug 1351832 - Always put the primary monitor at the top of the screen list. r=kanru
MozReview-Commit-ID: 3ZrInOUJ5bj

--HG--
extra : rebase_source : 2f68012bfc8fc71e6dda241891e5964eb24e2c55
2017-03-30 22:49:10 +09:00