Commit 002a81c4 authored by Trent Apted's avatar Trent Apted Committed by Commit Bot

Fix the ChromeOS video player for HTML5 imports deprecation.

Some undocumented functionality regressed in r713537 with the feature
removal.

Skip presubmit. Change has +1/OWNERS approval, but a linter complains
about changes outside the scope of this CL.

No-Presubmit: true
Bug: 1035051
Change-Id: Ie106df252fcf1784fdeffbcf1d789df5c8b7ea40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040754
Commit-Queue: Trent Apted <tapted@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#739167}
parent 30475ef5
...@@ -888,6 +888,7 @@ function initVolumeManager(callback) { ...@@ -888,6 +888,7 @@ function initVolumeManager(callback) {
const initPromise = Promise.all([ const initPromise = Promise.all([
new Promise(initStrings.wrap(null)), new Promise(initStrings.wrap(null)),
new Promise(initVolumeManager.wrap(null)), new Promise(initVolumeManager.wrap(null)),
new Promise(resolve => window.HTMLImports.whenReady(resolve)),
]); ]);
/** /**
......
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
// enhhojjnijigcajfphajepfemndkmdlo is the Dev Media Router component extension ID. // enhhojjnijigcajfphajepfemndkmdlo is the Dev Media Router component extension ID.
// pkedcjkdefgpdelpbcmbmeomcjbeemfm is the Stable Media Router component extension ID. // pkedcjkdefgpdelpbcmbmeomcjbeemfm is the Stable Media Router component extension ID.
// ljoplibgfehghmibaoaepfagnmbbfiga is the ui/file_manager/integration_tests component extension ID. // ljoplibgfehghmibaoaepfagnmbbfiga is the ui/file_manager/integration_tests component extension ID.
"content_security_policy": "default-src 'none'; script-src 'self' blob: filesystem: chrome://resources chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj chrome-extension://enhhojjnijigcajfphajepfemndkmdlo chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm chrome-extension://ljoplibgfehghmibaoaepfagnmbbfiga; style-src 'self' blob: filesystem: chrome://resources 'unsafe-inline'; img-src 'self' blob: filesystem: chrome://theme chrome://resources data: https://www.googledrive.com; media-src 'self' blob: filesystem:; object-src 'self' blob: filesystem:; font-src chrome://resources;" // connect-src for Polymer: crbug.com/1022018
"content_security_policy": "default-src 'none'; script-src 'self' blob: filesystem: chrome://resources chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj chrome-extension://enhhojjnijigcajfphajepfemndkmdlo chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm chrome-extension://ljoplibgfehghmibaoaepfagnmbbfiga; style-src 'self' blob: filesystem: chrome://resources 'unsafe-inline'; img-src 'self' blob: filesystem: chrome://theme chrome://resources data: https://www.googledrive.com; media-src 'self' blob: filesystem:; object-src 'self' blob: filesystem:; font-src chrome://resources; connect-src chrome://resources;"
} }
} }
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<html> <html>
<head> <head>
<title>#xFEFF;</title> <title>#xFEFF;</title>
<script src="chrome://resources/polymer/v1_0/html-imports/html-imports.min.js"></script>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" type="text/css" href="css/media_controls.css"> <link rel="stylesheet" type="text/css" href="css/media_controls.css">
<link rel="stylesheet" href="chrome://resources/css/menu.css"> <link rel="stylesheet" href="chrome://resources/css/menu.css">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment