Repository navigation
Warn when a timer event is processed for a discarded document. - #14679
Merged
Merged
Conversation
asajeffrey
reviewed
Dec 22, 2016
| let window = match window { | ||
| Some(w) => w, | ||
| None => return warn!("ScriptThread: received fire timer msg for a pipeline not in \ | ||
| this script thread. This is a bug."), |
Contributor
There was a problem hiding this comment.
I'm not sure this warning message is accurate any more. It's pretty easy for racing threads to produce this.
Contributor
|
@jdm: I think the warning message could do with rewording, apart from that r=me. |
asajeffrey
pushed a commit
to asajeffrey/servo
that referenced
this pull request
Dec 22, 2016
Member
Author
|
Updated the message. |
Contributor
|
@bors-servo r+ |
Contributor
|
📌 Commit 8ca387c has been approved by |
Contributor
|
⌛ Testing commit 8ca387c with merge fb608a9... |
Contributor
|
💔 Test failed - windows-gnu-dev |
Contributor
|
@bors-servo retry
|
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Dec 23, 2016
Warn when a timer event is processed for a discarded document. Turn a panic into a warning for a situation that is easy to hit in web content. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14677 - [X] There are tests for these changes <!-- 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/14679) <!-- Reviewable:end -->
Merged
Contributor
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-gnu-dev |
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turn a panic into a warning for a situation that is easy to hit in web content.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is