Summary: | [Cocoa] Web Automation: provide a way to ask clients the type of a JavaScript dialog | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | BJ Burg <bburg> | ||||||||
Component: | WebDriver | Assignee: | BJ Burg <bburg> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, bburg, cgarcia, commit-queue, jlewis3, joepeck, mitz, thorton, webkit-bug-importer, wenson_hsieh | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
BJ Burg
2018-02-09 15:44:12 PST
Created attachment 333540 [details]
Proposed Fix
Comment on attachment 333540 [details]
Proposed Fix
This looks good to me, r=me because patch is trivial, but maybe an Apple reviewer should check the new Cocoa API.
Comment on attachment 333540 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=333540&action=review wk2r=me > Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h:64 > +- (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogOnPage:(WKPageRef)page; These should still have availability macros, no? Comment on attachment 333540 [details] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=333540&action=review >> Source/WebKit/UIProcess/API/Cocoa/_WKAutomationSessionDelegate.h:64 >> +- (_WKAutomationSessionJavaScriptDialogType)_automationSession:(_WKAutomationSession *)automationSession typeOfCurrentJavaScriptDialogOnPage:(WKPageRef)page; > > These should still have availability macros, no? Hmm, yes. They shall match the availability of the related WKWebView delegate method above. Created attachment 334402 [details]
For landing
Comment on attachment 334402 [details] For landing Clearing flags on attachment: 334402 Committed r228902: <https://trac.webkit.org/changeset/228902> All reviewed patches have been landed. Closing bug. Reverted r228902 for reason: This broke internal builds. Committed r228920: <https://trac.webkit.org/changeset/228920> Created attachment 334773 [details]
Fix internal build
Comment on attachment 334773 [details] Fix internal build Clearing flags on attachment: 334773 Committed r229117: <https://trac.webkit.org/changeset/229117> All reviewed patches have been landed. Closing bug. |