Skip to content

Commit 3cba612

Browse files
Properly exclude 'CrashReportBody' from exported IDL
See WICG#8 (comment)
1 parent d3a52a0 commit 3cba612

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

index.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Markup Shorthands: css off, markdown on
5757

5858
<a>Crash reports</a> have the <a>report type</a> "crash".
5959

60-
<pre class="idl exclude">
60+
<pre class="idl extract">
6161
[Exposed=(Window,Worker)]
6262
interface CrashReportBody : ReportBody {
6363
[Default] object toJSON();

index.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@
12221222
}
12231223
</style>
12241224
<link href="https://www.w3.org/StyleSheets/TR/2016/cg-draft" rel="stylesheet">
1225-
<meta content="Bikeshed version 40de15f9, updated Thu Jun 11 17:47:04 2020 -0700" name="generator">
1225+
<meta content="Bikeshed version 7c63c139, updated Fri Jul 17 17:12:19 2020 -0700" name="generator">
12261226
<link href="https://wicg.github.io/crash-reporting/" rel="canonical">
12271227
<style>/* style-autolinks */
12281228

@@ -1470,7 +1470,7 @@
14701470
<div class="head">
14711471
<p data-fill-with="logo"></p>
14721472
<h1>Crash Reporting</h1>
1473-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Draft Community Group Report, <time class="dt-updated" datetime="2020-06-24">24 June 2020</time></span></h2>
1473+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Draft Community Group Report, <time class="dt-updated" datetime="2020-07-22">22 July 2020</time></span></h2>
14741474
<div data-fill-with="spec-metadata">
14751475
<dl>
14761476
<dt>This version:
@@ -1576,7 +1576,7 @@ <h2 class="heading settled" data-level="3" id="crash-report"><span class="secno"
15761576
optionally the reason for the crash (such as "oom").</p>
15771577
<p><a data-link-type="dfn" href="#crash-reports" id="ref-for-crash-reports">Crash reports</a> are a type of <a data-link-type="dfn" href="https://w3c.github.io/reporting/#report" id="ref-for-report">report</a>.</p>
15781578
<p><a data-link-type="dfn" href="#crash-reports" id="ref-for-crash-reports①">Crash reports</a> have the <a data-link-type="dfn" href="https://w3c.github.io/reporting/#report-type" id="ref-for-report-type">report type</a> "crash".</p>
1579-
<pre class="idl exclude highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->)]
1579+
<pre class="idl extract highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->)]
15801580
<c- b>interface</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="interface" data-export id="crashreportbody"><code><c- g>CrashReportBody</c-></code></dfn> : <a class="n" data-link-type="idl-name" href="https://w3c.github.io/reporting/#reportbody" id="ref-for-reportbody"><c- n>ReportBody</c-></a> {
15811581
[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Default" id="ref-for-Default"><c- g>Default</c-></a>] <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-object" id="ref-for-idl-object"><c- b>object</c-></a> <dfn class="idl-code" data-dfn-for="CrashReportBody" data-dfn-type="method" data-export data-lt="toJSON()" id="dom-crashreportbody-tojson"><code><c- g>toJSON</c-></code><a class="self-link" href="#dom-crashreportbody-tojson"></a></dfn>();
15821582
<c- b>readonly</c-> <c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-DOMString" id="ref-for-idl-DOMString"><c- b>DOMString</c-></a>? <dfn class="idl-code" data-dfn-for="CrashReportBody" data-dfn-type="attribute" data-export data-readonly data-type="DOMString?" id="dom-crashreportbody-reason"><code><c- g>reason</c-></code><a class="self-link" href="#dom-crashreportbody-reason"></a></dfn>;
@@ -1890,13 +1890,7 @@ <h3 class="no-num no-ref heading settled" id="normative"><span class="content">N
18901890
<dd>Boris Zbarsky. <a href="https://heycam.github.io/webidl/">Web IDL</a>. 15 December 2016. ED. URL: <a href="https://heycam.github.io/webidl/">https://heycam.github.io/webidl/</a>
18911891
</dl>
18921892
<h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">IDL Index</span><a class="self-link" href="#idl-index"></a></h2>
1893-
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed"><c- g>Exposed</c-></a>=(<c- n>Window</c->,<c- n>Worker</c->)]
1894-
<c- b>interface</c-> <a href="#crashreportbody"><code><c- g>CrashReportBody</c-></code></a> : <a class="n" data-link-type="idl-name" href="https://w3c.github.io/reporting/#reportbody"><c- n>ReportBody</c-></a> {
1895-
[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Default"><c- g>Default</c-></a>] <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-object"><c- b>object</c-></a> <a href="#dom-crashreportbody-tojson"><code><c- g>toJSON</c-></code></a>();
1896-
<c- b>readonly</c-> <c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-DOMString"><c- b>DOMString</c-></a>? <a data-readonly data-type="DOMString?" href="#dom-crashreportbody-reason"><code><c- g>reason</c-></code></a>;
1897-
};
1898-
1899-
</pre>
1893+
<pre class="idl highlight def"></pre>
19001894
<aside class="dfn-panel" data-for="crash-reports">
19011895
<b><a href="#crash-reports">#crash-reports</a></b><b>Referenced in:</b>
19021896
<ul>

0 commit comments

Comments
 (0)