Auto merge of #14211 - asajeffrey:constellation-share-more-script-threads, r=jdm

Share script threads by tab and by eTLD+1

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

This PR shares script threads among all similar-origin documents in the same tab. This allows DOM object to be shared among same-origin same-tab documents.

---
<!-- 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 #633.
- [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. -->

<!-- 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/14211)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-11-22 16:41:46 -06:00 committed by GitHub
commit 1535f84bf1
5 changed files with 102 additions and 88 deletions

View file

@ -1,8 +0,0 @@
[cross_origin_parentage.html]
type: testharness
[Check the frame heriarchy 1]
expected: FAIL
[Check the frame heriarchy 2]
expected: FAIL