Title: [112969] trunk/LayoutTests
- Revision
- 112969
- Author
- dch...@chromium.org
- Date
- 2012-04-02 17:25:34 -0700 (Mon, 02 Apr 2012)
Log Message
fast/events/drop-handler-should-not-stop-navigate.html fails on Lion
https://bugs.webkit.org/show_bug.cgi?id=82984
Reviewed by Enrica Casucci.
* fast/events/drop-handler-should-not-stop-navigate.html:
* platform/mac/Skipped:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (112968 => 112969)
--- trunk/LayoutTests/ChangeLog 2012-04-03 00:24:28 UTC (rev 112968)
+++ trunk/LayoutTests/ChangeLog 2012-04-03 00:25:34 UTC (rev 112969)
@@ -1,3 +1,13 @@
+2012-04-02 Daniel Cheng <dch...@chromium.org>
+
+ fast/events/drop-handler-should-not-stop-navigate.html fails on Lion
+ https://bugs.webkit.org/show_bug.cgi?id=82984
+
+ Reviewed by Enrica Casucci.
+
+ * fast/events/drop-handler-should-not-stop-navigate.html:
+ * platform/mac/Skipped:
+
2012-04-02 Tony Chang <t...@chromium.org>
add css parsing of -webkit-flex
Modified: trunk/LayoutTests/fast/events/drop-handler-should-not-stop-navigate.html (112968 => 112969)
--- trunk/LayoutTests/fast/events/drop-handler-should-not-stop-navigate.html 2012-04-03 00:24:28 UTC (rev 112968)
+++ trunk/LayoutTests/fast/events/drop-handler-should-not-stop-navigate.html 2012-04-03 00:25:34 UTC (rev 112969)
@@ -11,8 +11,6 @@
document.body.appendChild(document.createElement('br'));
document.body.appendChild(document.createElement('div').appendChild(document.createTextNode(text)));
}
-if (!window.layoutTestController)
- return;
window.addEventListener('beforeunload', function ()
{
log('PASS');
@@ -32,14 +30,19 @@
{
log('Not preventing default event on drop.');
});
-layoutTestController.dumpAsText();
-layoutTestController.waitUntilDone();
-log('Starting test');
-eventSender.beginDragWithFiles(['DRTFakeFile']);
-eventSender.mouseMoveTo(document.body.offsetLeft + 10, document.body.offsetTop + 10);
-eventSender.mouseUp();
-log('FAIL');
-layoutTestController.notifyDone();
+(function ()
+{
+ if (!window.layoutTestController)
+ return;
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+ log('Starting test');
+ eventSender.beginDragWithFiles(['DRTFakeFile']);
+ eventSender.mouseMoveTo(document.body.offsetLeft + 10, document.body.offsetTop + 10);
+ eventSender.mouseUp();
+ log('FAIL');
+ layoutTestController.notifyDone();
+})();
</script>
</body>
</html>
Modified: trunk/LayoutTests/platform/mac/Skipped (112968 => 112969)
--- trunk/LayoutTests/platform/mac/Skipped 2012-04-03 00:24:28 UTC (rev 112968)
+++ trunk/LayoutTests/platform/mac/Skipped 2012-04-03 00:25:34 UTC (rev 112969)
@@ -768,6 +768,3 @@
# https://bugs.webkit.org/show_bug.cgi?id=82982
fast/dom/jsDevicePixelRatio.html
-
-# https://bugs.webkit.org/show_bug.cgi?id=82984
-fast/events/drop-handler-should-not-stop-navigate.html
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes