Commit Graph

530923 Commits

Author SHA1 Message Date
JW Wang
6359124d70 Bug 1355756. P3 - let CreateAndCopyData() and its friends take TimeUnit for duration. r=gerald
MozReview-Commit-ID: ES0on9VCuu3

--HG--
extra : rebase_source : 8d3e80ec2e1923587b5865516a16bfff9009397d
extra : intermediate-source : 3e59c61b1ccef78e3e8fe52791d7104aade7930c
extra : source : 46fd639ea6a2219bbed70f6555a2acf03ec01a7a
2017-04-12 17:46:09 +08:00
JW Wang
75ff4526d0 Bug 1355756. P2 - let VideoData::UpdateDuration() take TimeUnit. r=gerald
MozReview-Commit-ID: BSydHhJwgup

--HG--
extra : rebase_source : 079c8b504b0fea4e3c2f3b6e9b5881278818d2de
extra : intermediate-source : 42bf372600bd3626ea23c832ea5799c2686ec7ff
extra : source : ba1098c7e9a3f34830c8dd956f37bf49fded15af
2017-04-12 17:34:06 +08:00
JW Wang
464497b945 Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
MozReview-Commit-ID: 3d4bUYtSuMI

--HG--
extra : rebase_source : 94c821b6d381421035e6a12cbe038436055c5822
extra : intermediate-source : 9a06beffc736486f47b9cf05e7f482e726d53068
extra : source : fdbdcd5c1474f04dc1dbde66fcf3a9ecec953053
2017-04-12 17:27:34 +08:00
Nevin Chen
5067faea40 Bug 1352004 - Fix doorhangers missing background. r=sebastian
MozReview-Commit-ID: 6vrY17fYXD6

--HG--
extra : rebase_source : 50e972ac1dc75a20b76bcc36c99af605b7ee735f
2017-04-10 18:13:47 +08:00
Mantaroh Yoshinaga
f376439e5e Bug 1355344 part 2 - Enable w-p-t of perspective-origin animation. r=hiro
MozReview-Commit-ID: 45aFkRfPY9I

--HG--
extra : rebase_source : 73960833ec16a84543e4000c91c50e2512b64149
2017-04-17 13:55:08 +09:00
Aneesh Agrawal
28754cdbf7 servo: Merge #16490 - Remove windows gnu part 2 (from aneeshusa:remove-windows-gnu-part-2); r=metajack
<!-- Please describe your changes on the following line: -->

This is a follow-up to #16468.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because we no longer support MinGW/MSYS

<!-- 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: 485a4de729e196d1baca2ffe01518bbd4b0d1afa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0b7ead6826a132a8b393c3770fabb9243808a294
2017-04-16 21:38:05 -05:00
Phil Ringnalda
e669dc7bd5 Backed out changeset 245952e7a2d5 (bug 1355795) for failures in browser_bug795764_cachedisabled.js 2017-04-16 19:59:17 -07:00
Cameron McCormack
dc932fcd38 Bug 1356510 - stylo: Update test expectations. r=manishearth
MozReview-Commit-ID: H9cunzhaNV

--HG--
extra : rebase_source : 931683d2c76cc81e642865357ffaf68857e0bc21
2017-04-16 22:11:18 +10:00
maliu
cdc8b14c86 Bug 1354973 - Remove view before add to new ViewGroup, r=sebastian
MozReview-Commit-ID: 1Xdlbss6SVO

--HG--
extra : rebase_source : 7ad0e35d111fd5fbe9e5a93d0151ff5acfc18fc2
2017-04-10 11:48:59 +08:00
Servo VCS Sync
0b5b5bdbf2 No bug - Revendor rust dependencies 2017-04-17 02:38:49 +00:00
Matthew
597d87dc54 servo: Merge #16347 - Removing recursion from ComplexSelector (from tictakk:ticbranch); r=emilio
<!-- Please describe your changes on the following line: -->
Using a smallvec instead of recursively calling to_css for ComplexSelector to handle running out of stack.

