@@ -3,6 +3,7 @@ Title: Proofreader API
33Shortname : proofreader
44Level : None
55Status : CG-DRAFT
6+ Goupr : webmachinelearning
67Repository : webmachinelearning/proofreader-api
78URL : https://webmachinelearning.github.io/proofreader-api
89Editor : Qianqia (Queenie) Zhang, Google https://google.com, [email protected] @@ -16,17 +17,17 @@ Die On: warning
1617
1718<pre class="anchors">
1819urlPrefix: 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
2627urlPrefix: 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
9697enum 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