| Index: Source/modules/beacon/NavigatorBeacon.idl
|
| diff --git a/Source/modules/beacon/NavigatorBeacon.idl b/Source/modules/beacon/NavigatorBeacon.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f8d545b2a12f1423a20cbba6cd40a6dcef1a344a
|
| --- /dev/null
|
| +++ b/Source/modules/beacon/NavigatorBeacon.idl
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +[
|
| + RuntimeEnabled=BeaconAPI,
|
| +] partial interface Navigator {
|
| + [ CallWith=ExecutionContext, RaisesException ] boolean sendBeacon(DOMString url, ArrayBufferView data);
|
| + [ CallWith=ExecutionContext, RaisesException ] boolean sendBeacon(DOMString url, Blob data);
|
| + [ CallWith=ExecutionContext, RaisesException ] boolean sendBeacon(DOMString url, FormData data);
|
| + [ CallWith=ExecutionContext, RaisesException ] boolean sendBeacon(DOMString url, [Default=Undefined] optional DOMString data);
|
| +};
|
| +
|
|
|