---
<!-- 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 #16019  (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: fd89ddf4bba2ff7f53842332f0651f45620c494b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1301f611a72e8fa25126aecdf5d2241494e88d64
2017-04-16 21:02:06 -05:00
John Lin
760bdfdd3f Bug 1353459 - handle queueInputBuffer exceptions. r=esawin
MozReview-Commit-ID: 1Tm0vcl3Uv7

--HG--
extra : rebase_source : 9ff8ab441ebe6e4348edd7d0ac2a129f8e3d7311
2017-04-11 16:26:12 +08:00
Cameron McCormack
69391ef97e servo: Merge #16488 - style: add Gecko-only support for sideways-{lr,rl} and deprecated SVG 1.1 writing-mode values (from heycam:wm); r=Manishearth
From https://bugzilla.mozilla.org/show_bug.cgi?id=1356510.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9e216a593b7acaaf5c670b7ab9b341b7c11caf2c
2017-04-16 20:26:18 -05:00
Fischer.json
b402f34dd0 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb

--HG--
extra : rebase_source : 5fd811f1eb99b5318e4e501baea85fd0fc697639
2017-04-12 11:53:18 +08:00
Mike Hommey
9adb1c6754 Bug 1356931 - Remove gcc-b2g.manifest. r=sfink
The code that could make use of it was removed in bug 1239082.

--HG--
extra : rebase_source : 25f3aaf11ddbab333a60efe6236dc1458f181f10
2017-04-17 08:25:23 +09:00
Mantaroh Yoshinaga
cd002fa0b0 servo: Merge #16451 - Make perspective origin animatable (from mantaroh:animate_perspective_origin); r=hiro,emilio
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355344

---
<!-- 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

<!-- Either: -->
- [X] There are tests for these changes, a test case will be landed in web-platform-tests in https://bugzilla.mozilla.org/show_bug.cgi?id=1355344

Source-Repo: https://github.com/servo/servo
Source-Revision: 533853fdce029d7184a33f7d08bfce7cbd6248c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ebe2c4527c47e99c43a054d333e09d83af48c5a
2017-04-16 18:53:10 -05:00
Markus Stange
07375231f4 Bug 1356898 - Use nsAutoCString in two places in TelemetryHistogram.cpp. r=froydnj
MozReview-Commit-ID: 3njPBvdhwRj

--HG--
extra : rebase_source : 0cab1ff7c2030ffd6750d21891976f1dc8bef7b6
2017-04-16 14:18:00 -04:00
Pyfisch
15f9c9eb2a servo: Merge #16466 - Remove comment about text-combine-upright digits (from pyfisch:text-combine-upright-no-number); r=emilio
The digits value was never implemented and was dropped from the spec. Old issues like #13769 still discussed if this value should be implemented.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] 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: d8b1f0842ca0cc1efe297f6d7419a9e58bbe5bc4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2b2cb1669fd23e086f9d6c9df09a58cdf9b7f8a9
2017-04-16 15:42:36 -05:00
charlesvdv
f8d6c4caba servo: Merge #15822 - Correct unicode handling for text input (from charlesvdv:unicode-panic); r=emilio
<!-- Please describe your changes on the following line: -->
Allow proprer handling of unicode sequence in text input.

---
<!-- 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 #15819

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

<!-- 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: e45546edf0445d5ca714162bff89c0780d087993

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8cd625aa90a6f6647fa4c05a684259a49f49d28d
2017-04-16 15:08:59 -05:00
Dominik Boehi
f3ec6ea1b2 servo: Merge #16388 - Fix panic when font face name is not available (from Tiwalun:fix-freetype-panic); r=emilio
I got a panic in Servo when I ran it with `RUST_LOG=debug`, which was due to `FT_Get_Postscript_Name` returning a null pointer.

I'm not sure how to add a test for this, so there is none right now.

---
<!-- 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

