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
In particular the embedded test. There are a couple issues that make it not work in non-chrome browsers.
First, creating the iframe and appending it on document.body.onload is racy. fetch_tests_from_window should be called inline to prevent this. We should be able to just define the iframe inline above the script tag in the main document.
Second, test_driver.set_test_context is supposed to update test_driver's context- in this case to window.top. That means that subsequent calls to test_driver.get_all_cookies which "get details for all cookies in the current context" should get cookies from the perspective of the top document, no? That seems to be how Safari implements it as well based upon their failure.