LibWeb+LibIDL: Remove support for #import directives during parsing

These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
This commit is contained in:
Shannon Booth
2026-04-23 22:41:12 +02:00
committed by Shannon Booth
parent ba741994dd
commit cc6e048bd6
Notes: github-actions[bot] 2026-04-24 18:09:33 +00:00
527 changed files with 10 additions and 1840 deletions

View File

@@ -1,6 +1,3 @@
#import <WebIDL/Function.idl>
#import <Streams/QueuingStrategyInit.idl>
// https://streams.spec.whatwg.org/#blqs-class-definition
[Exposed=*]
interface ByteLengthQueuingStrategy {

View File

@@ -1,6 +1,3 @@
#import <WebIDL/Function.idl>
#import <Streams/QueuingStrategyInit.idl>
// https://streams.spec.whatwg.org/#cqs-class-definition
[Exposed=*]
interface CountQueuingStrategy {

View File

@@ -1,6 +1,3 @@
#import <Streams/ReadableStream.idl>
#import <Streams/WritableStream.idl>
interface mixin GenericTransformStream {
readonly attribute ReadableStream readable;
readonly attribute WritableStream writable;

View File

@@ -1,5 +1,3 @@
#import <Streams/ReadableStreamBYOBRequest.idl>
// https://streams.spec.whatwg.org/#rbs-controller-class-definition
[Exposed=*]
interface ReadableByteStreamController {

View File

@@ -1,9 +1,3 @@
#import <DOM/AbortSignal.idl>
#import <Streams/QueuingStrategy.idl>
#import <Streams/ReadableStreamBYOBReader.idl>
#import <Streams/ReadableStreamDefaultReader.idl>
#import <Streams/WritableStream.idl>
dictionary ReadableWritablePair {
required ReadableStream readable;
required WritableStream writable;

View File

@@ -1,7 +1,3 @@
#import <Streams/ReadableStream.idl>
#import <Streams/ReadableStreamDefaultReader.idl>
#import <Streams/ReadableStreamGenericReader.idl>
// https://streams.spec.whatwg.org/#readablestreambyobreader
[Exposed=*]
interface ReadableStreamBYOBReader {

View File

@@ -1,6 +1,3 @@
#import <Streams/ReadableStream.idl>
#import <Streams/ReadableStreamGenericReader.idl>
// https://streams.spec.whatwg.org/#readablestreamdefaultreader
[Exposed=*]
interface ReadableStreamDefaultReader {

View File

@@ -1,7 +1,3 @@
#import <Streams/QueuingStrategy.idl>
#import <Streams/ReadableStream.idl>
#import <Streams/WritableStream.idl>
// https://streams.spec.whatwg.org/#transformstream
[Exposed=*, Transferable]
interface TransformStream {

View File

@@ -1,6 +1,3 @@
#import <Streams/QueuingStrategy.idl>
#import <Streams/WritableStreamDefaultWriter.idl>
// https://streams.spec.whatwg.org/#writablestream
[Exposed=*, Transferable]
interface WritableStream {

View File

@@ -1,5 +1,3 @@
#import <DOM/AbortSignal.idl>
// https://streams.spec.whatwg.org/#writablestreamdefaultcontroller
[Exposed=*]
interface WritableStreamDefaultController {

View File

@@ -1,5 +1,3 @@
#import <Streams/WritableStream.idl>
// https://streams.spec.whatwg.org/#writablestreamdefaultwriter
[Exposed=*]
interface WritableStreamDefaultWriter {