[wpt] Fix web-share/disabled...cross-origin...
when run with WebDriver
Same fix as https://crrev.com/c/5888751:
- The testharness.js context should also load
testdriver(-vendor).js
. - The child iframe should
set_test_context(parent)
to send its
testdriver actions to the testharness context 0.
Bug: None
Change-Id: I34b159d13990c48ab9232267ae5e153e2a01187a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5889244
Auto-Submit: Jonathan Lee jonathanjlee@google.com
Reviewed-by: Finnur Thorarinsson finnur@chromium.org
Commit-Queue: Jonathan Lee jonathanjlee@google.com
Cr-Commit-Position: refs/heads/main@{#1359968}