Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: define toJSON (closes #112) #114

Merged
merged 1 commit into from
Jul 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,13 @@ <h3>The <code>PerformanceResourceTiming</code> Interface</h3>
readonly attribute unsigned long long transferSize;
readonly attribute unsigned long long encodedBodySize;
readonly attribute unsigned long long decodedBodySize;
serializer = {inherit, attribute};
[Default] object toJSON();
};
</pre>

<p data-dfn-for="PerformanceResourceTiming">
When <dfn>toJSON</dfn> is called, run [[!WEBIDL]]'s <a data-cite=
"WEBIDL#default-tojson-operation">default toJSON operation</a>.
</p>
<p dfn-for='PerformanceResourceTiming'>
On getting, the <dfn>initiatorType</dfn> attribute MUST return one of the following <code>DOMString</code> values:
</p>
Expand Down