| 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
|
| index 878481a83e29cc7cfc9d3e1940370966fdbade8b..f12c61f1bd84721603e7329854aff60fe6bb767c 100644
|
| --- a/ios/web/web_state/js/resources/core.js
|
| +++ b/ios/web/web_state/js/resources/core.js
|
| @@ -41,39 +41,6 @@ goog.require('__crWeb.message');
|
| });
|
|
|
|
|
| - // Returns true if the top window or any frames inside contain an input
|
| - // field of type 'password'.
|
| - __gCrWeb['hasPasswordField'] = function() {
|
| - return hasPasswordField_(window);
|
| - };
|
| -
|
| -
|
| - // Returns true if the supplied window or any frames inside contain an input
|
| - // field of type 'password'.
|
| - // @private
|
| - var hasPasswordField_ = function(win) {
|
| - var doc = win.document;
|
| -
|
| - // We may will not be allowed to read the 'document' property from a frame
|
| - // that is in a different domain.
|
| - if (!doc) {
|
| - return false;
|
| - }
|
| -
|
| - if (doc.querySelector('input[type=password]')) {
|
| - return true;
|
| - }
|
| -
|
| - var frames = win.frames;
|
| - for (var i = 0; i < frames.length; i++) {
|
| - if (hasPasswordField_(frames[i])) {
|
| - return true;
|
| - }
|
| - }
|
| -
|
| - return false;
|
| - };
|
| -
|
| __gCrWeb['sendFaviconsToHost'] = function() {
|
| __gCrWeb.message.invokeOnHost({'command': 'document.favicons',
|
| 'favicons': __gCrWeb.common.getFavicons()});
|
|
|