Skip to content

Commit

Permalink
Bug 1636527 [wpt PR 23486] - Implement cross origin resource policy c…
Browse files Browse the repository at this point in the history
…heck , a=testonly

Automatic update from web-platform-tests
Implement cross origin resource policy check

I removed the window getter usage from those tests as servo does not
support that yet.

--

wpt-commits: c0981259b04a0d2dfd2c6ba397802d64b32c8974
wpt-pr: 23486
  • Loading branch information
Eijebong authored and moz-wptsync-bot committed May 14, 2020
1 parent a29ec1f commit 4543d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

function loadImage(url, shoudLoad, corsMode, title)
{
const testDiv = document.getElementById("testDiv");
promise_test(() => {
const img = new Image();
if (corsMode)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

function loadScript(url, shoudLoad, corsMode, title)
{
const testDiv = document.getElementById("testDiv");
promise_test(() => {
const script = document.createElement("script");
if (corsMode)
Expand Down

0 comments on commit 4543d8a

Please sign in to comment.