Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate a script_runtime module #10271
Closed
Labels
Comments
|
Ill take that. |
|
Go for it! |
bors-servo
added a commit
that referenced
this issue
Apr 6, 2016
Refactors some entities from script_thread into script_runtime Fixes #10271. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10342) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
script_thread.rscontains the implementation of the main script thread (whereWindows/Documents live), as well as a number of things that are shared between that thread and web worker threads (dedicatedworkerglobalscope.rsandworkerglobalscope.rs). In particular:ScriptThread::new_rt_and_cxScriptThread::get_reportsScriptChanScriptPortStackRootTLSCommonScriptMsgScriptThreadEventCategoryAll of those should move to a new file (
components/script/script_runtime.rs).