| 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 15 matching lines...) Expand all Loading... |
| 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(foolip): 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(foolip): readonly attribute DOMString nextHopProtocol; | 36 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 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long transferSize; | 49 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long transferSize; |
| 50 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long encodedBodySize; | 50 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long encodedBodySize; |
| 51 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long decodedBodySize; | 51 [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long
long decodedBodySize; |
| 52 // TODO(foolip): The spec has a serializer: | 52 // TODO(foolip): The spec has a serializer: |
| 53 // serializer = {inherit, attribute}; | 53 // serializer = {inherit, attribute}; |
| 54 }; | 54 }; |
| OLD | NEW |