1635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project/* 2ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Block * Copyright (C) 2010 Google Inc. All rights reserved. 38f72e70a9fd78eec56623b3a62e68f16b7b27e28Feng Qian * 4635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * Redistribution and use in source and binary forms, with or without 5635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * modification, are permitted provided that the following conditions are 6635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * met: 78f72e70a9fd78eec56623b3a62e68f16b7b27e28Feng Qian * 8635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * * Redistributions of source code must retain the above copyright 9635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * notice, this list of conditions and the following disclaimer. 10635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * * Redistributions in binary form must reproduce the above 11635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * copyright notice, this list of conditions and the following disclaimer 12635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * in the documentation and/or other materials provided with the 13635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * distribution. 14635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * * Neither the name of Google Inc. nor the names of its 15635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * contributors may be used to endorse or promote products derived from 16635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * this software without specific prior written permission. 178f72e70a9fd78eec56623b3a62e68f16b7b27e28Feng Qian * 18635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project */ 30635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project 31ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Blockmodule window { 32635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project 33ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Block // See: http://dev.w3.org/2006/webapi/WebTiming/ 346b70adc33054f8aee8c54d0f460458a9df11b8a5Russell Brenner interface [Conditional=WEB_TIMING, OmitConstructor] PerformanceTiming { 35e458d70a0d18538346f41b503114c9ebe6b2ce12Leon Clarke readonly attribute unsigned long long navigationStart; 364576aa36e9a9671459299c7963ac95aa94beaea9Shimeng (Simon) Wang readonly attribute unsigned long long unloadEventStart; 37e458d70a0d18538346f41b503114c9ebe6b2ce12Leon Clarke readonly attribute unsigned long long unloadEventEnd; 38967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long redirectStart; 39967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long redirectEnd; 40967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long fetchStart; 41967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long domainLookupStart; 42967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long domainLookupEnd; 43967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long connectStart; 44967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long connectEnd; 4565f03d4f644ce73618e5f4f50dd694b26f55ae12Ben Murdoch readonly attribute unsigned long long secureConnectionStart; 46967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long requestStart; 47967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long responseStart; 48967717af5423377c967781471ee106e2bb4e11c8Ben Murdoch readonly attribute unsigned long long responseEnd; 4928040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu readonly attribute unsigned long long domLoading; 5028040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu readonly attribute unsigned long long domInteractive; 51f05b935882198ccf7d81675736e3aeb089c5113aBen Murdoch readonly attribute unsigned long long domContentLoadedEventStart; 52f05b935882198ccf7d81675736e3aeb089c5113aBen Murdoch readonly attribute unsigned long long domContentLoadedEventEnd; 5328040489d744e0c5d475a88663056c9040ed5320Teng-Hui Zhu readonly attribute unsigned long long domComplete; 54e458d70a0d18538346f41b503114c9ebe6b2ce12Leon Clarke readonly attribute unsigned long long loadEventStart; 55e458d70a0d18538346f41b503114c9ebe6b2ce12Leon Clarke readonly attribute unsigned long long loadEventEnd; 56ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Block }; 57635860845790a19bf50bbc51ba8fb66a96dde068The Android Open Source Project 58ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24Steve Block} 59