| Index: ios/web/web_state/js/resources/core.js
|
| diff --git a/ios/web/web_state/js/resources/core.js b/ios/web/web_state/js/resources/core.js
|
| deleted file mode 100644
|
| index f5ba77f2bb7ca4b2713256cb4e9f87ca265f232b..0000000000000000000000000000000000000000
|
| --- a/ios/web/web_state/js/resources/core.js
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// Copyright 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -// This file adheres to closure-compiler conventions in order to enable
|
| -// compilation with ADVANCED_OPTIMIZATIONS. In particular, members that are to
|
| -// be accessed externally should be specified in this['style'] as opposed to
|
| -// this.style because member identifiers are minified by default.
|
| -// See http://goo.gl/FwOgy
|
| -
|
| -goog.provide('__crWeb.core');
|
| -
|
| -goog.require('__crWeb.common');
|
| -goog.require('__crWeb.message');
|
| -
|
| -/* Beginning of anonymous object. */
|
| -(function() {
|
| - __gCrWeb['core'] = {};
|
| -
|
| - // JavaScript errors are logged on the main application side. The handler is
|
| - // added ASAP to catch any errors in startup. Note this does not appear to
|
| - // work in iOS < 5.
|
| - window.addEventListener('error', function(event) {
|
| - // Sadly, event.filename and event.lineno are always 'undefined' and '0'
|
| - // with UIWebView.
|
| - __gCrWeb.message.invokeOnHost(
|
| - {'command': 'window.error', 'message': event.message.toString()});
|
| - });
|
| -
|
| - // Flush the message queue.
|
| - if (__gCrWeb.message) {
|
| - __gCrWeb.message.invokeQueues();
|
| - }
|
| -
|
| -}()); // End of anonymous object
|
|
|