diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-04-29 14:44:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 14:44:20 +0200 |
commit | 6fe08dcf34417e825b7b9b6b33141a4a3b46ba24 (patch) | |
tree | f5d213986dcdb7c281e23ce93e176b7ca9fca92c /netwerk/base/nsITimedChannel.idl | |
parent | dc35e5c26dfa8c7fe6d27f7bc96f7a6e3c02de9b (diff) | |
parent | e040ed925030f899f845d458c226f7e439f4ec8b (diff) | |
download | UXP-6fe08dcf34417e825b7b9b6b33141a4a3b46ba24.tar UXP-6fe08dcf34417e825b7b9b6b33141a4a3b46ba24.tar.gz UXP-6fe08dcf34417e825b7b9b6b33141a4a3b46ba24.tar.lz UXP-6fe08dcf34417e825b7b9b6b33141a4a3b46ba24.tar.xz UXP-6fe08dcf34417e825b7b9b6b33141a4a3b46ba24.zip |
Merge pull request #293 from janekptacijarabaci/js_dom_performance-resource-timing_1
moebius#158: The Performance Resource Timing (added support for "workerStart")
Diffstat (limited to 'netwerk/base/nsITimedChannel.idl')
-rw-r--r-- | netwerk/base/nsITimedChannel.idl | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/netwerk/base/nsITimedChannel.idl b/netwerk/base/nsITimedChannel.idl index 13b65e7b8..83670a11e 100644 --- a/netwerk/base/nsITimedChannel.idl +++ b/netwerk/base/nsITimedChannel.idl @@ -21,7 +21,8 @@ interface nsITimedChannel : nsISupports { attribute boolean timingEnabled; // The number of redirects - attribute uint16_t redirectCount; + attribute uint8_t redirectCount; + attribute uint8_t internalRedirectCount; [noscript] readonly attribute TimeStamp channelCreation; [noscript] readonly attribute TimeStamp asyncOpen; @@ -37,6 +38,15 @@ interface nsITimedChannel : nsISupports { [noscript] readonly attribute TimeStamp responseStart; [noscript] readonly attribute TimeStamp responseEnd; + // The following are only set when the request is intercepted by a service + // worker no matter the response is synthesized. + [noscript] attribute TimeStamp launchServiceWorkerStart; + [noscript] attribute TimeStamp launchServiceWorkerEnd; + [noscript] attribute TimeStamp dispatchFetchEventStart; + [noscript] attribute TimeStamp dispatchFetchEventEnd; + [noscript] attribute TimeStamp handleFetchEventStart; + [noscript] attribute TimeStamp handleFetchEventEnd; + // The redirect attributes timings must be writeble, se we can transfer // the data from one channel to the redirected channel. [noscript] attribute TimeStamp redirectStart; @@ -67,6 +77,12 @@ interface nsITimedChannel : nsISupports { // All following are PRTime versions of the above. readonly attribute PRTime channelCreationTime; readonly attribute PRTime asyncOpenTime; + readonly attribute PRTime launchServiceWorkerStartTime; + readonly attribute PRTime launchServiceWorkerEndTime; + readonly attribute PRTime dispatchFetchEventStartTime; + readonly attribute PRTime dispatchFetchEventEndTime; + readonly attribute PRTime handleFetchEventStartTime; + readonly attribute PRTime handleFetchEventEndTime; readonly attribute PRTime domainLookupStartTime; readonly attribute PRTime domainLookupEndTime; readonly attribute PRTime connectStartTime; |