Skip to content

Commit 883a3fc

Browse files
authored
Fix index.bs and add shared infrastructure
1 parent 5e1ed02 commit 883a3fc

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

index.bs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Title: Proofreader API
33
Shortname: proofreader
44
Level: None
55
Status: CG-DRAFT
6+
Goupr: webmachinelearning
67
Repository: webmachinelearning/proofreader-api
78
URL: https://webmachinelearning.github.io/proofreader-api
89
Editor: Qianqia (Queenie) Zhang, Google https://google.com, [email protected]
@@ -16,17 +17,17 @@ Die On: warning
1617

1718
<pre class="anchors">
1819
urlPrefix: https://tc39.es/ecma402/; spec: ECMA-402
19-
type: dfn
20+
type: dfn
2021
text: [[AvailableLocales]]; url: sec-internal-slots
2122
text: Unicode canonicalized locale identifier; url: sec-language-tags
22-
type: abstract-op
23+
type: abstract-op
2324
text: LookupMatchingLocaleByBestFit; url: sec-lookupmatchinglocalebybestfit
2425
text: IsStructurallyValidLanguageTag; url: sec-isstructurallyvalidlanguagetag
2526
text: CanonicalizeUnicodeLocaleId; url: sec-canonicalizeunicodelocaleid
2627
urlPrefix: https://tc39.es/ecma262/; spec: ECMA-262
27-
type: abstract-op
28+
type: abstract-op
2829
text: floor; url: eqn-floor
29-
type: dfn
30+
type: dfn
3031
text: current realm; url: current-realm
3132
</pre>
3233

@@ -95,3 +96,23 @@ dictionary ProofreadCorrection {
9596

9697
enum CorrectionType { "spelling", "punctuation", "capitalization", "preposition", "missing-words", "grammar" };
9798
</xmp>
99+
100+
<h2 id="supporting">Shared infrastructure</h2>
101+
102+
<h3 id="shared-apis">Common APIs</h3>
103+
104+
<xmp class="idl">
105+
[Exposed=Window, SecureContext]
106+
interface CreateMonitor : EventTarget {
107+
attribute EventHandler ondownloadprogress;
108+
};
109+
110+
callback CreateMonitorCallback = undefined (CreateMonitor monitor);
111+
112+
enum Availability {
113+
"unavailable",
114+
"downloadable",
115+
"downloading",
116+
"available"
117+
};
118+
</xmp>

0 commit comments

Comments
 (0)