<!-- Either: -->
- [ ] 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: 5ccb087769fdb5253514e1ea2babd28b21c65907

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3a4b401a5d228ecd4d344af9076c3714cb00edf
2017-04-16 10:50:20 -05:00
Sebastian Hengst
eacfbf3ac6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D039X4edhVO
2017-04-16 20:00:50 +02:00
Paul Rouget
589fae16f0 servo: Merge #16482 - Add more dependencies to Fedora instructions (from servo:readme-fedora-update); r=Manishearth
Readme update

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67c00b97e8c0ef7b9649eca815ef4033a70e8b90
2017-04-16 07:29:57 -05:00
Srivatsav Gunisetty
76c4df4bd0 Bug 1354199 - Remove border and background fallback styling from tabbox.css. r=dao 2017-04-16 09:37:09 +02:00
Simon Sapin
9c39cd7b69 servo: Merge #16473 - Upgrade to rustc 1.18.0-nightly (5f13a3b54 2017-04-15) (from servo:rustup); r=emilio
This version enables [struct field reordering][1] which brings the size of the types for specified values of some CSS properties under the threshold such that they shouldn’t be boxed anymore, making unit tests fail.

Simply unboxing them moves the test failure to Stylo’s unit tests, since the stable compiler used in that case does not do field re-ordering. Therefore, we manually reorder a couple fields to effectively bring this optimization to older compilers for a few specific types.

[1]: https://github.com/rust-lang/rust/pull/40377

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 89b15d84b3f4b106d58ca90b3fd18f552d1a6633
2017-04-16 00:13:28 -05:00
Phil Ringnalda
9ef70fa376 Backed out changeset e7c2fe034f25 (bug 1356816) for mochitest bustage 2017-04-15 21:42:59 -07:00
Yash Mehrotra
b43a59c0ba servo: Merge #16478 - Support non-negative parsing of lengths for Either<Length, T> types (from yashmehrotra:fix-16423); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
Implemented a generic `impl<T> Either<Length, T>` which has a `parse_non_negative_length` method.

---
<!-- 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 #16423

<!-- Either: -->
- [x] These changes do not require tests because this functionality makes code more modular and doesn't change any existing implementation.

<!-- 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: 91bd8f44f2bf373921a8453d4a9732f22d8ee344

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6527c5e771456dd86aea0fdcbfed5524c935aef3
2017-04-15 23:02:14 -05:00
Ehsan Akhgari
565998d286 Bug 1356835 - Reduce the hashtable lookup cost in nsContentPolicy::CheckPolicy(); r=qdot 2017-04-15 19:10:46 -04:00
Ehsan Akhgari
29071e6146 Backout change fb3c323635d6 (bug 1347400) because the telemetry probe didn't prove to be useful 2017-04-15 17:20:25 -04:00
Kris Maglione
8b4fddd42c Bug 1356827: Don't load the blocklist service before we need it. r=rhelmer
MozReview-Commit-ID: EYkSgnOocWQ

--HG--
extra : rebase_source : 3d5bceeadd95e98de6d67eae5d90182f72e2a46d
2017-04-15 11:35:31 -07:00
Sebastian Hengst
96f0bd0fb6 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-15 20:10:39 +02:00
Sebastian Hengst
a7334b2896 Bug 1347709 and Bug 1356569 - Bump eslint plugin version to resolve conflict. r=instruction-by-florian a=bustage-fix
MozReview-Commit-ID: 2zp9hXqxT26

--HG--
extra : amend_source : 465b881899a40cf29d0f3d7dbdd883d8a61edb2c
2017-04-15 20:05:51 +02:00
Kris Maglione
4d4b8c1d3d Bug 1356821: Lazily create console object for bootstrap scopes. r=rhelmer
MozReview-Commit-ID: 1NGObNECE8

--HG--
extra : rebase_source : 98d9bddbc02961d374e0ebe0fd04021eaf0eebcc
2017-04-15 11:03:34 -07:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Kris Maglione
e09538853e Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ

--HG--
extra : rebase_source : 90255959af96b1878d6484718e472db172b02318
2017-04-15 10:13:39 -07:00
Ehsan Akhgari
4d48614a50 Bug 1356755 - Don't pass a null pointer to NotifyDocumentTree(); r=qdot 2017-04-15 12:44:31 -04:00
Olli Pettay
27d9c5656a Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz 2017-04-15 18:55:05 +03:00
Hiroyuki Ikezoe
5d653db212 Bug 1324700 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 38Gk7MCIjJD

