| Index: chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| diff --git a/chrome/browser/resources/gaia_auth_host/saml_handler.js b/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| index 9b6ceb94c001034cff1594c0687406de6c1657c9..70486c7e06457057d120cda06897182f992da68a 100644
|
| --- a/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| +++ b/chrome/browser/resources/gaia_auth_host/saml_handler.js
|
| @@ -147,6 +147,14 @@ cr.define('cr.login', function() {
|
| 'loadabort', this.onLoadAbort_.bind(this));
|
| this.webview_.addEventListener(
|
| 'loadcommit', this.onLoadCommit_.bind(this));
|
| + this.webview_.addEventListener(
|
| + 'permissionrequest', function(e) {
|
| + if (e.permission === 'media') {
|
| + // The actual permission check happens in
|
| + // WebUILoginView::RequestMediaAccessPermission().
|
| + e.request.allow();
|
| + }
|
| + });
|
|
|
| this.webview_.request.onBeforeRequest.addListener(
|
| this.onInsecureRequest.bind(this),
|
|
|