Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: ios/web/web_state/js/resources/post_request.js

Issue 2449333002: [ios] Pass more --jscomp_error switches to the closure Compiler. (Closed)
Patch Set: Added back @public Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/js/resources/message.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/resources/post_request.js
diff --git a/ios/web/web_state/js/resources/post_request.js b/ios/web/web_state/js/resources/post_request.js
index 7f5ff25168fb5eb6528ac66f7de57c6df1b194a8..65afcf490fb6377b7349d5dc34478a440202f776 100644
--- a/ios/web/web_state/js/resources/post_request.js
+++ b/ios/web/web_state/js/resources/post_request.js
@@ -76,9 +76,9 @@ __crPostRequestWorkaround.runPostRequest = function(
document.open();
try {
document.write(createAndSendPostRequest(url, headers, body, contentType));
- window.webkit.messageHandlers.POSTSuccessHandler.postMessage("");
+ window.webkit.messageHandlers['POSTSuccessHandler'].postMessage("");
} catch(error) {
- window.webkit.messageHandlers.POSTErrorHandler.postMessage(error);
+ window.webkit.messageHandlers['POSTErrorHandler'].postMessage(error);
}
document.close();
}
« no previous file with comments | « ios/web/web_state/js/resources/message.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698