| Index: components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| diff --git a/components/security_interstitials/core/browser/resources/interstitial_v2.js b/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| index d4359be4f8133619ccb274d1b0545e3a5a44e453..e46279d279ea39742643b81fa360ec1c5e1572dd 100644
|
| --- a/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| +++ b/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| @@ -32,17 +32,17 @@ var CMD_REPORT_PHISHING_ERROR = 12;
|
| * @param {string} cmd The command to send.
|
| */
|
| function sendCommand(cmd) {
|
| -<if expr="not is_ios">
|
| +// <if expr="not is_ios">
|
| window.domAutomationController.setAutomationId(1);
|
| window.domAutomationController.send(cmd);
|
| -</if>
|
| -<if expr="is_ios">
|
| +// </if>
|
| +// <if expr="is_ios">
|
| // TODO(crbug.com/565877): Revisit message passing for WKWebView.
|
| var iframe = document.createElement('IFRAME');
|
| iframe.setAttribute('src', 'js-command:' + cmd);
|
| document.documentElement.appendChild(iframe);
|
| iframe.parentNode.removeChild(iframe);
|
| -</if>
|
| +// </if>
|
| }
|
|
|
| /**
|
|
|