Changeset 244230 in webkit
- Timestamp:
- Apr 12, 2019 1:46:55 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244228 r244230 1 2019-04-12 Devin Rousso <drousso@apple.com> 2 3 WebDriver: evaluating javascript shouldn't fail if a dialog is shown 4 https://bugs.webkit.org/show_bug.cgi?id=196847 5 <rdar://problem/49609396> 6 7 Reviewed by Brian Burg. 8 9 * UIProcess/Automation/WebAutomationSession.cpp: 10 (WebKit::WebAutomationSession::willShowJavaScriptDialog): 11 1 12 2019-04-12 Ross Kirsling <ross.kirsling@sony.com> 2 13 -
trunk/Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
r244033 r244230 653 653 654 654 if (!m_evaluateJavaScriptFunctionCallbacks.isEmpty()) { 655 Inspector::ErrorString unexpectedAlertOpenError = STRING_FOR_PREDEFINED_ERROR_NAME(UnexpectedAlertOpen);656 655 for (auto key : copyToVector(m_evaluateJavaScriptFunctionCallbacks.keys())) { 657 656 auto callback = m_evaluateJavaScriptFunctionCallbacks.take(key); 658 callback->send Failure(unexpectedAlertOpenError);657 callback->sendSuccess(emptyString()); 659 658 } 660 659 }
Note: See TracChangeset
for help on using the changeset viewer.