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 upFix panic from update_href in HTMLAnchorElement #11264
Conversation
highfive
commented
May 19, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 19, 2016
|
@bors-servo try |
Fix panic from update_href in HTMLAnchorElement - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #11261 (github issue number if applicable). - [x] These changes do not require tests because unsure how this would be tested. <!-- 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/11264) <!-- Reviewable:end -->
|
|
|
@bors-servo r+ This is a nice cleanup. The pattern is almost the same everywhere such that it seems like it could be abstracted into a function which took a closure for a test and a closure for the success branch. But if you agree that is a good idea, it's doable in a followup.
|
|
|
Fix panic from update_href in HTMLAnchorElement - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #11261 (github issue number if applicable). - [x] These changes do not require tests because unsure how this would be tested. <!-- 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/11264) <!-- Reviewable:end -->
|
|
|
@bors-servo r=metajack |
|
|
|
|
@bors-servo retry |
Fix panic from update_href in HTMLAnchorElement - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #11261 (github issue number if applicable). - [x] These changes do not require tests because unsure how this would be tested. <!-- 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/11264) <!-- Reviewable:end -->
|
|
KiChjang commentedMay 19, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidy --fasterdoes not report any errorsThis change is