Skip to content

Execute XHR timeout callbacks directly. (Fixes #8468.) - #8475

Merged
bors-servo merged 1 commit into
servo:masterfrom
benschulz:xhr-timeout-ordering2
Nov 11, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
benschulz:xhr-timeout-ordering2

Conversation

@benschulz

Copy link
Copy Markdown
Contributor

This is a fix for #8468.

Currently XHR timeouts schedule themselves for execution via CommonScriptMsg::RunnableMsgs. This was necessary when these timeouts used a separate thread to schedule themselves. Now it's a potential race that should have been eliminated as part of #8168.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 11, 2015
@jdm

jdm commented Nov 11, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
Whoops! I should have noticed the double indirection there.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 7623e89 has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 7623e89 with merge 49d48a8...

bors-servo pushed a commit that referenced this pull request Nov 11, 2015
Execute XHR timeout callbacks directly. (Fixes #8468.)

This is a fix for #8468.

Currently XHR timeouts schedule themselves for execution via `CommonScriptMsg::RunnableMsg`s. This was necessary when these timeouts used a separate thread to schedule themselves. Now it's a potential race that should have been eliminated as part of #8168.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8475)
<!-- 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-awaiting-review There is new code that needs to be reviewed. labels Nov 11, 2015
@jdm jdm self-assigned this Nov 11, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 7623e89 into servo:master Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants