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

Side by Side Diff: LayoutTests/inspector/console/console-memory-equals-console-memory.html

Issue 1230203003: Don't cache MemoryInfo instance on ConsoleMemory object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update corresponding console.memory layout test Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-memory-equals-console-memory-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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 InspectorTest.evaluateInConsole("console.memory === console.memory", step1); 9 InspectorTest.evaluateInConsole("console.memory === console.memory", step1);
10 10
11 function step1() { 11 function step1() {
12 InspectorTest.dumpConsoleMessages(); 12 InspectorTest.dumpConsoleMessages();
13 InspectorTest.completeTest(); 13 InspectorTest.completeTest();
14 } 14 }
15 } 15 }
16 </script> 16 </script>
17 </head> 17 </head>
18 18
19 <body onload="runTest()"> 19 <body onload="runTest()">
20 <p> 20 <p>
21 Tests that console.memory is strictly equal to itself. 21 Tests that console.memory returns fresh instance/samples.
22 </p> 22 </p>
23 23
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-memory-equals-console-memory-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698