sergey-safarov opened a new issue #1049: Google Chrome console error, cannot 
view attachments
URL: https://github.com/apache/couchdb-fauxton/issues/1049
 
 
   ## Expected Behavior
   I want to view and download document attachments.
   
   ## Current Behavior
   I cannot view attachments.
   When document is loaded (with or without attachments) i see console errors 
as on screenshot. 
   
   ## Possible Solution
   not known
   
   ## Steps to Reproduce (for bugs)
   1. open developer console
   2. open document with attachment
   3. list and download attachments
   
   ## Context
   Database maintenance operations.
   
   ## Your Environment
   * Version used: 2.1.1 installed from [CentOS 7 
repo](http://apache.bintray.com/couchdb-rpm/el7/x86_64/)
   * Browser Name and version: Google Chrome Version 63.0.3239.132 (Official 
Build) (64-bit)
   * Operating System and version (desktop or mobile): MacOS Sierra 10.13.1
   * Link to your project: none
   
   Browser console errors:
   ```
   Refused to create a worker from 
'blob:http://217.12.247.99:5984/8b88e74a-0420-4b9a-8f0e-93ec71c30678' because 
it violates the following Content Security Policy directive: "script-src 'self' 
'unsafe-eval'". Note that 'worker-src' was not explicitly set, so 'script-src' 
is used as a fallback.
   Refused to create a worker from 
'blob:http://217.12.247.99:5984/73cbf653-125b-4307-9bd9-db8319fbb6ca' because 
it violates the following Content Security Policy directive: "script-src 'self' 
'unsafe-eval'". Note that 'worker-src' was not explicitly set, so 'script-src' 
is used as a fallback.
   vendor.884175873da25bb4e526.js:40 Could not load worker DOMException: Failed 
to construct 'Worker': Access to the script at 
'blob:http://217.12.247.99:5984/73cbf653-125b-4307-9bd9-db8319fbb6ca' is denied 
by the document's Content Security Policy.
       at new l 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:40:380172)
       at h.createWorker 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:40:432335)
       at f.$startWorker 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:40:235407)
       at f.$onChangeMode 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:40:234646)
       at f.setMode 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:40:234168)
       at t.a.setupAce 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/bundle.25bdeac6d2ce92b30461.js:1:90114)
       at t.value 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/bundle.25bdeac6d2ce92b30461.js:1:94365)
       at e.notifyAll 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:57:93883)
       at r.close 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:80:266325)
       at r.closeAll 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:76312)
       at r.perform 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:75807)
       at i.perform 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:75724)
       at i.perform 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:23594)
       at Object.k [as flushBatchedUpdates] 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:23763)
       at r.closeAll 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:76312)
       at r.perform 
(http://217.12.247.99:5984/_utils/dashboard.assets/js/vendor.884175873da25bb4e526.js:16:75807)
   ```
   ![fauxton 
error](https://user-images.githubusercontent.com/2562241/35374656-eb20cd68-01b4-11e8-8020-b4b7f9c59970.png)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to