Changeset 202740 in webkit


Ignore:
Timestamp:
Jul 1, 2016 10:00:48 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Cleanup inspector/console/console-message.html
https://bugs.webkit.org/show_bug.cgi?id=159324

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-07-01
Reviewed by Brian Burg.

  • inspector/console/console-message.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202733 r202740  
     12016-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
    1102016-07-01  Frederic Wang  <fwang@igalia.com>
    211
  • trunk/LayoutTests/inspector/console/console-message-expected.txt

    r188142 r202740  
    44CONSOLE MESSAGE: line 1: error
    55CONSOLE 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.
     6Tests that console.log and related APIs cause Console.messageAdded events to be generated with correct source, type, level, and parameter types.
     7
    78
    89== Running test suite: Console.MessagesFromCommandLineAPI
  • trunk/LayoutTests/inspector/console/console-message.html

    r188598 r202740  
    1 <!doctype html>
     1<!DOCTYPE html>
    22<html>
    33<head>
     
    55<script src="../../http/tests/inspector/resources/console-test.js"></script>
    66<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 
    167function test()
    178{
    18 
    19     var suite = ProtocolTest.createAsyncSuite("Console.MessagesFromCommandLineAPI");
     9    let suite = ProtocolTest.createAsyncSuite("Console.MessagesFromCommandLineAPI");
    2010
    2111    ProtocolTest.Console.addTestCase(suite, {
     
    7969    });
    8070
    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);
    8974
    9075    function fatalError(e) {
     
    9681</head>
    9782<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>
    10284</body>
    10385</html>
Note: See TracChangeset for help on using the changeset viewer.