mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
a7dc138e90
To debug Karma tests, you can load debug.html in a browser. However, this context has no back-channel to Karma and tries to load scripts by direct insertion into the document. For compatibility, we need to have Closure inject scripts with the same methodology, to avoid having scripts load in the wrong order. We also have to define the dump() method that Karma would normally inject into the testing context.