Commit Graph

520907 Commits

Author SHA1 Message Date
Matt Brubeck
be415107d3 servo: Merge #15594 - Fix initial value of align-content and justify-content (from mbrubeck:align-content-fix); r=Manishearth
This fixes a trivial mistake in #15533, caused by me misreading the spec. r? @Manishearth

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 668d521e0ecc9c92b9d5f7af48d72eeffc490815
2017-02-16 18:16:28 -08:00
Cameron McCormack
dfe8d7eb9f Bug 1340407 - revendor rust dependencies after 2017-02-16 servo commits
CLOSED TREE
2017-02-17 12:20:24 +08:00
Fischer.json
3cf5350b8f Bug 1323395 - Show warning when disk space available for firefox is not enough, r=jaws
MozReview-Commit-ID: HttJ2RFCTtS

--HG--
extra : rebase_source : 0e3fc00c0f429b0fb010827de6f33bdfe197d161
2016-12-28 16:53:38 +08:00
Alan Jeffrey
90f15532d4 servo: Merge #15358 - Allow browsing contexts to resolve to cross-origin windows (from asajeffrey:script-browsingcontext-xorigin-window); r=jdm
<!-- Please describe your changes on the following line: -->

This PR implements cross-thread `WindowProxy` objects.

At the moment, if a `Window` performs a non-similar-origin navigation, the old script thread does not update its `WindowProxy`, since the new `Window` is in the new script thread. With this PR, the `WindowProxy` is updated to a dummy `XOriginWindow` object, that only implements the whitelisted methods that are allowed to be called cross-origin.

This PR does not include working implementations of some of the cross-origin `Window` or `Location` methods.

This PR causes some cross-origin wpt tests to now pass, in particular `/html/browsers/origin/cross-origin-objects/cross-origin-objects.html ` now passes `Only whitelisted properties are accessible cross-origin`. There are some CORS failures in `fetch`, I suspect caused by the incorrect setting of `origin` in fetch requests.

Although there are some functions that now throw `SecurityException`, it is not meant to be a complete implementation, which will have to wait for XOWs to land.

---
<!-- 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 #15180.
- [X] There are tests for these changes

<!-- 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: 6adbcb4ccdc1f74638b0c6e990c122e34bc967e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 58d9f159bf07c8f6e695afbd4d9904edbd418a62
2017-02-16 16:57:05 -08:00
Matt Brubeck
3a75ed1ba5 servo: Merge #15576 - stylo: Implement 'align-self' and 'justify-self' (from mbrubeck:align); r=Manishearth
Stylo-only patch to match Gecko property support. Part of #15001. r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 11396b4dd3834d6794bd4e32f30c1df96fc6a01d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2b17ff4d7a75d9fcd60f84a14f1178a102f0c13d
2017-02-16 13:51:15 -08:00
Emilio Cobos Álvarez
385b306f91 servo: Merge #15582 - Update nsstring (from emilio:nsstring); r=heycam
This should fix bug 1334579

<!-- Please describe your changes on the following line: -->
r? @bholley @heycam or @Manishearth

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 07909e89e651b2957d9b9104e512e831975f8f1c
2017-02-16 12:12:32 -08:00
Anthony Ramine
ba474011c0 servo: Merge #15584 - Move script lints to script_plugins (from nox:plugin); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a099d27f99dadf3f7c26d997e43c1a12e0c5bd0e

--HG--
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d9f5feb6fec348aa13107d51c21f3a7861c37eee
2017-02-16 10:58:19 -08:00
Gregory Katz
efe0749332 servo: Merge #15590 - Adds an as_str() method to WebIDL enums to hide slice of strings (from gregkatz:webidl-enum-as-str); r=Ms2ger
<!-- Please describe your changes on the following line: -->
This PR adds an `as_str()` method to WebIDL enums to hide slice of strings from callers. It uses the new method in two places. It also eliminates a to_string() call that seemed unnecessary to me.

---
<!-- 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 #15586 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because github issue says no tests needed.

<!-- 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: 05623b36a15b594bbc690fcd8e3b642995618de1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b6a2dd1ce49c8f9e5d1ba95685e81600b33f0207
2017-02-16 09:15:15 -08:00
Anthony Ramine
fb18b1bc80 servo: Merge #15537 - Update ipc-channel to 0.6.3 (from servo:webrender); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 4a0b730cafd09fbd6e5cbc00727caef9b3cae315

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff60d998ee96372d2dc811e5e73b730801c4f5c9
2017-02-16 03:53:49 -08:00
Emilio Cobos Álvarez
d4f0d791be servo: Merge #15580 - Bindgenup (from emilio:stylo); r=heycam
Major pain point is that I had to write the bitfield stuff manually, but that
should be resolved soon again.

Now we generate proper layout for _every_ struct, including field offsets \o/.

r? @heycam

Source-Repo: https://github.com/servo/servo
Source-Revision: 35e7a4cd2c27db605f15670f318dffba22a1c680

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7d3a170fc1e0785344337ee95fcde41edac0b425
2017-02-16 02:58:54 -08:00
Ms2ger
efab3fcb41 servo: Merge #15544 - Root dictionaries that contain any or object (from servo:RootedTraceable-dict); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cc6d3e99781394b76ad2725661ae8f6bb895f7b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e1385f3263398b884cbcd78c5f235e58588bf439
2017-02-16 02:03:54 -08:00
Anthony Ramine
ebd0059363 servo: Merge #15567 - Replace inheritance_integrity by trait shenanigans (from nox:plugin); r=SimonSapin
Replace inheritance_integrity by trait shenanigans

Source-Repo: https://github.com/servo/servo
Source-Revision: 84a44a401424852bc44ef5e751e84544ed892e70

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9ea9f048cd4b0617f1385b8ee6c3b170956087e1
2017-02-15 20:49:47 -08:00
Glenn Watson
1c7f658c86 servo: Merge #15575 - Update WR (image mask, vertex texture bug fixes) (from glennw:update-wr-bug-fixes); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: ab197de04f51f4bc2ed504b846e12a0abedf8f1f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 38b7300c6c313cd58e585f59b971dccb621503e5
2017-02-15 13:43:43 -08:00
Tetsuharu OHZEKI
5de2df5407 servo: Merge #15561 - Stop using DOMRefCell<Heap<..>> (from saneyuki:rm-domrefcell-heap); r=mbrubeck
Fix https://github.com/servo/servo/issues/15560

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4aff662534262468a839c78bd07a5357f7d3954
2017-02-15 11:11:40 -08:00
Ms2ger
754958ec8b servo: Merge #15563 - Update js (from servo:update-js); r=nox
Fixes #15553.

