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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/help/release-note-unit.html

Issue 2935393002: DevTools: stop whats new from opening on fresh profile (Closed)
Patch Set: tests Created 3 years, 6 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
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> 4 <script>
5 function test() 5 function test()
6 { 6 {
7 Help.releaseNoteText = [ 7 Help.releaseNoteText = [
8 {version: 3}, 8 {version: 3},
9 {version: 4}, 9 {version: 4},
10 {version: 5}, 10 {version: 5},
(...skipping 24 matching lines...) Expand all
35 function getReleaseNoteTwoVersionsAhead(next) { 35 function getReleaseNoteTwoVersionsAhead(next) {
36 var lastSeenVersion = 3; 36 var lastSeenVersion = 3;
37 testMaybeShowInDrawer(lastSeenVersion); 37 testMaybeShowInDrawer(lastSeenVersion);
38 next(); 38 next();
39 }, 39 },
40 function alreadySeenReleaseNote(next) { 40 function alreadySeenReleaseNote(next) {
41 var lastSeenVersion = 5; 41 var lastSeenVersion = 5;
42 testMaybeShowInDrawer(lastSeenVersion); 42 testMaybeShowInDrawer(lastSeenVersion);
43 next(); 43 next();
44 }, 44 },
45 function doNotShowReleaseNoteOnFreshProfile(next) {
46 var lastSeenVersion = 0;
47 testMaybeShowInDrawer(lastSeenVersion);
48 InspectorTest.addResult(`Release note version in setting: ${Help.rel easeNoteVersionSetting().get()}`);
49 next();
50 },
45 ]); 51 ]);
46 } 52 }
47 </script> 53 </script>
48 </head> 54 </head>
49 <body onload="runTest()"> 55 <body onload="runTest()">
50 <p> 56 <p>
51 Unit test for release note 57 Unit test for release note
52 </p> 58 </p>
53 </body> 59 </body>
54 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698