[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:41:02 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 885b13b29b132b7231e9bad80b29ab6b9398e874
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 2 19:10:47 2009 +0000
2009-12-02 Eric Z. Ayers <zundel at google.com>
Reviewed by Pavel Feldman.
Adds a timeline test for EventDispatch records.
https://bugs.webkit.org/show_bug.cgi?id=31376
* inspector/timeline-event-dispatch-expected.txt: Added.
* inspector/timeline-event-dispatch.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 04d36e7..11cd1ea 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2009-12-02 Eric Z. Ayers <zundel at google.com>
+
+ Reviewed by Pavel Feldman.
+
+ Adds a timeline test for EventDispatch records.
+
+ https://bugs.webkit.org/show_bug.cgi?id=31376
+
+ * inspector/timeline-event-dispatch-expected.txt: Added.
+ * inspector/timeline-event-dispatch.html: Added.
+
2009-12-02 Pavel Feldman <pfeldman at dhcp-172-28-174-220.spb.corp.google.com>
Reviewed by Timothy Hatcher.
diff --git a/LayoutTests/inspector/timeline-event-dispatch-expected.txt b/LayoutTests/inspector/timeline-event-dispatch-expected.txt
new file mode 100644
index 0000000..a528113
--- /dev/null
+++ b/LayoutTests/inspector/timeline-event-dispatch-expected.txt
@@ -0,0 +1,12 @@
+Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
+
+Test Mouse Target
+EventDispatch Properties:
++ startTime : * DEFINED *
++ data : {
++- type : mousedown
++ }
++ children : * DEFINED *
++ endTime : * DEFINED *
++ type : 0
+
diff --git a/LayoutTests/inspector/timeline-event-dispatch.html b/LayoutTests/inspector/timeline-event-dispatch.html
new file mode 100644
index 0000000..ee32a54
--- /dev/null
+++ b/LayoutTests/inspector/timeline-event-dispatch.html
@@ -0,0 +1,44 @@
+<html>
+<head>
+<script src="inspector-test.js"></script>
+<script src="timeline-test.js"></script>
+<script>
+
+function handleMouseDown(event)
+{
+ console.markTimeline("Handling mousedown");
+}
+
+function doit()
+{
+ if (window.layoutTestController)
+ layoutTestController.setTimelineProfilingEnabled(true);
+
+ var target = document.getElementById("testTarget");
+ target.addEventListener("mousedown", handleMouseDown, true);
+
+ // Simulate the mouse down over the target to trigger an EventDispatch
+ if (window.eventSender) {
+ window.eventSender.mouseMoveTo(200, 300);
+ window.eventSender.mouseDown();
+ }
+
+ setTimeout(function() {
+ printTimelineRecords(null, "EventDispatch");
+ }, 0);
+}
+
+</script>
+</head>
+
+<body onload="onload()">
+<p>
+Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
+</p>
+
+<div id="testTarget" style="width:400px; height:400px;">
+Test Mouse Target
+</div>
+
+</body>
+</html>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list