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

6590 Коммитов

Автор SHA1 Сообщение Дата
Achal Shah b6b41cd183 servo: Merge #11632 - Implement URL.domainToUnicode (from achals:master); r=KiChjang
Fixes #11629

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

<!-- Either: -->
- [X] There are tests for these changes: Some expected test failures have been removed.

<!-- 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: 21687b0f30dc6ebcfe1b1a499e978bf356f4698b
2016-06-06 13:03:57 -05:00
Orvar Segerström e505d3bbfc servo: Merge #11639 - Use base_url instead of url in HTMLAnchorElement::set_url (from awestroke:anchor-element-base-url); r=nox
<!-- Please describe your changes on the following line: -->
`script::dom::HTMLAnchorElement::set_url` now uses `document::base_url` instead of `document::url`, allowing correct parsing of relative urls on about:blank and pages with a `<base href="some_url"/>` set.

spec: https://html.spec.whatwg.org/multipage/infrastructure.html#resolving-urls

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

<!-- Either: -->
- [x] There are tests for these changes: Some expected test failures have been removed.

<!-- 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: 9fae4b18d1293101ecc17342e433bb1b0fff8398
2016-06-06 11:54:38 -05:00
Ms2ger 6a64854c0e servo: Merge #11641 - Correct the signature of flow_ref::deref_mut (from Ms2ger:flow-deref-mut-lifetime); r=nox
This also fixes Undefined Behavior in build_display_list_for_subtree.

Source-Repo: https://github.com/servo/servo
Source-Revision: a316fb73e5fb1b086516ba6786c5ae4c302c3c62
2016-06-06 08:18:05 -05:00
Ms2ger 8828b80dee servo: Merge #11635 - Use collect() for more idiomatic code in bluetooth (from Ms2ger:collect); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e6711aa5fbf7ddcfad783c268010c293925e675
2016-06-06 06:50:16 -05:00
Ms2ger b390fb8a56 servo: Merge #11623 - Move some code out of util::str (from Ms2ger:str); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a4460bed101655e55c18be051ead955a70ea3ce
2016-06-06 02:16:07 -05:00
Josh Matthews ca9965b104 servo: Merge #11593 - Make the net monitor panel in FF's devtools show meaningful output (from jdm:netmon); r=nox
<!-- Please describe your changes on the following line: -->
1. Advertise support for the network monitor in the initial protocol communication.
1. Only notify the developer tools server about the final request in an HTTP transaction.
1. Add timing information for connecting to the HTTP server and sending the HTTP request.
1. Reduce duplication between various networkEventUpdate structures by creating a helper function
that merges two JSON structures together. This also corrects the JSON structure so the devtools
client interprets the output correctly.
1. Calculate various header size fields correctly.
1. Remove unnecessary usize->u32 casts by making the appropriate fields usize.
1. Add header values to request and response header messages.
1. Support triggering page reloads via the devtools client.

I apologize that these aren't broken apart. I was making a lot of changes trying to figure out why the panel wasn't working right, and a lot of them were tangled together.

---
<!-- 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 do not require tests because there are no automated tests for the devtools server.

<!-- 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: 1bc94c132e6820293c2178bf95991518b1e8a677
2016-06-05 21:19:22 -05:00
Anthony Ramine 057a9e763f servo: Merge #11587 - Cleanup Element interface (from nox:element); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 2083a8c1c49dce46b71d8e40c089809d98f10143
2016-06-05 20:29:19 -05:00
Daniel Robertson 2765a979e9 servo: Merge #11626 - Add FreeBSD to `host_triple` (from danlrobertson:freebsd-host-triple); r=larsbergstrom
Add freebsd to `host_triple` so that the correct nightly compiler will be downloaded. There are still other crates that need patching to compile, but this is a start.
---
- [ ] `./mach build -d` does not report any errors
  - Other crates need patches
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because: the correct compiler is not downloaded without this commit

Part of: #11625

Source-Repo: https://github.com/servo/servo
Source-Revision: fada22ab53a532a9adbad0bfc0d5b5d7d4b8cd26
2016-06-05 16:07:36 -05:00
Kosov Eugene e7044549b9 servo: Merge #11606 - Removed references to DOMSettableTokenList (from kevgs:dom_settable_token_list); r=nox
<!-- Please describe your changes on the following line: -->
PR to #11578

---
<!-- 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: 44126da60e2494b5f59bee88833058ba1e66f811
2016-06-05 12:23:20 -05:00
mrmiywj 368fab86d1 servo: Merge #11190 - add &Root<T> checker (from mrmiywj:Root-tidy-checker); r=jdm
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 #11137  (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: 93f137f06d36059105d62ffc6829d65f7efe0d9d
2016-06-05 08:48:58 -05:00
zakorgy 50304268f8 servo: Merge #11580 - Allowed services support (from szeged:allowedservices); r=jdm
<!-- 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 there are no webbluetooth test api implementation yet.

<!-- 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: 939da24cc8cda5396180fc3aba707794653b0824
2016-06-05 08:00:50 -05:00
Ms2ger 4264bd5479 servo: Merge #11619 - Some cleanup in gfx (from Ms2ger:freetype); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: d768ee5d4c2ef0429e88191f01f977338c964359
2016-06-05 06:57:18 -05:00
Anthony Ramine bdd5c96847 servo: Merge #11610 - Fix all the links to the UI Events spec (from nox:dom3events); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 573c0a74684dc0043da4800a84065d72453641fd
2016-06-04 20:25:36 -05:00
Ms2ger b519298c4d servo: Merge #11614 - Deny unsafe code in some more modules (from Ms2ger:deny-unsafe); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: a4650233f0ab960b3ed284733bf057267fcf4b6b
2016-06-04 18:29:21 -05:00
Matt Brubeck 9f9f145999 servo: Merge #11590 - Remove unused dev-dependency on image (from mbrubeck:cleanup); r=jdm
This was used by Servo's old reftest harness, which was replaced with WPT.

Source-Repo: https://github.com/servo/servo
Source-Revision: 57cd0aabefdd51fe6cd3cd55ec432bcd76186627
2016-06-04 16:53:53 -05:00
Mitchell Hentges 4c63891cd8 servo: Merge #11442 - Fragment debug_id u16 only exists in debug, prod will format mem address (from mitchhentges:87-debug-id); r=KiChjang
<!-- Please describe your changes on the following line: -->
Each fragment has a `u16` `debug_id` in debug mode, but no `debug_id` in production to save memory. To format a debug id in production, the address of the empty `debug_id` is displayed.

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

<!-- Either: -->
- [X] These changes do not require tests because it looks like it's not possible to mock out `cfg` options in `#[test]`s

<!-- 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: 5002dff85352a09ff79f0183e437876f36b77515
2016-06-04 16:03:59 -05:00
Anthony Ramine 920f8b06df servo: Merge #11586 - Cleanup Document interface (from nox:document); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a5115c13fd99588a9b9c40fe37c01f9a7775d1ce
2016-06-04 15:15:19 -05:00
Ms2ger a9b041b2e8 servo: Merge #11607 - Remove the layout and paint shutdown channels (from Ms2ger:shutdown-channels); r=asajeffrey
Source-Repo: https://github.com/servo/servo
Source-Revision: 80a58cadc5f864bfb44671e2e7228d7c6cdf4ab4
2016-06-04 14:24:56 -05:00
Rafael Quintero ec88ba13f2 servo: Merge #11605 - Rename the variants of the SubmittedFrom and ResetFrom enums to be less repetitive (from rafaqtro:local_r); r=KiChjang,emilio
<!-- Please describe your changes on the following line: -->

delete suffixes for variants SubmittedFrom, ResetFrom

---
<!-- 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 #11557 (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: a8c1cb39713697c12831b38985f1e5a9c576c37c
2016-06-04 09:22:34 -05:00
Guillaume Gomez 9484b292b5 servo: Merge #11589 - Make DOMTokenList.contains not throw anymore (from GuillaumeGomez:contains); r=nox
Fixes #11579.

Source-Repo: https://github.com/servo/servo
Source-Revision: ec869eff19c7012b01db79d6522270a94ddb27d8
2016-06-04 08:34:05 -05:00
Alan Jeffrey 7ceb3d690c servo: Merge #11585 - Avoid deadlock when closing a pipeline (from asajeffrey:constellation-avoid-deadlock-during-pipeline-closure); r=larsbergstrom
<!-- Please describe your changes on the following line: -->
At the moment, the constellation blocks on a pipeline during closure. This PR makes pipeline closure asynchronous.

---
<!-- 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 #11546.
- [X] These changes do not require tests because testing for absence of deadlock is difficult.

<!-- 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: 6581e3504a60aa1e7c363cc93b1036b4a174c166
2016-06-03 22:22:49 -05:00
Anthony Ramine 20b02faa2f servo: Merge #11588 - Clarify some argument names in NamedNodeMap interface (from nox:namednodemap); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 93fc7c9cc3d581da6efa5d04e889c5003c4e5709
2016-06-03 21:00:49 -05:00
Josh Matthews 6da229749f servo: Merge #11594 - Map glutin modifier keycodes to servo keycodes (from jdm:modifiers); r=mbrubeck
<!-- Please describe your changes on the following line: -->
Make it possible to receive DOM events for modifiers keys.

---
<!-- 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 #11547
- [X] These changes do not require tests because we don't support automated tests for keyboard input

<!-- 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: 3fead5a3988c67340a3a1ccb001c0c5ddf2bf9ba
2016-06-03 17:36:16 -05:00
Matt Brubeck f0530b6382 servo: Merge #11591 - Upgrade backtrace, byteorder, compiletest, harfbuzz, hyper, phf, serde_json, url (from mbrubeck:always-be-updating); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2093925da8a13832070a8c6b4f27fa1de50514a7
2016-06-03 16:46:16 -05:00
rwakulszowa ac7aca84a4 servo: Merge #11576 - Dropped references to RefCell (from rwakulszowa:net-filemanager-idmap-drop-refcell); r=nox
Removed RefCell references from net/filemanager_thread.rs

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

<!-- Either: -->
- [X] These changes do not require tests because @jdm said so :)

<!-- 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: c87aa399ed082cd751b8947037a5ab16af604d7e
2016-06-03 15:58:13 -05:00
Zhen Zhang d49903ea92 servo: Merge #11534 - Add Blob URL store (from izgzhen:add-blob-url-store); r=Manishearth
Spec: https://w3c.github.io/FileAPI/#BlobURLStore.

I finally decide to put the store under `ScriptThread` and interpret the "global object" as the script thread itself. The new APIs will be used during the page loading (if scheme is `blob`) and `URL.createObjectURL/revokeObjectURL`.

Related to #11131.

<!-- 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
- [x] These changes fix part of #10539

<!-- Either: -->
- [x] These changes do not require tests because it is new stub code which needs further integrating PRs.

<!-- 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: b389ecda67d834de1893c6e7a118c0f0fd713b8c
2016-06-03 13:26:29 -05:00
Anthony Ramine 75fd00c8ae servo: Merge #11582 - Remove some commented-out methods that were removed from spec (from nox:parentnode); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 77e79d6e18147a71c99e0c4cd2cde42591ee191b
2016-06-03 12:36:19 -05:00
Ms2ger 3fe92b1a54 servo: Merge #11571 - Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource (from Ms2ger:derive-clone); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e75339ca0c5f5aea68be8ef08a28e77e70bd59a8
2016-06-03 10:40:07 -05:00
Ms2ger b36f668619 servo: Merge #11573 - Remove some options code (from Ms2ger:opts); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f5b0008ac763bbb2209a70afddb6434d18cff9d
2016-06-03 09:50:29 -05:00
Guillaume Gomez 7de5a9ff82 servo: Merge #11496 - Implement Range::createContextualFragment (from GuillaumeGomez:range); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 51d41c5161fe61ad28cd0db98632633967832823
2016-06-03 05:32:42 -05:00
Andrew Shu aa36ab642e servo: Merge #11569 - compositing: Remove CompositorThread struct (from talklittle:remove_struct_10261); r=metajack
<!-- Please describe your changes on the following line: -->
Remove `CompositorThread` struct, since it wraps only `IOCompositor`. Use `IOCompositor` directly.

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

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

<!-- 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: 6c5f5d35f56f75e5a235836c042a55b67da553d6
2016-06-03 02:44:07 -05:00
Cameron McCormack 8de01da586 servo: Merge #11549 - Generate debug and release Gecko bindings (from heycam:release-bindings); r=heycam
<!-- Please describe your changes on the following line: -->

This makes `generate_style_structs.py` generate bindings for both `DEBUG` and non-`DEBUG` Gecko configurations.  The corresponding generated bindings are used in geckolib based on `cfg(debug-assertions)`.

I regenerated bindings on top of Gecko master plus https://bugzilla.mozilla.org/show_bug.cgi?id=1277154 (landing soon), which tripped up the bindgen due to bitfield layout issues.

r? @emilio

---
<!-- 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 they are geckolib only

<!-- 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: 71db2705edbf2381849af0e2edf7743c286881ec

--HG--
rename : servo/ports/geckolib/gecko_bindings/structs.rs => servo/ports/geckolib/gecko_bindings/structs_debug.rs
rename : servo/ports/geckolib/gecko_bindings/structs.rs => servo/ports/geckolib/gecko_bindings/structs_release.rs
2016-06-03 01:55:33 -05:00
Andrew Shu c07ac3d758 servo: Merge #11570 - mach: Introduce --all flag to run all test suites (from talklittle:mach_test_9544); r=Manishearth
<!-- Please describe your changes on the following line: -->
Add `--all` argument to get `./mach test --all` for running all test suites. Remove broken `faster` argument passed to `test_tidy()` when running `./mach test`.

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

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

<!-- 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: fd03e02291623bea34d94fb4f12671d9735ed04e
2016-06-03 01:07:00 -05:00
Rebecca ffc625b7fe servo: Merge #11468 - Implement meta referrer policy delivery (3) (from rebstar6:refPol4); 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
- [X] These changes fix #10311 (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: 530b5a649eb7284c0ff4e316b8eabd5cc62c1e80
2016-06-02 21:51:10 -05:00
Patrick Walton c28d616253 servo: Merge #11537 - compositing: Don't translate points to layer space when using WebRender (from pcwalton:webrender-remove-layer-space-translation); r=glennw
This makes mouse events take the same code path, regardless of whether
WebRender is in use or not. This approach enables accurate
display-list-based hit testing when WebRender is in use.

Closes #11108.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 77e6ea95873c1fc06ea6e19fa20c727b9ca808a9
2016-06-02 20:50:55 -05:00
Patrick Walton bb452ccfa4 servo: Merge #11568 - servo: Update Glutin and WebRender to pick up performance improvements (from pcwalton:glwrup); r=metajack
r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: ea0fa51b5d4dcceb63761fd70ac1cd1d6178f4f4
2016-06-02 19:33:37 -05:00
Connor Brewster 133091a736 servo: Merge #11567 - removed unused imports (from cbrewster:no_unused); r=metajack
<!-- 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 do not require tests because removing unused imports

<!-- 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: 4e277d74e83bf9c3e1d237d1f779753c4c6a3a6e
2016-06-02 17:24:10 -05:00
Keith Yeung e27e8db18f servo: Merge #11564 - Clean up DOMManipulationTaskSource (from KiChjang:dom-manipulation-task-source); r=jdm
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because refactoring

