Commit 2503163b authored by samli@chromium.org's avatar samli@chromium.org

Devtools UI: Enable tooltips by default

BUG=513066

Review URL: https://codereview.chromium.org/1257793005

git-svn-id: svn://svn.chromium.org/blink/trunk@200712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d1bba99a
...@@ -38,7 +38,7 @@ function initialize_extensionsPanelTest() ...@@ -38,7 +38,7 @@ function initialize_extensionsPanelTest()
} }
// Strip url(...) and prefix of the URL within, leave just last 3 components. // Strip url(...) and prefix of the URL within, leave just last 3 components.
var url = item.style.backgroundImage.replace(/^url\(.*(([/][^/]*){3}[^/)]*)\)$/, "...$1"); var url = item.style.backgroundImage.replace(/^url\(.*(([/][^/]*){3}[^/)]*)\)$/, "...$1");
InspectorTest.addResult("status bar item " + i + ", icon: " + url + ", tooltip: '" + item.title + "', disabled: " + item.disabled); InspectorTest.addResult("status bar item " + i + ", icon: " + url + ", tooltip: '" + item[WebInspector.Tooltip._symbol].content + "', disabled: " + item.disabled);
} }
} }
......
...@@ -148,7 +148,7 @@ WebInspector.Main.prototype = { ...@@ -148,7 +148,7 @@ WebInspector.Main.prototype = {
Runtime.experiments.register("timelineInvalidationTracking", "Timeline invalidation tracking", true); Runtime.experiments.register("timelineInvalidationTracking", "Timeline invalidation tracking", true);
Runtime.experiments.register("timelineTracingJSProfile", "Timeline tracing based JS profiler", true); Runtime.experiments.register("timelineTracingJSProfile", "Timeline tracing based JS profiler", true);
Runtime.experiments.register("timelineFlowEvents", "Timeline flow events", true); Runtime.experiments.register("timelineFlowEvents", "Timeline flow events", true);
Runtime.experiments.register("tooltips", "Tooltips", true); Runtime.experiments.register("tooltips", "Tooltips");
Runtime.experiments.register("inlineVariableValues", "Display variable values inline while debugging"); Runtime.experiments.register("inlineVariableValues", "Display variable values inline while debugging");
Runtime.experiments.cleanUpStaleExperiments(); Runtime.experiments.cleanUpStaleExperiments();
...@@ -170,7 +170,8 @@ WebInspector.Main.prototype = { ...@@ -170,7 +170,8 @@ WebInspector.Main.prototype = {
Runtime.experiments.setDefaultExperiments([ Runtime.experiments.setDefaultExperiments([
"inlineVariableValues", "inlineVariableValues",
"serviceWorkersInPageFrontend" "serviceWorkersInPageFrontend",
"tooltips"
]); ]);
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment