Changeset 198915 in webkit
- Timestamp:
- Mar 31, 2016 2:03:52 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r198914 r198915 1 2016-03-31 Timothy Hatcher <timothy@apple.com> 2 3 Web Automation: Add support for script timeouts to the evaluateJavaScriptFunction command 4 5 https://bugs.webkit.org/show_bug.cgi?id=156052 6 rdar://problem/25457151 7 8 Address additional review comments. 9 10 * WebProcess/Automation/WebAutomationSessionProxy.js: 11 (AutomationSessionProxy.prototype.evaluateJavaScriptFunction): Add semicolons and remove 12 and clearTimeout that wasn't needed. 13 1 14 2016-03-31 Timothy Hatcher <timothy@apple.com> 2 15 -
trunk/Source/WebKit2/WebProcess/Automation/WebAutomationSessionProxy.js
r198913 r198915 51 51 let timeoutIdentifier = 0; 52 52 53 let reportResult = (result) => { clearTimeout(timeoutIdentifier); resultCallback(frameID, callbackID, this._jsonStringify(result), false); } 54 let reportTimeoutError = () => { clearTimeout(timeoutIdentifier); resultCallback(frameID, callbackID, "JavaScriptTimeout", true); }53 let reportResult = (result) => { clearTimeout(timeoutIdentifier); resultCallback(frameID, callbackID, this._jsonStringify(result), false); }; 54 let reportTimeoutError = () => { resultCallback(frameID, callbackID, "JavaScriptTimeout", true); }; 55 55 56 56 if (expectsImplicitCallbackArgument) {
Note: See TracChangeset
for help on using the changeset viewer.