Source-Repo: https://github.com/servo/servo
Source-Revision: 34fb10bd406cd71cd76840b539faed20b33791a0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c620464efad5432eb5a57a22d3f9064c7466b98
2017-02-15 07:46:03 -08:00
Anthony Ramine
38f941302b servo: Merge #15559 - Allow disabling LLVM assertions in rustc (fixes #15548) (from servo:rustup); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f10a0f2e1ae545649957cc7e305c8cb81312759

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5a783721d549881760dfac0fe76eee89b88eea70
2017-02-15 06:46:22 -08:00
Simon Sapin
f79ed665d6 servo: Merge #15552 - Update cssparser to 0.9 (from servo:cssparserup); r=nox
<!-- 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
- [ ] 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: 216a89f7766dd366c4afbeae42cf6e1fb4f67349

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4fda145836ce21afef7e9733c770f937b94a34d2
2017-02-15 03:58:38 -08:00
Bobby Holley
4596312de1 servo: Merge #15557 - stylo: various fixes to improve style logging in opt builds (from bholley:opt_logging); r=emilio
This adds a traversal time entry to the style statistics, and switches to warn! as discussed in [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1339176

Source-Repo: https://github.com/servo/servo
Source-Revision: 715a16423095e1bba2c192c0aebecb8f6aaffab3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 945c58dec89fcbd5f4e59729a37aacddf368b983
2017-02-15 03:05:07 -08:00
Anthony Ramine
12517b71f8 servo: Merge #15545 - Kill some more plugins (from nox:plugin); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 9702d6920a7cf6506fa26c042eb4b9f7cd061713

--HG--
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ca092326be5bdfb96f4e5dd1595e9248576f6e8
2017-02-15 01:24:39 -08:00
Dawing Cho
d033240c73 servo: Merge #15539 - Add rejection of out-of-range values for single-timing-functions (from AdmiralCoco:reject_outofrange_transition_values); r=emilio
<!-- Please describe your changes on the following line: -->
This PR fixes #15344, checking for the `cubic-bezier p1x/p2x` and `steps` first value after parsing.

There are unit tests that check for parsing of invalid values - I was not sure if there was a more suitable place, so I created a file (name subject to change).

Q: I found this [test suite](https://github.com/servo/servo/blob/master/tests/unit/style/properties/serialization.rs#L592), and noticed that the `p2x` value is out of range, but the test does not fail - is this because there is no check when calling the function itself?

Thanks!

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

<!-- Either: -->
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3ad1d3dae1772cc5bf6d2f8b289c142597ea7a24
2017-02-14 19:25:49 -08:00
Simon Sapin
bdae1693ef servo: Merge #15555 - tidy: Ignore [replace]’d packages in the duplicate package lint (from servo:tidy-ignore-replace); r=nox
<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 80b727552773977135a6488908f728dba6779808
2017-02-14 16:07:10 -08:00
Matt Brubeck
af0b5b82d8 servo: Merge #15549 - Update aho-corasick, backtrace-sys, image, parking_lot, pdqsort, syn, & others (from mbrubeck:always-be-updating); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5a624ff9560338024c18ad0abf496fd78d5f6bb1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78409a6dbcc60f4426d272025bb94792b660b34a
2017-02-14 13:17:24 -08:00
Emilio Cobos Álvarez
2f276aa7e7 servo: Merge #15518 - style: Unbox a bunch of color properties (from emilio:color); r=SimonSapin
This builds on https://github.com/servo/rust-cssparser/pull/118.

Source-Repo: https://github.com/servo/servo
Source-Revision: 357bf3b85a1b548ba012f95a97853b34035c89ab

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : af82ad1d14fefde10323d92f1b7ad75768436aec
2017-02-14 11:43:16 -08:00
Eddie Quan
46751c85a2 servo: Merge #15546 - fixes quote transform: none serialization (from eddiequan:15209_fix_quotes_serialization_transform_none); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
Adds a unit test to reproduce faulty behaviour, and serializes "none" correctly when provided an empty list.

---
<!-- 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 #15209 (github issue number if applicable).

<!-- Either: -->
- [X] 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: 2ea55ae1ad22cadb7e808ce9d538ff25564383f0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 692b382f0ef9bb0ae130b68a612d528d1fb3cb70
2017-02-14 10:41:58 -08:00
Matt Brubeck
370aca412d servo: Merge #15533 - Stylo: Implement align-content and justify-content (from mbrubeck:align); r=Manishearth
This implements parsing and serialization of `align-content` and `justify-content` for Stylo. The implementation should match Gecko exactly (which means it's not exactly up-to-date with the latest draft spec). This is a Stylo-only change; it leaves the current Servo code (which matches an older spec) unchanged for now.  r? @Manishearth

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #15001 (github issue number if applicable).
- [x] These changes do not require tests because they are stylo-only

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16fb2db93df696e71f297149a17dc5390bcc3514
2017-02-14 09:13:13 -08:00
Zakor Gyula
67516483ed servo: Merge #15314 - Permissions API and WebBluetooth integration (from szeged:permissions-api); r=jdm
<!-- Please describe your changes on the following line: -->
This implements the [Permissions API](https://w3c.github.io/permissions/) spec.
Also includes the WebBluetooth related implementation for this.

There are some know issues:
- [ ] If the descriptor name is invalid [this](https://gist.github.com/dati91/7a6a0a563d90f49ba5a351e48c5b626b#file-permissionstatusbindings-rs-L323) will throw an error, rather that return it and we could handle it.
- [x] The [environment settings object](https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object) is not implemented in servo and the spec rely on it.
- [x] There is a popup in the implementation which prevent us to add wpt test, we should figure out a way to make it work
- [ ] The allowedDevice's allowed_services attribute is not used in our implementation, because we store these in the lower level, not in the dom side.
- [ ] We think the bluetooth revoke function will need some more work, but the problem is the spec needs clarifications on that part.

---
<!-- 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
- [ ] 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: a537cf48b18d9bba3453b924a4453f5e19dea4ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 50bc944e75966879ab6aca2a6cc229212e733d64
2017-02-14 08:09:22 -08:00
Anthony Ramine
80ae0114bc servo: Merge #15543 - Derive DomObject with a proc macro (from nox:plugin); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 2af79b82f293749a12a02c72fe7d3b7815e464f9

--HG--
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cef476f907a8607e7cb9db33a73ae7a02a362d49
2017-02-14 05:57:32 -08:00
Glenn Watson
b8c9298eab servo: Merge #15540 - Update WR (mix-blend-mode optimizations, some bug fixes) (from glennw:update-wr-blend-opt); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 1dfdd0bab82b2356c6fb15d0d0e898a972983ba1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8d8c256ee30e17e508f885c33c9756eb3df50c09
2017-02-13 22:24:53 -08:00
Cameron McCormack
54828ee07e servo: Merge #15538 - Do RestyleHint assertions at runtime so they use build-time bindgen (from heycam:mv-test); r=bholley
Currently these assertions work off the in-tree bindings.

r? @bholley

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5250087cba110493962b25b43769d9907e0ce3f6
2017-02-13 19:44:12 -08:00
Glenn Watson
006d4a6a0b servo: Merge #15532 - Update WR (pixel snapping improvements) (from servo:webrender); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: d44bf6182f9fba80a95fd44097edbca714ec406e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 016d60ad5c179ac092d23b53d7b2fa0872235034
2017-02-13 14:46:46 -08:00
Simon Whitehead
0601a4ec8f servo: Merge #15527 - Make HTMLOptionsCollection constructor accept a HTMLSelectElement argument. Fixes #15521 (from simon-whitehead:fix-15521); r=cbrewster
<!-- Please describe your changes on the following line: -->
Moves the `HTMLSelectElement.upcast()` call into the `HTMLOptionsCollection` constructors, replacing their signatures with `&HTMLSelectElement` references. This limits the surface area for misuse by only allowing `HTMLSelectElement` instances to be passed in rather than `Node` instances.

---
<!-- 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 #15521.

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because: the linked issue explicitly says building without errors is good enough.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7512fd9b2fcfb14eff9695b1416ce7b7a957c959
2017-02-13 13:31:33 -08:00
karan sharma
e008dcee70 servo: Merge #15470 - remove unwrap(), not needed (from karan1276:karan_rmv_unwrap); r=Wafflespeanut
Fixes #15387

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- 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: 28d62f0f031a389463bf2afd1cfbd53da96a5068

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbdf77712be69f4d3baf8aefea7eedaa0743b240
2017-02-13 11:45:50 -08:00
Jan Beich
4a42f6eb23 servo: Merge #15534 - style: add missing semicolons for bindgen on BSDs and Solaris (from jbeich:freebsd); r=emilio
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix a typo in #15529
- [x] These changes do not require tests because Tier3 support is incomplete

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b399cd27ff902d70c4ea0893c7dd31a5a32f0e5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e71aa1fafa4079b211264b31d67b02688988a565
2017-02-13 10:08:24 -08:00
Jan Beich
8a4246ea11 servo: Merge #15529 - style: unbreak bindgen on BSDs and Solaris (from jbeich:freebsd); r=emilio
<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix Firefox [bug 1339033](https://bugzilla.mozilla.org/show_bug.cgi?id=1339033)
<!-- Either: -->
- [x] These changes do not require tests because Tier3 platforms support is incomplete

<!-- 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: 5d8870fda9702ed552f7b11f5f772647aa7a6ce1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 104548fa39db149650233f0e549d797392ed6664
2017-02-13 06:09:03 -08:00
Andrew Swan
e37c8152ee Bug 1339552 Don't show permissions for updates from legacy extension to webextension r=mossop
MozReview-Commit-ID: 9Ouep0mPIjJ

--HG--
extra : rebase_source : e9f5f155b0c1050d9b20025ea6edb20f52f8fb68
2017-02-16 09:17:52 -08:00
Fred Lin
f7884afffa Bug 1339686 - Convert MDN [learn more] link as a react component;r=Honza,rickychien
MozReview-Commit-ID: 5d76J59kvNo

--HG--
extra : rebase_source : 663537d5e55b5988d9010e1edea4a91519df717d
2017-02-15 13:17:58 +08:00
Xidorn Quan
64a3491740 Bug 1337674 followup 2 - Skip another crash test for stylo.
MozReview-Commit-ID: 5KXxH1jYaK
2017-02-17 13:40:29 +11:00
Alastor Wu
f2098a081b Bug 1330681 - add new play-tab icon for the dark theme. r=jaws
Add custom icon for the dark theme, the content is filled with white and outline is black.

MozReview-Commit-ID: 5OdaFRSfLTt

--HG--
extra : rebase_source : f2d79a19ce5fc96ef4a147a5e6fc5525ce24f134
2017-02-15 11:12:40 +08:00
Nick Thomas
d2b92b4030 Bug 1337245 - Disable solaris bouncer entries for Firefox releases, r=rail
MozReview-Commit-ID: 5CXqWrrAUXZ

--HG--
extra : rebase_source : 36558ba0ffbf3a1fbd1dbe6e1be3476fbefce119
2017-02-17 12:09:54 +13:00
Xidorn Quan
becf2bee41 Bug 1337674 followup - Adjust expectation of mochitests of stylo.
MozReview-Commit-ID: A5fY52HA2Pw
2017-02-17 12:10:41 +11:00
Markus Stange
413dfd064d Bug 1275347 - Move the display list profiler marker to the right place. r=mattwoodrow
MozReview-Commit-ID: JcSmqlXlr4A

--HG--
extra : rebase_source : f3f5982a0c9e8b63310c0134617cf6edf11893fe
2017-02-16 19:18:37 -05:00
Valentin Gosu
6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Valentin Gosu
bc75a46d4a Bug 1325081 - Add interface to delay the cache fetch in order to test network-cache racing of HTTP requests r=michal
MozReview-Commit-ID: 96fSzPw8FHi
* * *
[mq]: over1

MozReview-Commit-ID: 80RePXK1TbR

--HG--
extra : rebase_source : a89470efe71442fb6af36e74ac582e232557f81d
2017-02-15 20:44:09 +01:00
Xidorn Quan
6870403abe Bug 1337674 part 4 - Disable several tests which crash or timeout. r=heycam
MozReview-Commit-ID: J0drMuUX9bX

--HG--
extra : rebase_source : 8f9d48ba2b1711cc0588fbd251fca0079167a44c
2017-02-15 12:27:48 +11:00
Xidorn Quan
db122c3704 Bug 1337674 part 3 - Add failure pattern file support to mochitest. r=jmaher
MozReview-Commit-ID: EcK8AJbXfwh

--HG--
extra : rebase_source : c7672c859e9dda73a7367f863d4d1e49b717b872
2017-02-16 16:41:50 +11:00
Xidorn Quan
1d3b54259e Bug 1337674 part 2 - Disable style system tests written with testharness.js. r=heycam
The following patches integrate failure pattern file support into SimpleTest
framework. Integrating into testharness.js framework is a bit harder. "fail-if"
field doesn't work with testharness.js either. Given their relatively limited
number, disabling them is probably the best way forward. We can re-enable them
when they don't fail anymore.

MozReview-Commit-ID: 2kMNffaZOc6

--HG--
extra : rebase_source : cfbbabd8492976b61b7013d7794dd447bd63ffd0
2017-02-15 11:38:34 +11:00
Xidorn Quan
7a63a62864 Bug 1337674 part 1 - Adjust test_load_events_on_stylesheets to not double finish even with error. r=heycam
MozReview-Commit-ID: 9lodQzZkIBG

--HG--
extra : rebase_source : 2069013be15311642b121a16855eaade06748c69
2017-02-15 11:19:46 +11:00
Jean-Yves Avenard
52e09e4b68 Bug 1340129: P1. Allow empty raw frames. r=gerald
MozReview-Commit-ID: AU0QrahHtYe

--HG--
extra : rebase_source : 34604298e01db1b7b481fc55c25cb5f23e806fa2
2017-02-16 23:41:44 +01:00
Jonathan Kew
5e01f5beb4 Bug 1338776 - Support GetContentsScaleFactor and GetDefaultCSSScaleFactor in ScreenProxy. r=jfkthame
MozReview-Commit-ID: 182XriWmTpn

--HG--
extra : rebase_source : 3b850c0a74ee0d3c32c64e268533f91cd87f6b53
2016-07-29 17:10:17 +01:00
Jan Beich
ab6f215d45 Bug 1339635 - Unbreak build on Tier3 platforms after bug 1310703. r=ted
MozReview-Commit-ID: 6hlo0riwaml

--HG--
extra : rebase_source : 44017bd34551044e3bcc6c5bd2d9233f0dcc15f5
2017-02-14 23:18:07 +00:00