Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Side by Side Diff: sky/tests/dart/mirror-system.sky

Issue 1088263004: Ensure isolates have a root library so createMirrorSystem() and spawnUri() are happy. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/tests/dart/mirror-system-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 import "dart:mirrors";
3 import "dart:sky.internals" as internals;
4
5 // Regression test for the embedder not setting up the root library.
6 // Used to crash.
7
8 void main() {
9 if (currentMirrorSystem().isolate.rootLibrary == null) {
10 throw "Missing root library";
11 }
12 internals.notifyTestComplete("PASS");
13 }
14 </script>>
OLDNEW
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/tests/dart/mirror-system-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698