Sign in
chromium
/
chromium
/
src
/
197b0cd027d15754e48dce24add9a785cbd72e3a
/
.
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
serviceworker
/
resources
/
no-filesystem.js
blob: 464977222b8e7fdce649977f48e39f3cc4803b96 [
file
] [
log
] [
blame
]
function
expect_exception
(
func
)
{
try
{
func
();
}
catch
(
ex
)
{
return
;
}
throw
Error
(
"No exception seen"
);
}
expect_exception
(
_
=>
webkitRequestFileSystem
(
TEMPORARY
,
1024
));
expect_exception
(
_
=>
webkitRequestFileSystemSync
(
TEMPORARY
,
1024
));