Skip to content

Use remote-event task source in EventSource - #21170

Merged
bors-servo merged 1 commit into
servo:masterfrom
gterzian:use_remote_event_task_source_for_eventsource
Jul 14, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
gterzian:use_remote_event_task_source_for_eventsource

Conversation

@gterzian

@gterzian gterzian commented Jul 13, 2018 •

Copy link
Copy Markdown
Member

Follow up on #21126, this again 'changes nothing', but will be useful for #21114 in the context of #21111.

Trying to break up work into smaller PR's ;)


  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/task_source/remote_event.rs, components/script/dom/globalscope.rs, components/script/dom/workerglobalscope.rs, components/script/script_thread.rs, components/script/dom/eventsource.rs and 2 more
  • @KiChjang: components/script/task_source/remote_event.rs, components/script/dom/globalscope.rs, components/script/dom/workerglobalscope.rs, components/script/script_thread.rs, components/script/dom/eventsource.rs and 2 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 13, 2018
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@gterzian gterzian changed the title use remote-event task source in EventSource Use remote-event task source in EventSource Jul 13, 2018
@gterzian
gterzian force-pushed the use_remote_event_task_source_for_eventsource branch from 0ff2251 to dbf1ae1 Compare July 13, 2018 05:01
last_event_id: String::new(),
};
// TODO: use the "remote event task source", and canceller.
// https://html.spec.whatwg.org/multipage/#remote-event-task-source

@gterzian gterzian Jul 13, 2018 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is a mistake I introduced in #21126, the networking source is the right one here, since it's a plain fetch and not an event-source 'task', see https://html.spec.whatwg.org/multipage/server-sent-events.html#dom-eventsource

@jdm

jdm commented Jul 13, 2018

Copy link
Copy Markdown
Member

@bors-servo r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit dbf1ae1 has been approved by jdm

@highfive highfive assigned jdm and unassigned emilio Jul 13, 2018
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 13, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit dbf1ae1 with merge fb6eea3...

bors-servo pushed a commit that referenced this pull request Jul 13, 2018
…tsource, r=jdm

Use remote-event task source in EventSource

<!-- Please describe your changes on the following line: -->
Follow up on #21126, this again 'changes nothing', but will be useful for #21111 in the context of #21114

Trying to break up work into smaller PR's ;)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #21112 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21170)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 13, 2018
@gterzian
gterzian force-pushed the use_remote_event_task_source_for_eventsource branch from dbf1ae1 to baef63b Compare July 13, 2018 05:57
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 13, 2018
@gterzian

Copy link
Copy Markdown
Member Author

Sorry for the tidy error...

@jdm

jdm commented Jul 13, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit baef63b has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 13, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit baef63b with merge 9304578...

bors-servo pushed a commit that referenced this pull request Jul 13, 2018
…tsource, r=jdm

Use remote-event task source in EventSource

<!-- Please describe your changes on the following line: -->
Follow up on #21126, this again 'changes nothing', but will be useful for #21114 in the context of #21111.

Trying to break up work into smaller PR's ;)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #21112 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21170)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css2

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 13, 2018
@jdm

jdm commented Jul 13, 2018

Copy link
Copy Markdown
Member

@bors-servo retry

  • mac hardware issue

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit baef63b with merge 8eb2a53...

bors-servo pushed a commit that referenced this pull request Jul 14, 2018
…tsource, r=jdm

Use remote-event task source in EventSource

<!-- Please describe your changes on the following line: -->
Follow up on #21126, this again 'changes nothing', but will be useful for #21114 in the context of #21111.

Trying to break up work into smaller PR's ;)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #21112 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21170)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 14, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit baef63b into servo:master Jul 14, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 14, 2018
@gterzian
gterzian deleted the use_remote_event_task_source_for_eventsource branch July 14, 2018 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EventSource should use 'remote event task source'

5 participants