https://www.w3.org/TR/webdriver/#user-prompts
Created attachment 317406 [details] Patch
Attachment 317406 [details] did not pass style-queue: ERROR: Source/WebDriver/Session.h:97: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:98: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:99: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.h:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:1236: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:1253: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:1270: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.cpp:1287: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.h:104: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.h:105: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.h:106: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/WebDriverService.h:107: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:1466: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:1484: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:1502: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebDriver/Session.cpp:1525: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 16 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 317406 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=317406&action=review r=me > Source/WebDriver/Session.cpp:1525 > +void Session::sendAlertText(const String& text, Function<void (CommandResult&&)>&& completionHandler) Nit: 'setAlertText' would match 'getAlertText'
(In reply to Brian Burg from comment #3) > Comment on attachment 317406 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=317406&action=review > > r=me Thanks! > > Source/WebDriver/Session.cpp:1525 > > +void Session::sendAlertText(const String& text, Function<void (CommandResult&&)>&& completionHandler) > > Nit: 'setAlertText' would match 'getAlertText' I agree, but I'm using the spec names in all other commands. . .
Committed r220386: <http://trac.webkit.org/changeset/220386>
<rdar://problem/33770045>