Skip to content

Commit

Permalink
Bug 1623924 [wpt PR 22359] - XHR/CSS/Compression: use Wasm to get at …
Browse files Browse the repository at this point in the history
…a SharedArrayBuffer instancd, a=testonly

Automatic update from web-platform-tests
XHR/CSS/Compression: use Wasm to get at a SharedArrayBuffer instance

For web-platform-tests/wpt#22358.
--

wpt-commits: c8d8f8e2d426e71c11f86512fadd5d8744413c13
wpt-pr: 22359

UltraBlame original commit: 5cd0a8d5e1661ea051b6cb61885f80affcb93701
  • Loading branch information
marco-c committed Apr 1, 2020
1 parent 1d9c60d commit e7f40a7
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,51 @@ value
(
)
{
return
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
return
new
WebAssembly
.
Memory
(
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
;
}
}
Expand All @@ -127,14 +167,54 @@ value
(
)
{
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
return
new
Uint8Array
(
new
SharedArrayBuffer
WebAssembly
.
Memory
(
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,51 @@ value
(
)
{
return
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
return
new
WebAssembly
.
Memory
(
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
;
}
}
Expand All @@ -127,14 +167,54 @@ value
(
)
{
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
return
new
Uint8Array
(
new
SharedArrayBuffer
WebAssembly
.
Memory
(
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,55 @@
layoutNextFragment
(
{
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
data
:
{
sab
:
new
SharedArrayBuffer
WebAssembly
.
Memory
(
4
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
}
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,31 @@
)
)
;
/
/
See
https
:
/
/
github
.
com
/
whatwg
/
html
/
issues
/
5380
for
why
not
new
SharedArrayBuffer
(
)
return
{
autoBlockSize
Expand All @@ -288,10 +313,24 @@
sab
:
new
SharedArrayBuffer
WebAssembly
.
Memory
(
4
{
shared
:
true
initial
:
1
maximum
:
1
}
)
.
buffer
}
}
;
Expand Down
Loading

0 comments on commit e7f40a7

Please sign in to comment.