Changeset 155646 in webkit
- Timestamp:
- Sep 12, 2013 1:42:44 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r155624 r155646 1 2013-09-12 Alexey Proskuryakov <ap@apple.com> 2 3 Flaky Test: plugins/mouse-events.html 4 https://bugs.webkit.org/show_bug.cgi?id=116665 5 6 Reviewed by Anders Carlsson. 7 8 * plugins/mouse-events-expected.txt: 9 * plugins/mouse-events.html: 10 This test used async calls for events, and then usually logged responses while waiting 11 for a plg.eventLoggingEnabled setter synchronously. Depending on sync/async event 12 order is not reliable, especially with old WebKit1 plug-in IPC code. 13 14 * platform/mac-wk2/plugins/mouse-events-expected.txt: For some unclear reason, 15 focus works differently in WebKit2. 16 17 * platform/gtk/plugins/mouse-events-expected.txt: Removed. 18 * platform/qt/plugins/mouse-events-expected.txt: Removed. 19 * platform/win/plugins/mouse-events-expected.txt: Removed. 20 These results looked similar to new cross-platform ones, hopefully custom results 21 won't be needed any more. 22 1 23 2013-09-12 Gurpreet Kaur <k.gurpreet@samsung.com> 2 24 -
trunk/LayoutTests/platform/mac-wk2/plugins/mouse-events-expected.txt
r111045 r155646 1 CONSOLE MESSAGE: PLUGIN: mouseDown at (12, 12)2 CONSOLE MESSAGE: PLUGIN: mouseUp at (12, 12)3 CONSOLE MESSAGE: PLUGIN: mouseDown at (22, 22)4 CONSOLE MESSAGE: PLUGIN: mouseUp at (32, 22)5 1 6 2 Test for bug 11517: Flash clicks/interactivity not working properly. 3 4 PLUGIN: mouseDown at (12, 12) 5 PLUGIN: mouseUp at (12, 12) 6 PLUGIN: mouseDown at (22, 22) 7 PLUGIN: mouseUp at (32, 22) 8 PLUGIN: getFocusEvent 9 PASS successfullyParsed is true 10 11 TEST COMPLETE 12 -
trunk/LayoutTests/plugins/mouse-events-expected.txt
r150558 r155646 1 CONSOLE MESSAGE: line 27: PLUGIN: getFocusEvent2 CONSOLE MESSAGE: line 27: PLUGIN: mouseDown at (12, 12)3 CONSOLE MESSAGE: line 27: PLUGIN: mouseUp at (12, 12)4 CONSOLE MESSAGE: line 27: PLUGIN: mouseDown at (22, 22)5 CONSOLE MESSAGE: line 27: PLUGIN: mouseUp at (32, 22)6 1 7 2 Test for bug 11517: Flash clicks/interactivity not working properly. 3 4 PLUGIN: getFocusEvent 5 PLUGIN: mouseDown at (12, 12) 6 PLUGIN: mouseUp at (12, 12) 7 PLUGIN: mouseDown at (22, 22) 8 PLUGIN: mouseUp at (32, 22) 9 PASS successfullyParsed is true 10 11 TEST COMPLETE 12 -
trunk/LayoutTests/plugins/mouse-events.html
r120417 r155646 1 1 <html> 2 <head> 3 <script src="../resources/js-test-pre.js"></script> 4 </script> 5 </head> 2 6 <body> 3 7 <embed name="plg" type="application/x-webkit-test-netscape" windowedPlugin="false" width=100 height=100></embed> 4 8 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=11517">bug 11517</a>: 5 9 Flash clicks/interactivity not working properly.</p> 10 <div id=console></div> 6 11 <script> 12 window.jsTestIsAsync = true; 7 13 8 14 plg.windowedPlugin = false; 9 15 plg.eventLoggingEnabled = true; 10 16 17 // Our test plug-in logs events through window.console. Override it with a custom 18 // implementation that counts the number of messages - due to the nature of IPC, it's 19 // difficult to predict when events get handled. 20 const expectedMessageCount = 5; 21 var messageCount = 0; 22 window.console = { 23 log: function(message) { 24 if (messageCount == expectedMessageCount) { 25 alert("Message unexpectedly leaked from preceding test, plugins/mouse-events.html: " + message); 26 return; 27 } 28 29 debug(message); 30 31 if (++messageCount == expectedMessageCount) 32 finishJSTest(); 33 } 34 }; 35 11 36 if (!window.testRunner) { 12 document.write("T his test does not work in manual mode.");37 document.write("To test manually, please install WebKit test plug-in, and verify that mouse events get logged."); 13 38 } else { 14 testRunner.dumpAsText();15 16 39 eventSender.mouseMoveTo(0,0); 17 40 eventSender.mouseMoveTo(20,20); … … 24 47 eventSender.mouseMoveTo(0,0); 25 48 } 26 27 plg.eventLoggingEnabled = false; // stop logging so our output doesn't bleed into the next test28 29 49 </script> 50 <script src="../resources/js-test-post.js"></script> 30 51 </body> 31 52 </html>
Note: See TracChangeset
for help on using the changeset viewer.