Closed Bug 1723838 Opened 3 years ago Closed 1 year ago

add webidl dns bindings

Categories

(WebExtensions :: General, task, P2)

task
Points:
3

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mixedpuppy, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mv3-m2])

Attachments

(4 files, 1 obsolete file)

Add serviceworker webidl bindings for the dns namespace

This is a simple api for a first attempt.

Severity: -- → N/A
Blocks: 1609923
Points: --- → 3

A similar change have been applied to the webidl files related to WebExtensions APIs that were already defined
in mozilla-central as part of Bug 1659158.

This patch updates the python script to make sure that the new generate WebIDL files for the other WebExtensions
API that are not already in mozilla-central will use 'undefined' instead of 'void' as the return value type for
WebExtensions API methods that do not return any value.

Depends on D167591

A similar change have been applied in the C++ header files for the WebExtensions API WebIDL bindings that were already
part of the mozilla-central tree as part of Bug 1777574.

This patch is making sure that C++ header boilerplate file generated by the WebExtensions python script
GenerateWebIDLBindings.py that we will generate next for the other WebExtensions APIs not yet implemented
in mozilla-central will also use this new macro.

Depends on D167592

Attachment #9234562 - Attachment is obsolete: true
Assignee: mixedpuppy → lgreco
Status: NEW → ASSIGNED
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/99398345f229
Tweak error reported from WebExtensions GenerateWebIDLBindings.py on unexpected type for optional parameters. r=willdurand
https://hg.mozilla.org/integration/autoland/rev/0a2a5ea24951
Change 'void' to 'undefined' webidl type in WebExtensions GenerateWebIDLBindings.py helper script. r=willdurand
https://hg.mozilla.org/integration/autoland/rev/5fef28bf2f79
Update ExtensionAPI.h.in jinja template to use NS_DECL_CYCLE_COLLECTION_WRAPPERCACHE_CLASS macro. r=willdurand
https://hg.mozilla.org/integration/autoland/rev/1de4e44dab92
WebIDL bindings for the 'dns' WebExtensions API namespace. r=willdurand,webidl,smaug
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: