Index: LayoutTests/http/tests/inspector/inspector-test.js |
diff --git a/LayoutTests/http/tests/inspector/inspector-test.js b/LayoutTests/http/tests/inspector/inspector-test.js |
index 46b93350d6e03a836e9901d0b286c782b0850041..a72e627f59b134b30101080bc2828765a25858ca 100644 |
--- a/LayoutTests/http/tests/inspector/inspector-test.js |
+++ b/LayoutTests/http/tests/inspector/inspector-test.js |
@@ -862,7 +862,7 @@ |
promises.push(WebInspector.inspectorView.panel(lastLoadedPanel)); |
} |
- var testPath = WebInspector.settings.createSetting("testPath", "").get(); |
+ var testPath = self.localStorage ? self.localStorage["testPath"] || "" : ""; |
// 2. Show initial panel based on test path. |
var initialPanelByFolder = { |