fix(ext/web): writability of ReadableStream.from (#20836)

Fixes a WPT in `URL` and `ReadableStream`.

Some unrelated WPT expectation changes due to WPT update.
This commit is contained in:
Luca Casonato 2023-10-10 12:01:01 +09:00 committed by GitHub
parent 84c9300aff
commit 2665ca103e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1064 additions and 307 deletions

View file

@ -212,7 +212,7 @@ class PerformanceEntry {
}));
}
}
webidl.configurePrototype(PerformanceEntry);
webidl.configureInterface(PerformanceEntry);
const PerformanceEntryPrototype = PerformanceEntry.prototype;
const _detail = Symbol("[[detail]]");
@ -279,7 +279,7 @@ class PerformanceMark extends PerformanceEntry {
}));
}
}
webidl.configurePrototype(PerformanceMark);
webidl.configureInterface(PerformanceMark);
const PerformanceMarkPrototype = PerformanceMark.prototype;
class PerformanceMeasure extends PerformanceEntry {
[_detail] = null;
@ -338,7 +338,7 @@ class PerformanceMeasure extends PerformanceEntry {
}));
}
}
webidl.configurePrototype(PerformanceMeasure);
webidl.configureInterface(PerformanceMeasure);
const PerformanceMeasurePrototype = PerformanceMeasure.prototype;
class Performance extends EventTarget {
constructor(key = null) {
@ -577,7 +577,7 @@ class Performance extends EventTarget {
}));
}
}
webidl.configurePrototype(Performance);
webidl.configureInterface(Performance);
const PerformancePrototype = Performance.prototype;
webidl.converters["Performance"] = webidl.createInterfaceConverter(