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

Unified Diff: LayoutTests/http/tests/inspector/network/network-sidebar-width.html

Issue 185063005: Revert of DevTools: Do not save split view size on show mode changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/network/network-sidebar-width.html
diff --git a/LayoutTests/http/tests/inspector/network/network-sidebar-width.html b/LayoutTests/http/tests/inspector/network/network-sidebar-width.html
index 0295caedb35320e808cb4a759d6593f7396b9ec2..83c118200af5818d163404c5f7aa76bcd88186b4 100644
--- a/LayoutTests/http/tests/inspector/network/network-sidebar-width.html
+++ b/LayoutTests/http/tests/inspector/network/network-sidebar-width.html
@@ -24,14 +24,12 @@
delete settingValue.vertical.size;
setting.set(settingValue);
- forceSettingRead(panel._splitView);
panel._showRequest(request);
InspectorTest.addResult("Sidebar width: " + panel._splitView.sidebarElement().offsetWidth);
panel._toggleGridMode();
settingValue.vertical.size = 242;
setting.set(settingValue);
- forceSettingRead(panel._splitView);
panel._showRequest(request);
InspectorTest.addResult("Sidebar width: " + panel._splitView.sidebarElement().offsetWidth);
panel._closeVisibleRequest(request);
@@ -41,12 +39,6 @@
InspectorTest.completeTest();
}
-
- function forceSettingRead(splitView)
- {
- splitView.setVertical(false);
- splitView.setVertical(true);
- }
}
</script>
</head>
« no previous file with comments | « no previous file | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698