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

Unified Diff: LayoutTests/fast/profiler/call-register-leak.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/profiler/call-register-leak.html
diff --git a/LayoutTests/fast/profiler/call-register-leak.html b/LayoutTests/fast/profiler/call-register-leak.html
deleted file mode 100644
index c44b943d1da5f5875b61619fb2198b1efad70a94..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/profiler/call-register-leak.html
+++ /dev/null
@@ -1,105 +0,0 @@
-<body>
-<head>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-if (window.internals)
- internals.setJavaScriptProfilingEnabled(true);
-
-function log(s)
-{
- if (this.document)
- document.getElementById("console").appendChild(document.createTextNode(s + "\n"));
- else
- print(s + "\n");
-}
-
-function shouldBe(a, aDescription, b)
-{
- if (a === b)
- log("PASS: " + aDescription + " should be " + b + " and is.\n");
- else
- log("FAIL: " + aDescription + " should be " + b + " but instead is " + a + ".\n");
-}
-
-function localCallTest(a, b)
-{
- function localCall(o)
- {
- return o.toString();
- }
- return [localCall(a), b][1];
-}
-
-function globalCall(o)
-{
- return o.toString();
-}
-
-function globalCallTest(a, b)
-{
- return [globalCall(a), b][1];
-}
-
-function scopedCallTest(a, b)
-{
- function scopedCall(o)
- {
- return o.toString();
- }
-
- function f()
- {
- return [scopedCall(a), b][1];
- }
-
- return f();
-}
-
-function resolveCallTest(a, b)
-{
- o = { resolvedCall: function(o) { return o.toString(); }};
- with (o) {
- return [resolvedCall(o), b][1];
- }
-}
-
-function bracketCallTest(a, b)
-{
- return [a["toString"](), b][1];
-}
-
-function dotCallTest(a, b)
-{
- return [a.toString(), b][1];
-}
-
-function testConstructor(o)
-{
- return o.toString();
-}
-
-function newTest(a, b)
-{
- return [new testConstructor(a), b][1];
-}
-
-function startTest()
-{
- shouldBe(localCallTest(1, 2), "localCallTest(1, 2)", 2);
- shouldBe(globalCallTest(1, 2), "globalCallTest(1, 2)", 2);
- shouldBe(scopedCallTest(1, 2), "scopedCallTest(1, 2)", 2);
- shouldBe(resolveCallTest(1, 2), "resolveCallTest(1, 2)", 2);
- shouldBe(bracketCallTest(1, 2), "bracketCallTest(1, 2)", 2);
- shouldBe(dotCallTest(1, 2), "dotCallTest(1, 2)", 2);
- shouldBe(newTest(1, 2), "newTest(1, 2)", 2);
-}
-</script>
-</head>
-<body onload="startTest()">
-<p>
-This page tests that the generation of bytecode allocates registers correctly when profiling is enabled. To run the test manually, enable profiling in the web inspector and reload this page.
-</p>
-<pre id="console"></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698