Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1771)

Unified Diff: Source/core/timing/PerformanceResourceTiming.idl

Issue 1219673003: Sync core/timing/ interfaces with their specs, or lack thereof (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/timing/PerformanceRenderTiming.idl ('k') | Source/core/timing/PerformanceTiming.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceResourceTiming.idl
diff --git a/Source/core/timing/PerformanceResourceTiming.idl b/Source/core/timing/PerformanceResourceTiming.idl
index 997283935c62ac1127ff0626460fb62e8c848d74..d9a7ccebf09bb62b0a04ab1a87f90f0489a95847 100644
--- a/Source/core/timing/PerformanceResourceTiming.idl
+++ b/Source/core/timing/PerformanceResourceTiming.idl
@@ -28,20 +28,28 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// See: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ResourceTiming/Overview.html
+// https://w3c.github.io/resource-timing/#performanceresourcetiming
+
+// TODO(philipj): This interface should be [Exposed=(Window,Worker)].
interface PerformanceResourceTiming : PerformanceEntry {
readonly attribute DOMString initiatorType;
-
- [RuntimeEnabled=ServiceWorkerPerformanceTimeline] readonly attribute double workerStart;
- readonly attribute double redirectStart;
- readonly attribute double redirectEnd;
- readonly attribute double fetchStart;
- readonly attribute double domainLookupStart;
- readonly attribute double domainLookupEnd;
- readonly attribute double connectStart;
- readonly attribute double connectEnd;
- readonly attribute double secureConnectionStart;
- readonly attribute double requestStart;
- readonly attribute double responseStart;
- readonly attribute double responseEnd;
+ // TODO(philipj): readonly attribute DOMString nextHopProtocol;
+ [RuntimeEnabled=ServiceWorkerPerformanceTimeline] readonly attribute DOMHighResTimeStamp workerStart;
+ readonly attribute DOMHighResTimeStamp redirectStart;
+ readonly attribute DOMHighResTimeStamp redirectEnd;
+ readonly attribute DOMHighResTimeStamp fetchStart;
+ readonly attribute DOMHighResTimeStamp domainLookupStart;
+ readonly attribute DOMHighResTimeStamp domainLookupEnd;
+ readonly attribute DOMHighResTimeStamp connectStart;
+ readonly attribute DOMHighResTimeStamp connectEnd;
+ readonly attribute DOMHighResTimeStamp secureConnectionStart;
+ readonly attribute DOMHighResTimeStamp requestStart;
+ readonly attribute DOMHighResTimeStamp responseStart;
+ readonly attribute DOMHighResTimeStamp responseEnd;
+ // TODO(philipj): The spec has tranferSize/encodedBodySize/decodedBodySize
+ // and a serializer:
+ // readonly attribute unsigned short transferSize;
+ // readonly attribute unsigned short encodedBodySize;
+ // readonly attribute unsigned short decodedBodySize;
+ // serializer = {inherit, attribute};
};
« no previous file with comments | « Source/core/timing/PerformanceRenderTiming.idl ('k') | Source/core/timing/PerformanceTiming.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698