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 upAk 18468 #18546
Ak 18468 #18546
Conversation
highfive
commented
Sep 17, 2017
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. |
highfive
commented
Sep 17, 2017
highfive
commented
Sep 17, 2017
|
@jdm three things:
|
|
commit 7ccd2c7 uses We still cant successfully load |
|
I believe #18543 solves the same issue as well. |
|
|
|
@KiChjang so currently the in the upstream change we will panic with an |
|
@toidiu we can't return false because it'll stop the execution of the script. Instead we need to figure out from where is it arriving with a non-string JSID, and see what the correct behavior should be. We can do it on this bug, let me know if you need any help, happy to try helping :) |
|
In particular, this comes from This should implement the following: https://heycam.github.io/webidl/#legacy-platform-object-delete So there seems to be some stuff missing. In particular:
|
|
Also, this of course needs a test-case. |
|
So, here's a test-case, and now I'm no longer sure adding that is the correct fix. In particular, looks to me that we should just be handling atoms JSIDs... <script>
delete window.localStorage[Symbol()];
</script> |
|
Sry my productivity drops during the week because of my job but I am keeping an eye on this. |
|
@toidiu Merge commits are not accepted. Please rebase against master instead. |
|
@emilio I can't get the latest servo to crash anymore..
Can you point me to where I would add the test to cause the crash. |
|
Doesn't running the test-case above (a file |
|
Closing due to inactivity. |
toidiu commentedSep 17, 2017
•
edited
WIP
We panic in function
string_jsid_to_stringif HandleId is not a string. This PR attempts to fix this by testing if the id is not a string prior to calling the function../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is