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

Unified Diff: LayoutTests/dart/fib.html

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/dart/fib.dart ('k') | LayoutTests/dart/fib-app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/fib.html
diff --git a/LayoutTests/dart/fib.html b/LayoutTests/dart/fib.html
deleted file mode 100644
index aeddfc476a0d3a8c236f2cdd163ee30181f14203..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/fib.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<html>
-<body>
-
-<script type="application/dart">
-#import('dart:dom');
-
-// FIXME: Make this a unit test.
-HTMLBodyElement get body() { return document.body; }
-
-void log(String msg) {
- HTMLElement element = document.createElement('div');
- element.innerHTML = msg;
- body.appendChild(element);
-}
-
-int fib(int n) {
- if (n < 2)
- return n;
- else
- return fib(n - 1) + fib(n - 2);
-}
-
-void main() {
- if (null !== layoutTestController) {
- layoutTestController.dumpAsText();
- }
- log("fib(10) = " + fib(10));
- if (fib(10) != 55) {
- log("FAIL");
- return;
- }
- log("PASS");
-}
-</script>
-
-<script>
-// Fake script to trigger Dart execution.
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/dart/fib.dart ('k') | LayoutTests/dart/fib-app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698