--HG--
extra : rebase_source : c731ddc207090ef3c1003a4e7b328e6d939e6c3b
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
0da40fea4c Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
MozReview-Commit-ID: KPhujlE54vL

--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
df137b26a6 Bug 1324700 - Drop warnings for stylo. r=heycam
The code path no longer happens on stylo.

MozReview-Commit-ID: LdQFPNd5YnX

--HG--
extra : rebase_source : 1213f7e944858ddac8061534823f20177c4f63a6
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
a52cf990ce Bug 1324700 - Resolve filter property for servo. r=heycam
MozReview-Commit-ID: 6IHs682rZfH

--HG--
extra : rebase_source : 6688d70a0c92e27f15e97f0d55062fc74f08339e
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
3f46fb9acf Bug 1324700 - Add a function which is equivalent to ResolveStyleForFilter for servo. r=heycam
Also ResolveStyleForFilter is renamed to ResolveFilterStyle for consistency.

MozReview-Commit-ID: IEOxNexpnl5

--HG--
extra : rebase_source : bd806654b3e5462b3abb4fc226b3824bc0acb71f
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
1e6deac4e2 Bug 1324700 - Resolve font property for servo. r=heycam
MozReview-Commit-ID: BvQXFMP0Zr9

--HG--
extra : rebase_source : 9211fa78dd3bf19afe0564e8328d95df2aa8068a
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
b4e5e8f728 Bug 1324700 - Add a function which is equivalent to GetFontStyleContext() for servo. r=heycam
MozReview-Commit-ID: K4KvPk4fJTb

--HG--
extra : rebase_source : 53d8f91652d803b953a86eb03817d40d89e27069
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
51d6b62cb0 Bug 1324700 - Add an FFI which returns computed values for a given declaration block with/without parent_style. r=heycam
The function uses document's default computed values if the parent style
is not specified.

MozReview-Commit-ID: ICd3phAi0C6

--HG--
extra : rebase_source : 343dee682096b75cd7f905db7207823f7e3624b5
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
175655448b Bug 1324700 - Add a function that checks PropertyDeclarationBlock has a CSSWideKeyword for a given property. r=heycam
It will be used to check whether the PropertyDeclarationBlock has 'inherit',
'initial' or 'unset'.


MozReview-Commit-ID: JxlxAJJSNJI

--HG--
extra : rebase_source : 99912dcbcfb39e2710e822b93c7933af79b5421b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a469fe8fd0 Bug 1324700 - Add a function which is equivalent to CreateDeclaration() for servo. r=heycam
MozReview-Commit-ID: 8zgpqLzftbV

--HG--
extra : rebase_source : 6940af726bba96295a7402b4791f170a606fc0f4
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a7215d7152 Bug 1324700 - Add ResolveServoTransientStyle to get servo's computed values instead of nsStyleContext. r=heycam
Also this patch add nsIAtom as an argument to ResolveTransientStyle() to call
the new function ResolveServoTransientStyle easier. The only call site of the
ResolveTransientStyle() has already nsIAtom* there.

MozReview-Commit-ID: IwxqZbaCSpB

--HG--
extra : rebase_source : b94a3a8723fe53f38eb6144a5926dec3d7796e72
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
d034849334 Bug 1324700 - Call PreTraverseSync() before calling ResolveStyleLazily() in ResolveTransientStyle(). r=heycam
MozReview-Commit-ID: 5KMELNYZJnq

--HG--
extra : rebase_source : 025a0d2267144bd631f28f554dba54352b13a43b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
784bf46abc Bug 1324700 - Servo_ParseProperty() takes nsCSSPropertyID instead of nsACString. r=heycam
MozReview-Commit-ID: Gn90DBlJSS9

--HG--
extra : rebase_source : 444f4188de7e32f5414f2b75046903dc504db1a0
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
b802b1057e servo: Merge #16470 - Canvas font handling (from hiikezoe:canvas-font-handling); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1324700

---
<!-- 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

<!-- Either: -->
- [X] These changes do not require tests because it's for stylo.

<!-- 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: a9e917cf87a0a72c41cedfb67e053e08fdfa5ebe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 217bdbf43760bdfbe508fad71d3068746243da6d
2017-04-15 06:20:52 -05:00