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

Unified Diff: tests/isolate/browser/ports_compilation_browser_test.dart

Issue 56153005: Remove SendPortSync and ReceivePortSync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove third_party/pkg/js and dom/Serialization.dart Created 7 years, 1 month 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 | « tests/html/js_interop_4_test.dart ('k') | third_party/pkg/js/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/browser/ports_compilation_browser_test.dart
diff --git a/tests/isolate/browser/ports_compilation_browser_test.dart b/tests/isolate/browser/ports_compilation_browser_test.dart
deleted file mode 100644
index 5eb76d78b4857f93c8b162f2da8d73e3af3f55d0..0000000000000000000000000000000000000000
--- a/tests/isolate/browser/ports_compilation_browser_test.dart
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// Regression test for dart2js that used to crash when compiling
-// [foo]. See http://code.google.com/p/dart/issues/detail?id=7448.
-
-library ports_compilation;
-import 'dart:html';
-import 'dart:isolate';
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
-
-void foo() {
- // Create a "SendPortSync" object and access one of its members.
- SendPortSync s_port;
- s_port.callSync;
-
- // Create a "ReceivePortSync" object (with the constructor) and
- // access one of its members.
- var r_port = new ReceivePortSync();
- r_port.receive;
-
- // Call getComputedStyle() from the HTML library.
- query("").getComputedStyle("");
-}
-
-int inscrutable(int x) => x == 0 ? 0 : x | inscrutable(x & (x - 1));
-
-void main() {
- // Generate the call, but don't execute it.
- if (inscrutable(1) != 1) foo();
- useHtmlConfiguration();
- bar();
- // Also generate it here in case the compiler's worklist goes from
- // last seen to first seen.
- if (inscrutable(1) != 1) foo();
-}
-
-bar() {
- test('compile', () { });
-}
« no previous file with comments | « tests/html/js_interop_4_test.dart ('k') | third_party/pkg/js/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698