Hello Searchfox users!
Today I'm happy to announce the WebIDL indexing on Searchfox.
Now you can jump to the C++ definition, both the generated binding code and the underlying implementation, from WebIDL files, just in the same way as XPIDL and IPDL files.
Example:
https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl
The work is tracked under
https://bugzilla.mozilla.org/show_bug.cgi?id=1416899 and blocking bugs, and the support for the extended attributes and the interface mixin are planned.
Let us know if you find any other issue!
Also, as announced in the last update, chrome:// and resource:// URLs inside JS files have been linkified. This is now expanded to HTML, CSS, and C++ files, and also links to other resources such as PNG and SVG are also supported.
Lastly, the `field-layout` query is getting more features, including:
* Show the definition lines for each field
* Show holes and end paddings around fields
* Show vtable pointers
* Support multiple inheritances
Example:
https://searchfox.org/mozilla-central/query/default?q=field-layout%3A%27mozilla%3A%3Adom%3A%3ABrowsingContext%27
The `field-layout` query is currently alpha-gated. (See
https://searchfox.org/mozilla-central/pages/settings.html ). When enabled, it's available from "Class layout of ..." context menu item for class identifiers.
Thanks!
--
arai