Changeset 203507 in webkit
- Timestamp:
- Jul 21, 2016, 9:59:33 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Automation/Automation.json (modified) (1 diff)
-
WebProcess/Automation/WebAutomationSessionProxy.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r203504 r203507 1 2016-07-21 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Automation: Allow JavaScript evaluation to return an InvalidElementState error 4 https://bugs.webkit.org/show_bug.cgi?id=160015 5 <rdar://problem/27434529> 6 7 Reviewed by Brian Burg. 8 9 * UIProcess/Automation/Automation.json: 10 * WebProcess/Automation/WebAutomationSessionProxy.cpp: 11 (WebKit::WebAutomationSessionProxy::evaluateJavaScriptFunction): 12 1 13 2016-07-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebKit2/UIProcess/Automation/Automation.json
r202351 r203507 54 54 "FrameNotFound", 55 55 "NodeNotFound", 56 "InvalidElementState", 56 57 "NoJavaScriptDialog", 57 58 "NotImplemented", -
trunk/Source/WebKit2/WebProcess/Automation/WebAutomationSessionProxy.cpp
r203316 r203507 272 272 if (exceptionName->string() == "NodeNotFound") 273 273 errorType = Inspector::Protocol::AutomationHelpers::getEnumConstantValue(Inspector::Protocol::Automation::ErrorMessage::NodeNotFound); 274 else if (exceptionName->string() == "InvalidElementState") 275 errorType = Inspector::Protocol::AutomationHelpers::getEnumConstantValue(Inspector::Protocol::Automation::ErrorMessage::InvalidElementState); 274 276 275 277 JSValueRef messageValue = JSObjectGetProperty(context, const_cast<JSObjectRef>(exception), toJSString(ASCIILiteral("message")).get(), nullptr);
Note:
See TracChangeset
for help on using the changeset viewer.