Skip to content

Commit

Permalink
Add mechanism to report console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino authored Dec 12, 2018
1 parent a19a997 commit b6cca58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,14 @@ representation of an object judged to be maximally useful and informative.
</code></pre>
</div>

<h3 id="reporting-warnings">Reporting warnings to the console</h3>

To <dfn export>report a warning to the console</dfn> given a generic description of a warning
|description|, implementations must run these steps:

1. Let |warning| be an implementation-defined string derived from |description|.
1. Perform <a abstract-op>Printer</a>("reportWarning", « |warning| »).

<h2 id="acks" class="no-num">Acknowledgments</h2>

The editors would like to thank
Expand Down

0 comments on commit b6cca58

Please sign in to comment.