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 upImplement user interaction task source #10714
Conversation
highfive
commented
Apr 19, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 19, 2016
| @@ -175,10 +176,10 @@ impl<'a> GlobalRef<'a> { | |||
|
|
|||
| /// `ScriptChan` used to send messages to the event loop of this global's | |||
| /// thread. | |||
| pub fn user_interaction_task_source(&self) -> Box<ScriptChan + Send> { | |||
| pub fn user_interaction_task_source(&self) -> Box<TaskSource<UserInteractionTask> + Send> { | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
KiChjang
Apr 22, 2016
Author
Member
Why though? Is it because workers are not supposed to have the concept of task sources at all? If so, I might just remove all other task sources for GlobalRoot.
This comment has been minimized.
This comment has been minimized.
Ms2ger
Apr 24, 2016
Contributor
Because workers don't have user interaction. The others are likely used by workers as well as the main thread.
ae394d8
to
0ade487
0ade487
to
51e7a38
|
User interaction task source removed from global.rs. |
|
-S-awaiting-review +S-needs-code-changes Reviewed 6 of 8 files at r1, 2 of 2 files at r2. components/script/script_thread.rs, line 927 [r2] (raw file): components/script/dom/htmldetailselement.rs, line 88 [r2] (raw file): components/script/dom/htmlinputelement.rs, line 552 [r2] (raw file): components/script/dom/htmltextareaelement.rs, line 33 [r2] (raw file): components/script/dom/htmltextareaelement.rs, line 266 [r2] (raw file): components/script/dom/htmltextareaelement.rs, line 268 [r2] (raw file): components/script/dom/htmltextareaelement.rs, line 374 [r2] (raw file): components/script/dom/bindings/global.rs, line 29 [r2] (raw file): components/script/task_source/dom_manipulation.rs, line 43 [r2] (raw file): components/script/task_source/user_interaction.rs, line 19 [r2] (raw file): components/script/task_source/user_interaction.rs, line 20 [r2] (raw file): components/script/task_source/user_interaction.rs, line 30 [r2] (raw file): components/script/task_source/user_interaction.rs, line 32 [r2] (raw file): Comments from Reviewable |
51e7a38
to
7557132
8a69f00
to
6ba0ff4
|
Review status: 1 of 8 files reviewed at latest revision, 13 unresolved discussions. components/script/task_source/user_interaction.rs, line 19 [r2] (raw file): components/script/task_source/user_interaction.rs, line 20 [r2] (raw file): Comments from Reviewable |
4cadfb5
to
15c98a4
|
Review status: 1 of 8 files reviewed at latest revision, 13 unresolved discussions. components/script/dom/htmltextareaelement.rs, line 374 [r2] (raw file): components/script/task_source/user_interaction.rs, line 30 [r2] (raw file): Comments from Reviewable |
|
Review status: 1 of 8 files reviewed at latest revision, 13 unresolved discussions. components/script/dom/htmltextareaelement.rs, line 374 [r2] (raw file): Comments from Reviewable |
|
|
|
|
Implement user interaction task source Part of #7959. <!-- 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/10714) <!-- Reviewable:end -->
|
|
highfive
commented
May 11, 2016
|
|
This is not reassuring, since it looks as if the select event was never fired, causing the tests to time out. |
9617ca5
to
f7d5de9
highfive
commented
May 12, 2016
|
New code was committed to pull request. |
f7d5de9
to
a1a2b30
highfive
commented
May 12, 2016
|
New code was committed to pull request. |
a1a2b30
to
f60de52
highfive
commented
May 12, 2016
|
New code was committed to pull request. |
|
@bors-servo r=Ms2ger |
|
|
Implement user interaction task source Part of #7959. <!-- 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/10714) <!-- Reviewable:end -->
|
|
KiChjang commentedApr 19, 2016
Part of #7959.
This change is