Tests: $p.dyn (dynamic loader core)

This module takes initializes the dynamic loader. For testing, this page contains 5 embedded <script elements. Of these are four of type "application/json" (i.e. one should be ignored), one has a syntax error (there should be an error on the console for this) and one does not contain an "action" property (this should also be ignored).

This leaves two valid JSON snippets, the first of these will call a simple action handler that just logs the JSON to the console - the other will give an unknown action warning on the console: