Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13
-
None
-
-
29589c46b00df37d508dc1af0aa9c74a1d0bf056 (qt/qtwebengine/dev)
Description
Steps to reproduce:
- Start simplebrowser
- Open any page in the first tab
- Open a new tab
- Load pdf into the new tab
Expected Result:
PDF Viewer shows the pdf.
Actual Result:
PDF Viewer doesn't show anything (gray background). Errors in console:
js: Not allowed to load local resource: chrome://resources/css/text_defaults_md.css js: Not allowed to load local resource: chrome://resources/html/polymer.html js: Not allowed to load local resource: chrome://resources/cr_elements/cr_dialog/cr_dialog.html js: Not allowed to load local resource: chrome://resources/cr_elements/hidden_style_css.html js: Not allowed to load local resource: chrome://resources/cr_elements/paper_button_style_css.html js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-button/paper-button.html js: Not allowed to load local resource: chrome://resources/html/assert.html js: Not allowed to load local resource: chrome://resources/html/util.html js: Not allowed to load local resource: chrome://resources/cr_elements/cr_input/cr_input.html js: Not allowed to load local resource: chrome://resources/cr_elements/shared_style_css.html js: Not allowed to load local resource: chrome://resources/cr_elements/shared_vars_css.html js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-progress/paper-progress.html js: Not allowed to load local resource: chrome://resources/cr_elements/icons.html js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-styles/color.html js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Not allowed to load local resource: chrome://resources/polymer/v1_0/iron-iconset-svg/iron-iconset-svg.html js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-fab/paper-fab.html js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Not allowed to load local resource: chrome://resources/polymer/v1_0/paper-ripple/paper-ripple.html js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Uncaught ReferenceError: Polymer is not defined js: Not allowed to load local resource: chrome://resources/js/assert.js js: Not allowed to load local resource: chrome://resources/js/load_time_data.js js: Not allowed to load local resource: chrome://resources/js/util.js js: Not allowed to load local resource: chrome://resources/js/promise_resolver.js js: Uncaught (in promise) ReferenceError: PromiseResolver is not defined
After loading a pdf into the first tab, the pdf viewer starts to work in other tabs too.
Attachments
Issue Links
- relates to
-
QTBUG-50556 Add PDFium based PDF viewer to WebEngine
- Closed
For Gerrit Dashboard: QTBUG-75127 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258923,2 | Whitelist pdf viewer extension to access chrome resources | 5.13 | qt/qtwebengine | Status: MERGED | +2 | 0 |