servo/components/script
bors-servo dd34b2a335 Auto merge of #14059 - mrnayak:refPolicy, r=nox
Network Security : Implement StrictOrigin and StrictOriginWhenCrossOr…

This pull request contains commit implementing initial steps for Improving Network Security project. As part of initial steps referer policy enums for strict-origin and strict-origin-when-cross-origin have been added to [hyper](https://github.com/hyperium/hyper/pull/943). Unit tests and additional logic has been added to handle these policies. Since enum changes are available on hyper version 0.9.11. We had to update hyper version to 0.9.11.

Hyper 0.9.11 depends on num_cpus 1.1.0. To avoid different version of num_cpus. We have updated rayon version from 0.4.0 to 0.4.3. Cargo.toml of util, style, geckolib, stylo component has been updated to use num_cpus version 1.1.0 instead of 0.2.2.

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

…igin

Referer policy strict-origin and strict-origin-when-cross-origin changes have been implemented. Relevant unit test cases have been added. Enum for RefererPolicy has been added to hyper codebase and v 0.9.11 of hyper contains these changes.

This commit also contains changes related to upgrade of hyper from v0.9.10 to v0.9.11. Other dependencies changed are rayon, utils, num_cpus.

<!-- 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/14059)
<!-- Reviewable:end -->
2016-11-07 04:37:35 -06:00
..
docs
dom Auto merge of #14059 - mrnayak:refPolicy, r=nox 2016-11-07 04:37:35 -06:00
task_source Update to string-cache 0.3 2016-11-03 16:23:05 +01:00
bluetooth_blacklist.rs
body.rs Rename Reflectable::global_scope to global 2016-10-06 21:36:41 +02:00
build.rs Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
Cargo.toml Auto merge of #14044 - servo:bluetooth, r=emilio 2016-11-03 15:04:43 -05:00
clipboard_provider.rs
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Setting a devtools timeline marker may fail, due to pipeline lookup failure. 2016-10-12 12:56:23 -05:00
document_loader.rs Lookup frames by frame_id, not pipeline_id. 2016-11-03 15:39:51 -05:00
fetch.rs Remove intrinsic Root::r() 2016-10-11 19:44:32 +02:00
layout_wrapper.rs Update to string-cache 0.3 2016-11-03 16:23:05 +01:00
lib.rs Auto merge of #14044 - servo:bluetooth, r=emilio 2016-11-03 15:04:43 -05:00
mem.rs
network_listener.rs Remove AsyncResponseListener. 2016-11-02 09:25:58 +01:00
origin.rs Reorder use statements 2016-09-09 04:55:19 +02:00
script_runtime.rs Remove GlobalRoot and GlobalRef 2016-10-06 21:36:00 +02:00
script_thread.rs Code review comments and upstream merge conflicts 2016-11-04 11:18:22 -04:00
serviceworker_manager.rs Remove ScopeThings::pipeline_id 2016-10-04 14:05:28 +02:00
textinput.rs Implement minlength for text inputs 2016-09-21 07:54:39 -05:00
timers.rs Rename Reflectable::global_scope to global 2016-10-06 21:36:41 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Move JS evaluation functions to GlobalScope 2016-10-06 21:35:50 +02:00