Title: [92790] trunk/LayoutTests
Revision
92790
Author
[email protected]
Date
2011-08-10 12:57:00 -0700 (Wed, 10 Aug 2011)

Log Message

[Chromium] plugins/mouse-events-fixedpos.html should pass on win/mac/linux
https://bugs.webkit.org/show_bug.cgi?id=65841

Patch by Noel Gordon <[email protected]> on 2011-08-10
Reviewed by Tony Chang.

Add attribute windowPlugin="false" to the <embed> in this test to force the Chromium
Windows and Linux ports to load the test plugin in windowless mode.  The plugin will
then receive events and can log them to the console as required by this test.

Also note, the Apple Mac/Win ports report 0 as the line number for all console.log()
messages, whereas, the Chromium ports report the actual line numbers, hence the need
for separate test results for Chromium.

* platform/chromium-linux/plugins/mouse-events-fixedpos-expected.txt:
* platform/chromium-mac/plugins/mouse-events-fixedpos-expected.txt:
* platform/chromium-win/plugins/mouse-events-fixedpos-expected.txt:
* platform/chromium/test_expectations.txt:  New expectations.
* plugins/mouse-events-fixedpos.html:  Add <embed> attribute windowPlugin="false".

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (92789 => 92790)


--- trunk/LayoutTests/ChangeLog	2011-08-10 19:53:50 UTC (rev 92789)
+++ trunk/LayoutTests/ChangeLog	2011-08-10 19:57:00 UTC (rev 92790)
@@ -1,3 +1,24 @@
+2011-08-10  Noel Gordon  <[email protected]>
+
+        [Chromium] plugins/mouse-events-fixedpos.html should pass on win/mac/linux
+        https://bugs.webkit.org/show_bug.cgi?id=65841
+
+        Reviewed by Tony Chang.
+
+        Add attribute windowPlugin="false" to the <embed> in this test to force the Chromium
+        Windows and Linux ports to load the test plugin in windowless mode.  The plugin will
+        then receive events and can log them to the console as required by this test.
+
+        Also note, the Apple Mac/Win ports report 0 as the line number for all console.log()
+        messages, whereas, the Chromium ports report the actual line numbers, hence the need
+        for separate test results for Chromium.
+
+        * platform/chromium-linux/plugins/mouse-events-fixedpos-expected.txt:
+        * platform/chromium-mac/plugins/mouse-events-fixedpos-expected.txt:
+        * platform/chromium-win/plugins/mouse-events-fixedpos-expected.txt:
+        * platform/chromium/test_expectations.txt:  New expectations.
+        * plugins/mouse-events-fixedpos.html:  Add <embed> attribute windowPlugin="false".
+
 2011-08-10  Kenichi Ishibashi  <[email protected]>
 
         [Chromium] Implement text shaping with font-feature-settings on Linux

Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (92789 => 92790)


--- trunk/LayoutTests/platform/chromium/test_expectations.txt	2011-08-10 19:53:50 UTC (rev 92789)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt	2011-08-10 19:57:00 UTC (rev 92790)
@@ -739,7 +739,6 @@
 // Need to implement NPP_HandleEvent in the layout_test_plugin
 // WIN started failing during webkit roll 62670 -> 62844.
 BUGCR38353 LINUX MAC : plugins/keyboard-events.html = TEXT
-BUGCR32864 : plugins/mouse-events-fixedpos.html = TEXT
 // Object.keys on an NPObject produces the wrong output.
 BUGCR21901 : plugins/npruntime/enumerate.html = TEXT
 BUGCR50787 : plugins/npruntime/plugin-scriptable-object-invoke-default.html = TEXT

Added: trunk/LayoutTests/platform/chromium-linux/plugins/mouse-events-fixedpos-expected.txt (0 => 92790)


--- trunk/LayoutTests/platform/chromium-linux/plugins/mouse-events-fixedpos-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/plugins/mouse-events-fixedpos-expected.txt	2011-08-10 19:57:00 UTC (rev 92790)
@@ -0,0 +1,7 @@
+CONSOLE MESSAGE: line 39: PLUGIN: getFocusEvent
+CONSOLE MESSAGE: line 39: PLUGIN: mouseDown at (50, 50)
+CONSOLE MESSAGE: line 40: PLUGIN: mouseUp at (50, 50)
+CONSOLE MESSAGE: line 42: PLUGIN: mouseDown at (60, 60)
+CONSOLE MESSAGE: line 44: PLUGIN: mouseUp at (70, 60)
+
+Tests for widget positions being correctly updated after scrolling. rdar://problem/7559069

Added: trunk/LayoutTests/platform/chromium-mac/plugins/mouse-events-fixedpos-expected.txt (0 => 92790)


--- trunk/LayoutTests/platform/chromium-mac/plugins/mouse-events-fixedpos-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-mac/plugins/mouse-events-fixedpos-expected.txt	2011-08-10 19:57:00 UTC (rev 92790)
@@ -0,0 +1,7 @@
+CONSOLE MESSAGE: line 39: PLUGIN: getFocusEvent
+CONSOLE MESSAGE: line 39: PLUGIN: mouseDown at (50, 50)
+CONSOLE MESSAGE: line 40: PLUGIN: mouseUp at (50, 50)
+CONSOLE MESSAGE: line 42: PLUGIN: mouseDown at (60, 60)
+CONSOLE MESSAGE: line 44: PLUGIN: mouseUp at (70, 60)
+
+Tests for widget positions being correctly updated after scrolling. rdar://problem/7559069

Added: trunk/LayoutTests/platform/chromium-win/plugins/mouse-events-fixedpos-expected.txt (0 => 92790)


--- trunk/LayoutTests/platform/chromium-win/plugins/mouse-events-fixedpos-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-win/plugins/mouse-events-fixedpos-expected.txt	2011-08-10 19:57:00 UTC (rev 92790)
@@ -0,0 +1,7 @@
+CONSOLE MESSAGE: line 39: PLUGIN: getFocusEvent
+CONSOLE MESSAGE: line 39: PLUGIN: mouseDown at (90, 90)
+CONSOLE MESSAGE: line 40: PLUGIN: mouseUp at (90, 90)
+CONSOLE MESSAGE: line 42: PLUGIN: mouseDown at (100, 100)
+CONSOLE MESSAGE: line 44: PLUGIN: mouseUp at (110, 100)
+
+Tests for widget positions being correctly updated after scrolling. rdar://problem/7559069

Modified: trunk/LayoutTests/plugins/mouse-events-fixedpos.html (92789 => 92790)


--- trunk/LayoutTests/plugins/mouse-events-fixedpos.html	2011-08-10 19:53:50 UTC (rev 92789)
+++ trunk/LayoutTests/plugins/mouse-events-fixedpos.html	2011-08-10 19:57:00 UTC (rev 92790)
@@ -51,7 +51,7 @@
 </script>
 <body>
   <div class="fixed">
-    <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
+    <embed name="plg" type="application/x-webkit-test-netscape" windowedPlugin="false" width=100 height=100></embed>
   </div>
 
 <p>Tests for widget positions being correctly updated after scrolling. <a href=""
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to