You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assigning a string to location has no effect #20485
location.assign("http://www.mozilla.org"); // or
location = "http://www.mozilla.org";
It seems that currently, using location.assign works, however assigning a string to the location global variable doesn't.
Example in tests: tests/wpt/web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/006-1.html, where I was able to make the test pass by changing it to using location.assign.
I would assume both would be forwarded to Location.Assign, however that doesn't seem to be the case.
I guess this is a binding issue? Could you please point me out how to fix this?
The PutForwards annotation on the location member in Window.webidl (and Document.webidl is commented out. #9990 was filed for using it after we implemented it, but it never got done.
Activity
jdm commentedon Mar 31, 2018
The
PutForwardsannotation on thelocationmember inWindow.webidl(andDocument.webidlis commented out. #9990 was filed for using it after we implemented it, but it never got done.Auto merge of #20329 - gterzian:before_unload, r=<try>
Auto merge of #20329 - gterzian:before_unload, r=<try>
Auto merge of #20329 - gterzian:before_unload, r=<try>
Auto merge of #20329 - gterzian:before_unload, r=<try>
Auto merge of #20329 - gterzian:before_unload, r=cbrewster
Auto merge of #20329 - gterzian:before_unload, r=cbrewster
Auto merge of #20329 - gterzian:before_unload, r=cbrewster