Given:
<pre class="idl">
interface BeforeInstallPromptEvent : Event {
Promise<PromptResponseObject> prompt();
};
dictionary PromptResponseObject {
AppBannerPromptOutcome userChoice;
};
</pre>
Expected the following to include both BeforeInstallPromptEvent AND PromptResponseObject:
<section id="idl-index"></section>
Actual: PromptResponseObject object is missing.
Can I work on this @marcoscaceres ? I have setup the project and am ready to try to tackle some issues.
@shubhshrma, thanks for offering to help - some info below.
The IDL index is generated by:
src/core/webidl-index.js
And tests for this are in:
spec/core/idl-index-spec.js
If you haven't already, please check out the developer guide.
I suggest putting the test case above into the "examples/basic.html" file, and trying to debug it from there.
@marcoscaceres The problem is that we are appending only the first child of each <pre class="idl"> and not all children. So, only first block of each is present in <section class="idl-index">. I have made some changes. Please see.
Most helpful comment
@shubhshrma, thanks for offering to help - some info below.
The IDL index is generated by:
src/core/webidl-index.jsAnd tests for this are in:
spec/core/idl-index-spec.jsIf you haven't already, please check out the developer guide.
I suggest putting the test case above into the "examples/basic.html" file, and trying to debug it from there.