Source-Repo: https://github.com/servo/servo
Source-Revision: e8cf789fc56dfbc4bfd6145d3bd1a30aa9459c95
2016-06-02 15:38:55 -05:00
fokinv 97845eab72 servo: Merge #11523 - Add random Device ID generation (from szeged:random_id); r=jdm
<!-- Please describe your changes on the following line: -->
The [spec](https://webbluetoothcg.github.io/web-bluetooth/#add-an-allowed-bluetooth-device) (2. step) defines that the device id can't be the public address, therefore we generate a random id.

---
<!-- 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 there are no webbluetooth test api implementation yet.

<!-- 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: 90c66e0db3dc6501b2e11400bad1eb0dbf54ec49
2016-06-02 13:28:34 -05:00
Emilio Cobos Álvarez a79121d189 servo: Merge #11456 - stylo: Support linear-gradients as background-image (from emilio:stylo-linear-gradient); r=mbrubeck
This PR supports setting the background-image property to a linear-gradient in Geckolib.

---
<!-- 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 do not require tests because these are geckolib-only changes.

r? @mbrubeck
cc @heycam @bholley

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

--HG--
rename : servo/components/script/dom/validation.rs => servo/ports/geckolib/gecko_bindings/sugar/mod.rs
2016-06-02 11:50:53 -05:00
Tara d31ded6ecc servo: Merge #11540 - Change the font-size property for input and textarea (from taravancil:input-text-size); r=mbrubeck
Change the `font-size` property for `input` and `textarea` from 0.7em to 0.8333em.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11529 (github issue number if applicable).

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the issue has the label `C-has-test` Forgive me if I'm wrong; this is my first time contributing to Servo!

Source-Repo: https://github.com/servo/servo
Source-Revision: 592842ccc3884d72d3a62d02334b2c80746c5722
2016-06-02 10:49:50 -05:00
Alan Jeffrey 273c1fb799 servo: Merge #11542 - Fire a mozbrowseropenwindow event when an html anchor has a non-self target (from asajeffrey:mozbrowser-send-opentab-event); r=paulrouget
<!-- Please describe your changes on the following line: -->
When an html anchor has a non-self target, fire a `mozbrowseropenwindow` event.

---
<!-- 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 #11539.
- [X] These changes do not require tests because we don't have the infrastructure for mozbrowser testing yet.

<!-- 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: bdecfa13d2114281472d5df4548a8faaf8a5bd87
2016-06-02 09:45:26 -05:00
Paul Rouget daede93b75 servo: Merge #11554 - Support link target attribute (from paulrouget:targetProperty); r=Ms2ger
<!-- 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: -->
- [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: e7241c8215d070860e1830ba4b690f1243725000
2016-06-02 07:07:19 -05:00
Rahul Sharma d38a9a1c80 servo: Merge #11114 - implement related service worker interface and register method (from creativcoder:nav-sw); r=jdm
Fixes  #11091

Source-Repo: https://github.com/servo/servo
Source-Revision: cc017fc0b8619726f0c82649f41fdcf5595b19e4
2016-06-02 06:18:59 -05:00
Andrew Fluth 6eca17590c servo: Merge #11550 - Added support for additional xml types to DOMParser::parseFromString (from afluth:11505-ImplementParseFromStringXmlTypes); r=Ms2ger
<!-- Please describe your changes on the following line: -->
This pull request adds support for "application/xml" and "application/xhtml+xml" to DOMParser::parseFromString.
---
<!-- 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 #11505 (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: 196adaff07201deb273077213fa63c460cc11629
2016-06-02 05:25:05 -05:00
Ms2ger ea681c7d99 servo: Merge #11553 - Remove spurious JS_Init call (from Ms2ger:init); r=nox
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] We don't run debug-mozjs tests

Runtime::new() will call JS_Init a second time, leading to an assertion.

Source-Repo: https://github.com/servo/servo
Source-Revision: d191a4754727abe470d39710e7ef47907faf9131
2016-06-02 04:36:56 -05:00
Martin Robinson 4af44d52b6 servo: Merge #11035 - Do not create stacking contexts for text fragments (from mrobinson:no-stacking-contexts-for-text-fragments); r=pcwalton
Without this change, each text fragment in a block that establishes a
stacking context will establish its own stacking context. This is
unnecessary and increases the amount of work done during display list
construction. This change should not change output, but should improve
performance.

Source-Repo: https://github.com/servo/servo
Source-Revision: cc7953e25eaf6221a0e6e31af43214d0807185eb
2016-06-01 19:22:22 -05:00
Ms2ger 0c88670d97 servo: Merge #11538 - Fix some build warnings (from Ms2ger:warnings); r=emilio
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because refactoring

Source-Repo: https://github.com/servo/servo
Source-Revision: 0594d58bc8e074facacb26b6d8d3fab2083771d0
2016-06-01 15:43:58 -05:00
Cameron McCormack 316a606753 servo: Merge #11533 - Don't complain about unimplemented setters in release builds (from heycam:unimpl-setters); r=mbrubeck
<!-- Please describe your changes on the following line: -->

I found these `println!`s cause a significant performance hit while testing stylo.

r? @mbrubeck

---
<!-- 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 it's just a change to some logging info in geckolib

<!-- 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: 862ebee6e6e1e5f64df00b732b41a8f7f5a5ad6c
2016-06-01 14:56:04 -05:00
Kyle Headley 6e755e6821 servo: Merge #11443 - Remove CompositorEventListener trait (from kyleheadley:remove_trait_11339); r=asajeffrey
<!-- 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
- [X] These changes fix #11339 (github issue number if applicable).

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

<!-- 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: c641ec97f02bf03a97f3562b9d138b14ebe1406c
2016-06-01 14:06:41 -05:00