aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performanceentry.rs
diff options
context:
space:
mode:
authorRemi THEBAULT <remi.thebault@gmail.com>2017-08-21 02:02:10 +0200
committerRemi THEBAULT <remi.thebault@gmail.com>2017-08-24 23:30:35 +0200
commite186b52b048e1da55b6d76e814ce3725000659e0 (patch)
tree3618d9bbecf49729010ae9d973b057f0ba771f2f /components/script/dom/performanceentry.rs
parent10cd518b59074d6fbc7bac23ada8702ddc38c4bf (diff)
downloadservo-e186b52b048e1da55b6d76e814ce3725000659e0.tar.gz
servo-e186b52b048e1da55b6d76e814ce3725000659e0.zip
implement PerformanceObserverInit.buffered (fixes #18108)
Diffstat (limited to 'components/script/dom/performanceentry.rs')
-rw-r--r--components/script/dom/performanceentry.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/performanceentry.rs b/components/script/dom/performanceentry.rs
index 7de1116c320..05eaa2760a6 100644
--- a/components/script/dom/performanceentry.rs
+++ b/components/script/dom/performanceentry.rs
@@ -51,6 +51,10 @@ impl PerformanceEntry {
pub fn name(&self) -> &DOMString {
&self.name
}
+
+ pub fn start_time(&self) -> f64 {
+ self.start_time
+ }
}
impl PerformanceEntryMethods for PerformanceEntry {