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
Recursion error in "navigation-within-beforeunload" WPT test #20496
In the context of running this tests/wpt/web-platform-tests/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload.html for #20329, I am getting the below recursion error.
This happens reliably after 66 navigation, while the test seems to expect 1000 to occur without such error happening(the test ends up failing with assert_equals: expected 1000 but got 66).
ERROR:script::dom::bindings::error: Error at http://web-platform.test:8000/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload-1.html?0.6222672494976191:8:3 too much recursion
Activity
gterzian commentedon Apr 21, 2018
Fixed by adding, as par the spec, a
recursiveFlagto bothdocument.prompt_to_unloadand `document.unload. SeeAuto 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