servo/components/script
bors-servo d01a866215 Auto merge of #13498 - asajeffrey:script-iframe-stores-frameid, r=glennw
IFrame elements now manage FrameIds rather than the constellation.

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

This PR stores the FrameId as well as the PipelineId in an html iframe. The iframes are now responsible for creating frame ids, not the constellation.

This is the first step in fixing #633, because it means we know the frame id of each script thread when it is created. It also means we can share the frame id, for example using it in the debugger.

cc @jdm, @ConnorGBrewster and @ejpbruel.

---
<!-- 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 it's a 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/13498)
<!-- Reviewable:end -->
2016-10-07 14:54:31 -05:00
..
docs
dom Auto merge of #13498 - asajeffrey:script-iframe-stores-frameid, r=glennw 2016-10-07 14:54:31 -05:00
parse Reorder use statements 2016-09-09 04:55:19 +02:00
task_source Make TaskSource::queue take a &GlobalScope 2016-10-06 21:35:52 +02:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
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 Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlock 2016-10-04 18:34:59 +02:00
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Make devtools::handle_evaluate_js take a &GlobalScope 2016-10-06 21:35:50 +02:00
document_loader.rs Privatize PendingAsyncLoad. 2016-10-04 13:24:03 +02:00
fetch.rs Rename Reflectable::global_scope to global 2016-10-06 21:36:41 +02:00
layout_wrapper.rs Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlock 2016-10-04 18:34:59 +02:00
lib.rs Make TopTypeId an untagged union 2016-10-06 00:35:04 +02:00
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs Reorder use statements 2016-09-09 04:55:19 +02: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 Make the closure in flush_promise_jobs return a Root<GlobalScope> 2016-10-06 21:35:59 +02: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