chromium/third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/executors/testharness_webdriver_resume.js

// We have to set the url here to ensure we get the same escaping as in the harness
// and also to handle the case where the test changes the fragment
window.__wptrunner_url = arguments[0];
window.__wptrunner_testdriver_callback = arguments[arguments.length - 1];
window.__wptrunner_process_next_event();