servo/components
bors-servo 3d0fe9a0dd Auto merge of #15475 - kekkyojin:bb15436, r=jdm
Only expose Storage/StorageEvent in Window

<!-- Please describe your changes on the following line: -->
This patch removes Worker scope from Storage and StorageEvent WebIDL definition. This way it is possible to construct the objects passing Window instead of GlobalScope. It also removes some tests as they would run out of the scope.

It removes Worker from the WebIDL files defining the Storage and StorageEvent interfaces, as they should not be exposed in that scope.

In Rust source code, this patch replaces "GlobalScope" with "Window" on the contructors. It also modifies constructor calling code in order to pass Window instead of the previously used GlobalScope.

There has been removed these interfaces from the Worker tests.

(This time I did a real build and real tests. Sorry about previous pull requests, I am used to the Mozilla flow, which doesn't uses GitHub)

---
<!-- 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 #15436 (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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15475)
<!-- Reviewable:end -->
2017-02-09 08:17:53 -08:00
..
atoms Kill beforescriptexecute and afterscriptexecute (fixes #12446) 2017-01-14 16:16:53 +01:00
bluetooth Use tinyfiledialogs from crates.io 2017-01-05 16:59:44 -05:00
bluetooth_traits Update regex. 2017-01-16 13:11:16 +01:00
canvas Update WR (radial gradients, subpixel positioning, tiling changes). 2017-02-01 05:40:44 +10:00
canvas_traits webgl: Add support for premultiplying alpha. 2017-01-28 14:21:21 -08:00
compositing Update WR. 2017-02-07 17:19:16 +10:00
config Auto merge of #15164 - mbrubeck:revert, r=emilio 2017-01-24 11:14:28 -08:00
constellation Silent Windows specific warnings 2017-02-06 02:28:56 +01:00
debugger Removed util. 2016-12-14 18:04:37 -06:00
devtools Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
devtools_traits Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
geometry Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
gfx Update byteorder, xi-unicode, x11 2017-02-07 13:41:47 -08:00
gfx_traits Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
jstraceable_derive Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
layout layout: Fix integer overflow when computing size of replace elements 2017-02-09 17:08:13 +08:00
layout_thread Move rust-selectors in-tree. 2017-02-07 22:53:10 -08:00
layout_traits Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
msg Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
net Update WR (radial gradients, subpixel positioning, tiling changes). 2017-02-01 05:40:44 +10:00
net_traits Remove unused part of the return value of parse_blob_url(). 2017-01-30 15:16:27 +01:00
plugins Auto merge of #15351 - servo:rustup, r=nox 2017-02-05 07:01:32 -08:00
profile Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
profile_traits Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
rand squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
range Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
remutex squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
script Auto merge of #15475 - kekkyojin:bb15436, r=jdm 2017-02-09 08:17:53 -08:00
script_layout_interface Bug 1336646 - Apply selector flags during traversal. r=emilio 2017-02-08 19:21:05 -08:00
script_traits The constellation notifies the script thread about documents becoming inactive, active and fully active. 2017-01-27 12:39:43 -06:00
selectors Bug 1336646 - Apply selector flags during traversal. r=emilio 2017-02-08 19:21:05 -08:00
servo Update WR. 2017-02-07 17:19:16 +10:00
style Auto merge of #15459 - emilio:ua-rules, r=SimonSapin 2017-02-09 04:20:34 -08:00
style_traits Box larger specified values to avoid memmove impact 2017-02-09 11:10:08 +01:00
url Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00
webdriver_server webdriver_server, constellation, libservo, servo: upgrade webdriver and backtrace 2017-01-30 17:05:48 +00:00
webvr WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
webvr_traits Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23). 2017-01-24 11:02:51 +01:00