Closed Bug 1884943 Opened 2 years ago Closed 1 year ago

Add WebIDL tests for `[StringContext=...]` and extend Python code to generate bindings for `[StringContext=...]`

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: mbrodesser, Assigned: mbrodesser)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-active])

Attachments

(4 obsolete files)

No description provided.
Whiteboard: [domsecurity-active]
Summary: Add WebIDL tests for parsing `[StringContext]` → Add WebIDL tests for `[StringContext]`
Attachment #9390787 - Attachment description: WIP: Bug 1884943: start adding tests for parsing the WebIDL `StringContext` extended attribute → WIP: Bug 1884943: start adding tests for the WebIDL `StringContext` extended attribute
Attachment #9390787 - Attachment description: WIP: Bug 1884943: start adding tests for the WebIDL `StringContext` extended attribute → WIP: Bug 1884943: part 1) Start adding tests for the WebIDL `StringContext` extended attribute
Attachment #9391216 - Attachment description: WIP: Bug 1884943: part 2) Start supporting the `StringContext` extended attribute in the WebIDL parser → WIP: Bug 1884943: part 2) Start supporting the `StringContext` extended attribute in the WebIDL parser and when generating C++ code

Allows generating example code via ./mach webidl-example TestExampleInterface: <TestExampleGenBinding.cpp>.

Depends on D204604

Summary: Add WebIDL tests for `[StringContext]` → Add WebIDL tests for `[StringContext=...]` and extend Python code to generate bindings for `[StringContext=...]`
Attachment #9391216 - Attachment description: WIP: Bug 1884943: part 2) Start supporting the `StringContext` extended attribute in the WebIDL parser and when generating C++ code → WIP: Bug 1884943: part 2) Support the `StringContext` extended attribute in the WebIDL parser and when generating C++ code
Attachment #9390787 - Attachment description: WIP: Bug 1884943: part 1) Start adding tests for the WebIDL `StringContext` extended attribute → WIP: Bug 1884943: part 1) Add tests for the WebIDL `StringContext` extended attribute
Attachment #9391779 - Attachment description: WIP: Bug 1884943: part 3) Add example usages of `[StringContext]` to <TestExampleGen.webidl> → WIP: Bug 1884943: part 2) Add example usages of `[StringContext]` to <TestExampleGen.webidl>
Attachment #9391216 - Attachment description: WIP: Bug 1884943: part 2) Support the `StringContext` extended attribute in the WebIDL parser and when generating C++ code → WIP: Bug 1884943: part 3) Support the `StringContext` extended attribute in the WebIDL parser and when generating C++ code

Abandoning this approach because the StringContext extended attribute was dropped from the spec in favor of union types.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Attachment #9390787 - Attachment is obsolete: true
Attachment #9391216 - Attachment is obsolete: true
Attachment #9391779 - Attachment is obsolete: true
Attachment #9393296 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: