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 upHTMLAnchorElement search setter panics due to borrow error #10877
Comments
jdm
commented
Apr 27, 2016
|
|
|
Specifically, |
|
By inspection, this can also trigger in every setter as well. I propose that Code: |
|
If this is not an urgent one, I would give it a try. |
|
@broesamle Go for it :) Ask questions if anything is confusing. |
|
Indeed, there is something that confuses me: Maybe you have something special in mind when you mention |
|
Ack, that was a typo. I meant htmlanchorelement.rs. |
|
I created a test:
Do I have to activate it somehow? |
|
Is the test file filled empty? It looks like you misspelt |
|
comparing with an already existing test:
This is the
|
|
Are there changes present in the MANIFEST.json that show the test file being added? |
|
|
|
No, MANIFEST.json is where all of the tests that can be run are listed. I'm guessing you interrupted the |
|
exactly, I have seen that before, but didn't consider it crucial for makint the test itself. just building the debug target as well |
|
Thank you for the late night input...it worked! |
|
updated the testfile according to your suggested code
(sorry for all the long code postings) |
|
Do you see any different behaviour if you just create an HTML page anywhere and run |
|
starting servo from the console with
|
|
There's another panic happening before that. |
|
Oh yes, thank you, now I see it :-) |
|
Finally, I go a working (expectedly |
Fixes servo#10877. Includes new test for attribute getters and setters.
Fixes servo#10877. Includes new test for attribute getters and setters.
…panic, r=jdm Avoid panics when using HTMLAnchorElement attribute setters `expected: OK` still explicitly mentioned in .ini file. Shall I remove it? Fixes #10877. <!-- 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/10903) <!-- Reviewable:end -->
…panic, r=jdm Avoid panics when using HTMLAnchorElement attribute setters `expected: OK` still explicitly mentioned in .ini file. Shall I remove it? Fixes #10877. <!-- 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/10903) <!-- Reviewable:end -->
Fixes servo#10877. Includes new test for attribute getters and setters.