diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-03-25 08:18:42 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2020-03-25 11:04:48 +0000 |
commit | 916ba6ef4d6f4dbed66f85c79382f604f092b7ba (patch) | |
tree | 6fa49a7ac7563442a0de7fdece211b53d15765c5 /tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html | |
parent | 6ca767d7f92eb22eb7631283973ef8305567bf07 (diff) | |
download | servo-916ba6ef4d6f4dbed66f85c79382f604f092b7ba.tar.gz servo-916ba6ef4d6f4dbed66f85c79382f604f092b7ba.zip |
Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html index 8659c2edef5..b8df61c73d3 100644 --- a/tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html +++ b/tests/wpt/web-platform-tests/css/css-layout-api/constraints-data-sab-failure.https.html @@ -35,7 +35,8 @@ registerLayout('parent', class { try { childFragment = await child.layoutNextFragment({ - data: { sab: new SharedArrayBuffer(4) } + // See https://github.com/whatwg/html/issues/5380 for why not `new SharedArrayBuffer()` + data: { sab: new WebAssembly.Memory({ shared:true, initial:1, maximum:1 }).buffer } }); } catch(e) { // Success! The structured cloning algorithm should have thrown an error. |