| <script> | |
| import "dart:mirrors"; | |
| import "dart:sky.internals" as internals; | |
| // Regression test for the embedder not setting up the root library. | |
| // Used to crash. | |
| void main() { | |
| if (currentMirrorSystem().isolate.rootLibrary == null) { | |
| throw "Missing root library"; | |
| } | |
| internals.notifyTestComplete("PASS"); | |
| } | |
| </script>> |