Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Some kind of RPC could be added to eliminate 'unsafe-eval' in CSP headers for faster JS execution.
The idea is the following, instead of doing `target.appendJavaScript("doSomething()")` we could do something like this `target.appendRemoteCall("doSomething", "val1", "val2")`, the JS function could be rendered by the component/behavior as inline <script> (which can be nonced).
https://github.com/apache/wicket/pull/378
Attachments
Issue Links
- is related to
-
WICKET-6682 Improve JavaScriptContentHeaderItem and JavaScriptUtils to support nonce
- Resolved
-
WICKET-6703 Eliminate window.eval from wicket-ajax-jquery
- Closed
- links to