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

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

Issue 2719013005: DevTools: improve design of What's New (Closed)
Patch Set: cl fb Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/help/release-note-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> 4 <script>
5 function test() { 5 function test() {
6 Help.releaseNoteText = [ 6 Help.releaseNoteText = [
7 { 7 {
8 version: 99, 8 version: 99,
9 highlights: [ 9 highlights: [
10 { 10 {
11 text: "Test bullet #1", 11 contents: [
12 link: "https://google.com/", 12 {
13 featured: true, 13 text: 'Improved',
14 }, 14 },
15 { 15 {
16 text: "Test bullet #2", 16 text: 'Performance and Memory panels',
17 link: "https://google.com/", 17 link: 'https://developers.google.com/web/tools/chro me-devtools/',
18 }, 18 }
19 ], 19 ],
20 link: "https://google.com/", 20 featured: true,
21 image: { 21 },
22 src: "./resources/test.png", 22 {
23 caption: "Test image", 23 contents: [
24 }, 24 {
25 } 25 text: 'Edit cookies directly',
26 link: 'https://developers.google.com/web/tools/chro me-devtools/',
27 },
28 {
29 text: 'from the Application panel',
30 },
31 ],
32 },
33 ],
34 link: 'https://developers.google.com/web/tools/chrome-devtools/',
35 image: {
36 src: './resources/test.png',
37 },
38 },
26 ]; 39 ];
27 40
28 InspectorTest.addSniffer(UI.inspectorView, "showPanel", onPanelShown); 41 InspectorTest.addSniffer(UI.inspectorView, "showPanel", onPanelShown);
29 42
30 InspectorTest.addResult(`Browser version: ${Help.browserVersion()}\n`); 43 InspectorTest.addResult(`Browser version: ${Help.browserVersion()}\n`);
31 Help.showReleaseNoteIfNeeded(); 44 Help.showReleaseNoteIfNeeded();
32 45
33 function onPanelShown(viewId, panelPromise) { 46 function onPanelShown(viewId, panelPromise) {
34 panelPromise.then(() => { 47 panelPromise.then(() => {
35 var releaseNoteView = UI.viewManager.view("release-note"); 48 var releaseNoteView = UI.viewManager.view("release-note");
(...skipping 18 matching lines...) Expand all
54 67
55 </script> 68 </script>
56 </head> 69 </head>
57 <body onload="runTest()"> 70 <body onload="runTest()">
58 <p> 71 <p>
59 Test release note 72 Test release note
60 </p> 73 </p>
61 74
62 </body> 75 </body>
63 </html> 76 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/help/release-note-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698