Created attachment 44326 [details] Patch Implement the setAllowUniversalAccessFromFileURLs method for the Qt LayoutTestController.
style-queue ran check-webkit-style on attachment 44326 [details] without any errors.
Reviewed by Adam Treat and landed in 51709
Comment on attachment 44326 [details] Patch Looks OK. I'm surprised that: + m_drt->webPage()->settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, enabled); uses a different way to get to settings than: m_topLoadingFrame->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
Sigh. Please clear the r? when landing. :) bugzilla-tool land-attachment 44326 [details] will do that for you in case you need it...
(In reply to comment #3) > (From update of attachment 44326 [details]) > Looks OK. I'm surprised that: > + > m_drt->webPage()->settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, > enabled); > > uses a different way to get to settings than: > > m_topLoadingFrame->page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, > true); It is a bit inconsistent in the file, I will have a look at cleaning it up later.