| // Copyright 2015 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // https://w3c.github.io/hr-time/#the-performance-interface | |
| // TODO(foolip): This should be a GlobalPerformance interface implemented by | |
| // Window and WorkerGlobalScope. | |
| [ | |
| ImplementedAs=DOMWindowPerformance | |
| ] partial interface Window { | |
| [Replaceable] readonly attribute Performance performance; | |
| }; |