diff --git a/index.html b/index.html index 2321374..9149cb7 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,7 @@ "check-punctuation": true, }, doJsonLd: true, - xref: ["hr-time-3", "infra", "html", "dom"], + xref: ["hr-time-3", "infra", "html", "dom", "document-policy"], mdn: "performance-timeline", }; @@ -69,6 +69,8 @@
+ dictionary PerformanceEntryOptions { + DOMString type; + DOMString name; + boolean includeFrames; + }; + partial interface Performance { - PerformanceEntryList getEntries (); + PerformanceEntryList getEntries (optional PerformanceEntryOptions options = {}); PerformanceEntryList getEntriesByType (DOMString type); PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type); }; @@ -271,26 +279,43 @@Extensions to the {{Performance}} interface
The PerformanceEntryList represents a sequence of PerformanceEntry, providing developers with all the convenience methods found on JavaScript arrays.
++ PerformanceEntryOptions dictionary
++
+- type
+- A single entry type to be retrieved.
+- name
+- A string representing the name of entries to be retrieved.
+- includeFrames
+- A flag to indicate whether entries from child frames should be + retrieved.
+getEntries() method
Returns a PerformanceEntryList object returned by the filter buffer map by name and type algorithm with - name and type set to
+ name, type and includeFrames set to the + corresponding members of the method's inputnull
.options
+ parameter.getEntriesByType() method
Returns a PerformanceEntryList object returned by filter buffer map by name and type algorithm with name set to -
+null
, and type set to the method's input -type
parameter.null
, type set to the method's input +type
parameter, and includeFrames set to +false
.getEntriesByName() method
Returns a PerformanceEntryList object returned by filter buffer map by name and type algorithm with name set to - the method input
+ the method's inputname
parameter, and type set - tonull
if optional `entryType` is omitted, or set to the - method's inputtype
parameter otherwise.name
parameter, type set to + eithernull
if optional `entryType` is omitted, or the + method's inputtype
parameter otherwise, and + includeFrames set tofalse
.
0
.
+ When toJSON is called, run [[WebIDL]]'s default toJSON steps.
+The toJSON method should not attempt to serialize + the source object reference.
The observe() method instructs the user agent to register @@ -556,6 +589,7 @@
PerformanceEntry
To queue a PerformanceEntry (newEntry), run - these steps:
+To queue a PerformanceEntry (newEntry) + with optional boolean traverse, run these steps:
PerformanceEntry
PerformanceEntry
When asked to run the filter buffer map by name and type - algorithm with optional name and type, run the - following steps:
+ algorithm with optional name, type, and + includeFrames, run the following steps:When asked to run the filter buffer by name and type - algorithm, with buffer, name, and type - as inputs, run the following steps:
+ algorithm, with buffer, name, type and + includeFrames as inputs, run the following steps:entryType
attribute, continue to next entry.
@@ -884,6 +947,19 @@ This specification defines a [=configuration point=] with the name
+ share-performance-timeline-with
. Its type is
+ set
, and its default value is the empty set.
Set members must be strings representing origins, or the token `*`, + representing all origins.
+This integration requires a currently-non-specified + "set" type and "string" type in Document Policy.
+This specification extends the {{Performance}} interface defined by [[HR-TIME-3]] and