gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.51k stars 373 forks source link

Fix SDM (dev_mode_on.js) to work with strong CSP #9952

Closed lgemeinhardt closed 3 months ago

lgemeinhardt commented 5 months ago

This PR converts the inline javascript call (within dev_mode_on.js in SDM) to a javascript function, to allow CSP (Content Security Policy) to avoid "unsafe-inline".

Fixes #9951