Index: Source/modules/beacon/NavigatorBeacon.idl |
diff --git a/Source/modules/beacon/NavigatorBeacon.idl b/Source/modules/beacon/NavigatorBeacon.idl |
index 7b31421a6a0dfff77bded9ae6066468a1603ad38..3595e3f44955b4265da41d84ad3cf36096cbcd41 100644 |
--- a/Source/modules/beacon/NavigatorBeacon.idl |
+++ b/Source/modules/beacon/NavigatorBeacon.idl |
@@ -7,9 +7,5 @@ |
[ |
RuntimeEnabled=Beacon, |
] partial interface Navigator { |
- // FIXME: should be union type http://crbug.com/240176 |
- [CallWith=ExecutionContext, MeasureAs=SendBeacon, RaisesException] boolean sendBeacon(DOMString url, ArrayBufferView data); |
- [CallWith=ExecutionContext, MeasureAs=SendBeacon, RaisesException] boolean sendBeacon(DOMString url, Blob data); |
- [CallWith=ExecutionContext, MeasureAs=SendBeacon, RaisesException] boolean sendBeacon(DOMString url, FormData data); |
- [CallWith=ExecutionContext, MeasureAs=SendBeacon, RaisesException] boolean sendBeacon(DOMString url, [Default=Undefined] optional DOMString data); |
+ [CallWith=ExecutionContext, MeasureAs=SendBeacon, RaisesException] boolean sendBeacon(DOMString url, optional (ArrayBufferView or Blob or DOMString or FormData)? data = null); |
}; |