Navigation Timing 2 IDL tests

    interface PerformanceResourceTiming : PerformanceEntry {
        readonly attribute DOMString initiatorType;
        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;
        [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long long transferSize;
        [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long long encodedBodySize;
        [MeasureAs=PerformanceResourceTimingSizes] readonly attribute unsigned long long decodedBodySize;
    };

    enum NavigationType {
        "navigate",
        "reload",
        "back_forward",
        "prerender"
    };

    interface PerformanceNavigationTiming : PerformanceResourceTiming {
        readonly attribute DOMHighResTimeStamp unloadEventStart;
        readonly attribute DOMHighResTimeStamp unloadEventEnd;
        readonly attribute DOMHighResTimeStamp domInteractive;
        readonly attribute DOMHighResTimeStamp domContentLoadedEventStart;
        readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd;
        readonly attribute DOMHighResTimeStamp domComplete;
        readonly attribute DOMHighResTimeStamp loadEventStart;
        readonly attribute DOMHighResTimeStamp loadEventEnd;
        readonly attribute NavigationType      type;
        readonly attribute unsigned short      redirectCount;
        [Default] object toJSON();
    };