OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 12 matching lines...) Expand all Loading... |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 // https://w3c.github.io/resource-timing/#performanceresourcetiming | 31 // https://w3c.github.io/resource-timing/#performanceresourcetiming |
32 | 32 |
33 // TODO(philipj): This interface should be [Exposed=(Window,Worker)]. | 33 // TODO(foolip): This interface should be [Exposed=(Window,Worker)]. |
34 interface PerformanceResourceTiming : PerformanceEntry { | 34 interface PerformanceResourceTiming : PerformanceEntry { |
35 readonly attribute DOMString initiatorType; | 35 readonly attribute DOMString initiatorType; |
36 // TODO(philipj): readonly attribute DOMString nextHopProtocol; | 36 // TODO(foolip): readonly attribute DOMString nextHopProtocol; |
37 readonly attribute DOMHighResTimeStamp workerStart; | 37 readonly attribute DOMHighResTimeStamp workerStart; |
38 readonly attribute DOMHighResTimeStamp redirectStart; | 38 readonly attribute DOMHighResTimeStamp redirectStart; |
39 readonly attribute DOMHighResTimeStamp redirectEnd; | 39 readonly attribute DOMHighResTimeStamp redirectEnd; |
40 readonly attribute DOMHighResTimeStamp fetchStart; | 40 readonly attribute DOMHighResTimeStamp fetchStart; |
41 readonly attribute DOMHighResTimeStamp domainLookupStart; | 41 readonly attribute DOMHighResTimeStamp domainLookupStart; |
42 readonly attribute DOMHighResTimeStamp domainLookupEnd; | 42 readonly attribute DOMHighResTimeStamp domainLookupEnd; |
43 readonly attribute DOMHighResTimeStamp connectStart; | 43 readonly attribute DOMHighResTimeStamp connectStart; |
44 readonly attribute DOMHighResTimeStamp connectEnd; | 44 readonly attribute DOMHighResTimeStamp connectEnd; |
45 readonly attribute DOMHighResTimeStamp secureConnectionStart; | 45 readonly attribute DOMHighResTimeStamp secureConnectionStart; |
46 readonly attribute DOMHighResTimeStamp requestStart; | 46 readonly attribute DOMHighResTimeStamp requestStart; |
47 readonly attribute DOMHighResTimeStamp responseStart; | 47 readonly attribute DOMHighResTimeStamp responseStart; |
48 readonly attribute DOMHighResTimeStamp responseEnd; | 48 readonly attribute DOMHighResTimeStamp responseEnd; |
49 // TODO(philipj): The spec has tranferSize/encodedBodySize/decodedBodySize | 49 // TODO(foolip): The spec has tranferSize/encodedBodySize/decodedBodySize |
50 // and a serializer: | 50 // and a serializer: |
51 // readonly attribute unsigned short transferSize; | 51 // readonly attribute unsigned short transferSize; |
52 // readonly attribute unsigned short encodedBodySize; | 52 // readonly attribute unsigned short encodedBodySize; |
53 // readonly attribute unsigned short decodedBodySize; | 53 // readonly attribute unsigned short decodedBodySize; |
54 // serializer = {inherit, attribute}; | 54 // serializer = {inherit, attribute}; |
55 }; | 55 }; |
OLD | NEW |