Commit 77732730 authored by Yuki Shiino's avatar Yuki Shiino Committed by Commit Bot

v8bindings: Remove misusage of [NoInterfaceObject]

{Readable,Writable,Transform}StreamDefaultConstroller expect
their prototype object to have 'constructor' property, however,
[NoInterfaceObject] is an extended attribute that removes
'constructor' property on the prototype object (although the
current bindings generator doesn't do so).

Remove the misusage of [NoInterfaceObject].

Bug: 839389
Change-Id: I12057b0a4283c9247933e7f6085f855df581e3cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167743Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762809}
parent ce4689e1
......@@ -3,10 +3,7 @@
// found in the LICENSE file.
// https://streams.spec.whatwg.org/#rs-default-controller-class-definition
[
Exposed=(Window,Worker,Worklet),
NoInterfaceObject
] interface ReadableStreamDefaultController {
interface ReadableStreamDefaultController {
[NotEnumerable] readonly attribute double? desiredSize;
[CallWith=ScriptState, NotEnumerable, RaisesException] void close();
[CallWith=ScriptState, NotEnumerable, RaisesException] void enqueue(
......
......@@ -5,10 +5,7 @@
// This is only used when the new C++ implementation is enabled.
// https://streams.spec.whatwg.org/#rs-default-controller-class-definition
[
Exposed=(Window,Worker,Worklet),
NoInterfaceObject
] interface TransformStreamDefaultController {
interface TransformStreamDefaultController {
[NotEnumerable] readonly attribute double? desiredSize;
[CallWith=ScriptState, NotEnumerable, RaisesException] void enqueue(
optional any chunk);
......
......@@ -5,9 +5,6 @@
// This is only used when the new C++ implementation is enabled.
// https://streams.spec.whatwg.org/#ws-default-controller-class-definition
[
Exposed=(Window,Worker,Worklet),
NoInterfaceObject
] interface WritableStreamDefaultController {
interface WritableStreamDefaultController {
[CallWith=ScriptState, NotEnumerable] void error(optional any e);
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment