aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2015-12-03 17:38:53 -0800
committerKeith Yeung <kungfukeith11@gmail.com>2016-02-18 06:37:32 -0500
commitace5b7a2e868ee32a9cfaec1bdb1adb23241a6ae (patch)
treee4582a1355641fea3531b6de092f52ae52658f8b /components/script/script_thread.rs
parenteee0d4efeba1ee77e864a495b6e1992c8ad088cc (diff)
downloadservo-ace5b7a2e868ee32a9cfaec1bdb1adb23241a6ae.tar.gz
servo-ace5b7a2e868ee32a9cfaec1bdb1adb23241a6ae.zip
Implement planned navigation
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index ff8b25b9d67..330bee776d3 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -228,14 +228,15 @@ pub enum ScriptThreadEventCategory {
DocumentEvent,
DomEvent,
FileRead,
+ FormPlannedNavigation,
ImageCacheMsg,
InputEvent,
NetworkEvent,
Resize,
ScriptEvent,
- TimerEvent,
SetViewport,
StylesheetLoad,
+ TimerEvent,
UpdateReplacedElement,
WebSocketEvent,
WorkerEvent,
@@ -1076,6 +1077,7 @@ impl ScriptThread {
ScriptThreadEventCategory::DocumentEvent => ProfilerCategory::ScriptDocumentEvent,
ScriptThreadEventCategory::DomEvent => ProfilerCategory::ScriptDomEvent,
ScriptThreadEventCategory::FileRead => ProfilerCategory::ScriptFileRead,
+ ScriptThreadEventCategory::FormPlannedNavigation => ProfilerCategory::ScriptPlannedNavigation,
ScriptThreadEventCategory::ImageCacheMsg => ProfilerCategory::ScriptImageCacheMsg,
ScriptThreadEventCategory::InputEvent => ProfilerCategory::ScriptInputEvent,
ScriptThreadEventCategory::NetworkEvent => ProfilerCategory::ScriptNetworkEvent,