View Issue Details

IDProjectCategoryView StatusLast Update
0002925Composrcorepublic2016-11-10 00:42
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002925: CSP breaks preview functionality
DescriptionContent Security Policy breaks previewing functionality. Console on Microsoft Edge:

CSP14309: Unknown directive 'frame-ancestors' in Content-Security-Policy - directive will be ignored.
CSP14303: Content-Security-Policy policy was empty.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2016-11-10 00:42

administrator   ~0004535

Actually issue is that Edge iframe scrolling defaults to 'auto' like IE does, and unlike other browsers, even though actually it's not even part of HTML5 anymore so invalid markup to turn it off. Our JS sees scrolling is there so doesn't try and resize the preview frame to fit it's content height. Fix is to put in scrolling="no" based on improved UA sniffing and also to resize height if it is zero even if scrolling is on..

Issue History

Date Modified Username Field Change
2016-11-09 23:34 Patrick Schmalstig New Issue
2016-11-10 00:42 Chris Graham Note Added: 0004535
2016-11-10 00:42 Chris Graham Status non-assigned => resolved
2016-11-10 00:42 Chris Graham Resolution open => fixed
2016-11-10 00:42 Chris Graham Assigned To => Chris Graham