Changeset 202740 in webkit
- Timestamp:
- Jul 1, 2016 10:00:48 AM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202733 r202740 1 2016-07-01 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Cleanup inspector/console/console-message.html 4 https://bugs.webkit.org/show_bug.cgi?id=159324 5 6 Reviewed by Brian Burg. 7 8 * inspector/console/console-message.html: 9 1 10 2016-07-01 Frederic Wang <fwang@igalia.com> 2 11 -
trunk/LayoutTests/inspector/console/console-message-expected.txt
r188142 r202740 4 4 CONSOLE MESSAGE: line 1: error 5 5 CONSOLE MESSAGE: line 1: debug 6 Tests that console.log and related APIs cause Console.messageAdded events to be generated with correct source, type, level, and parameter types. 6 Tests that console.log and related APIs cause Console.messageAdded events to be generated with correct source, type, level, and parameter types. 7 7 8 8 9 == Running test suite: Console.MessagesFromCommandLineAPI -
trunk/LayoutTests/inspector/console/console-message.html
r188598 r202740 1 <! doctypehtml>1 <!DOCTYPE html> 2 2 <html> 3 3 <head> … … 5 5 <script src="../../http/tests/inspector/resources/console-test.js"></script> 6 6 <script> 7 function generateSimpleConsoleMessages()8 {9 console.log("log");10 console.info("info");11 console.warn("warn");12 console.error("error");13 console.debug("debug");14 }15 16 7 function test() 17 8 { 18 19 var suite = ProtocolTest.createAsyncSuite("Console.MessagesFromCommandLineAPI"); 9 let suite = ProtocolTest.createAsyncSuite("Console.MessagesFromCommandLineAPI"); 20 10 21 11 ProtocolTest.Console.addTestCase(suite, { … … 79 69 }); 80 70 81 InspectorProtocol.awaitCommand({ 82 method: "Console.enable", 83 params: {} 84 }) 85 .then(function() { 86 suite.runTestCasesAndFinish(); 87 }) 88 .catch(fatalError); 71 InspectorProtocol.awaitCommand({method: "Console.enable", params: {}}) 72 .then(() => { suite.runTestCasesAndFinish(); }) 73 .catch(fatalError); 89 74 90 75 function fatalError(e) { … … 96 81 </head> 97 82 <body onload="runTest()"> 98 <p> 99 Tests that <code>console.log</code> and related APIs cause <code>Console.messageAdded</code> events to be generated with correct source, type, level, and parameter types. 100 <br> 101 </p> 83 <p>Tests that <code>console.log</code> and related APIs cause <code>Console.messageAdded</code> events to be generated with correct source, type, level, and parameter types.</p> 102 84 </body> 103 85 </html>
Note: See TracChangeset
for help on using the changeset viewer.