[Webkit-unassigned] [Bug 136663] New: check-webkit-style things @try and @catch are function definitions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 20:26:59 PDT 2014


           Summary: check-webkit-style things @try and @catch are function
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dfarler at apple.com

ERROR: Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m:97:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
ERROR: Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m:97:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 2 in 5 files

    @try {
        NSData *data = [fileHandle availableData];
        uint8_t bytes[[data length]];
        [data getBytes:bytes length:[data length]];
        [[[self relay] outputStream] write:[data bytes] maxLength:[data length]];
    } @catch (NSException *e) {
        // Broken pipe - the dump tool crashed. Time to die.
        [self didCrashWithMessage:nil];

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list