Diff
Modified: trunk/LayoutTests/inspector/profiler/canvas2d/canvas-replay-log-grid.html (143579 => 143580)
--- trunk/LayoutTests/inspector/profiler/canvas2d/canvas-replay-log-grid.html 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/LayoutTests/inspector/profiler/canvas2d/canvas-replay-log-grid.html 2013-02-21 11:39:17 UTC (rev 143580)
@@ -55,7 +55,7 @@
function didStartCapturingFrame(profilesPanel, frameId, error, traceLogId)
{
profileHeader = profilesPanel.getProfiles(WebInspector.CanvasProfileType.TypeId)[0];
- profilesPanel.showProfile(profileHeader);
+ profilesPanel._showProfile(profileHeader);
InspectorTest.addSniffer(profileHeader, "_updateCapturingStatus", didReceiveFirstFrame);
InspectorTest.evaluateInConsole("doSomeCanvasCalls(2)");
}
Modified: trunk/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html (143579 => 143580)
--- trunk/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html 2013-02-21 11:39:17 UTC (rev 143580)
@@ -19,7 +19,7 @@
function step0()
{
var profiles = WebInspector.panels.profiles.getProfiles("HEAP");
- WebInspector.panels.profiles.showProfile(profiles[profiles.length - 1]);
+ WebInspector.panels.profiles._showProfile(profiles[profiles.length - 1]);
InspectorTest.addSniffer(WebInspector.panels.profiles, "_finishHeapSnapshot", step1);
}
Modified: trunk/LayoutTests/inspector/profiler/heap-snapshot-loader.html (143579 => 143580)
--- trunk/LayoutTests/inspector/profiler/heap-snapshot-loader.html 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/LayoutTests/inspector/profiler/heap-snapshot-loader.html 2013-02-21 11:39:17 UTC (rev 143580)
@@ -45,7 +45,7 @@
InspectorTest.addSniffer(profileHeader, "_snapshotReceived", snapshotLoaded);
InspectorTest.override(HeapProfilerAgent, "getHeapSnapshot", getHeapSnapshotMock);
- panel.showProfile(profileHeader);
+ panel._showProfile(profileHeader);
}
InspectorTest.runTestSuite([
Modified: trunk/LayoutTests/inspector/profiler/heap-snapshot-test.js (143579 => 143580)
--- trunk/LayoutTests/inspector/profiler/heap-snapshot-test.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/LayoutTests/inspector/profiler/heap-snapshot-test.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -738,7 +738,7 @@
InspectorTest.override(HeapProfilerAgent, "getHeapSnapshot", pushGeneratedSnapshot);
InspectorTest._takeAndOpenSnapshotCallback = callback;
WebInspector.panels.profiles.addProfileHeader(profile);
- WebInspector.panels.profiles.showProfile(profile);
+ WebInspector.panels.profiles._showProfile(profile);
};
InspectorTest.viewColumns = function()
Modified: trunk/LayoutTests/inspector/profiler/profiler-test.js (143579 => 143580)
--- trunk/LayoutTests/inspector/profiler/profiler-test.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/LayoutTests/inspector/profiler/profiler-test.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -66,7 +66,7 @@
InspectorTest._profileHeaderAdded = function(profile)
{
if (InspectorTest._showProfileWhenAdded === profile.title) {
- WebInspector.panels.profiles.showProfile(profile);
+ WebInspector.panels.profiles._showProfile(profile);
}
};
Modified: trunk/PerformanceTests/inspector/heap-snapshot-performance-test.js (143579 => 143580)
--- trunk/PerformanceTests/inspector/heap-snapshot-performance-test.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/PerformanceTests/inspector/heap-snapshot-performance-test.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -34,7 +34,7 @@
timer.finish(backendTimerCookie);
transferTimerCookie = timer.start("transfer-snapshot");
var profiles = WebInspector.panels.profiles.getProfiles("HEAP");
- WebInspector.panels.profiles.showProfile(profiles[profiles.length - 1]);
+ WebInspector.panels.profiles._showProfile(profiles[profiles.length - 1]);
InspectorTest.addSniffer(WebInspector.panels.profiles, "_finishHeapSnapshot", step1);
}
Modified: trunk/Source/WebCore/ChangeLog (143579 => 143580)
--- trunk/Source/WebCore/ChangeLog 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/ChangeLog 2013-02-21 11:39:17 UTC (rev 143580)
@@ -1,3 +1,29 @@
+2013-02-19 Eugene Klyuchnikov <[email protected]>
+
+ Web Inspector: [Console] Add console API message types for profile/profileEnd.
+ https://bugs.webkit.org/show_bug.cgi?id=109790
+
+ Reviewed by Pavel Feldman.
+
+ With profile/profileEnd message types we will gain more control over
+ output messages.
+
+ * English.lproj/localizedStrings.js: Added corresponging strings.
+ * inspector/ConsoleAPITypes.h: Added enum members.
+ * inspector/Inspector.json: Ditto.
+ * inspector/front-end/ConsoleModel.js: Ditto.
+ * inspector/ConsoleMessage.cpp:
+ (WebCore::messageTypeValue): Added cases.
+ * inspector/InspectorProfilerAgent.cpp: Adopted changes.
+ * inspector/front-end/inspector.js: Ditto.
+ * inspector/front-end/ConsoleMessage.js:
+ Added message generators for introduced message types.
+ * inspector/front-end/ProfilesPanel.js:
+ Turned showProfileForURL(url) to showProfile(typeId, uid).
+ * inspector/front-end/ProfilesPanelDescriptor.js:
+ (WebInspector.ProfilesPanelDescriptor.resolveProfileTitle): Added.
+ * inspector/front-end/ResourceUtils.js: Removed linkifier plugins.
+
2013-02-21 Tamas Czene <[email protected]>
OpenCL implementation of FEMerge filter.
Modified: trunk/Source/WebCore/English.lproj/localizedStrings.js (143579 => 143580)
--- trunk/Source/WebCore/English.lproj/localizedStrings.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/English.lproj/localizedStrings.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -311,6 +311,8 @@
localizedStrings["Paused on exception: '%s'."] = "Paused on exception: '%s'.";
localizedStrings["Pausing"] = "Pausing";
localizedStrings["Preview"] = "Preview";
+localizedStrings["Profile '%s' started."] = "Profile '%s' started.";
+localizedStrings["Profile '%s' finished."] = "Profile '%s' finished.";
localizedStrings["Profiles"] = "Profiles";
localizedStrings["Profiling disabled. Click to enable."] = "Profiling disabled. Click to enable.";
localizedStrings["Profiling enabled. Click to disable."] = "Profiling enabled. Click to disable.";
Modified: trunk/Source/WebCore/inspector/ConsoleAPITypes.h (143579 => 143580)
--- trunk/Source/WebCore/inspector/ConsoleAPITypes.h 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/ConsoleAPITypes.h 2013-02-21 11:39:17 UTC (rev 143580)
@@ -38,7 +38,9 @@
EndGroupMessageType,
ClearMessageType,
AssertMessageType,
- TimingMessageType
+ TimingMessageType,
+ ProfileMessageType,
+ ProfileEndMessageType
};
} // namespace WebCore
Modified: trunk/Source/WebCore/inspector/ConsoleMessage.cpp (143579 => 143580)
--- trunk/Source/WebCore/inspector/ConsoleMessage.cpp 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/ConsoleMessage.cpp 2013-02-21 11:39:17 UTC (rev 143580)
@@ -161,6 +161,8 @@
case EndGroupMessageType: return TypeBuilder::Console::ConsoleMessage::Type::EndGroup;
case AssertMessageType: return TypeBuilder::Console::ConsoleMessage::Type::Assert;
case TimingMessageType: return TypeBuilder::Console::ConsoleMessage::Type::Timing;
+ case ProfileMessageType: return TypeBuilder::Console::ConsoleMessage::Type::Profile;
+ case ProfileEndMessageType: return TypeBuilder::Console::ConsoleMessage::Type::ProfileEnd;
}
return TypeBuilder::Console::ConsoleMessage::Type::Log;
}
Modified: trunk/Source/WebCore/inspector/Inspector.json (143579 => 143580)
--- trunk/Source/WebCore/inspector/Inspector.json 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/Inspector.json 2013-02-21 11:39:17 UTC (rev 143580)
@@ -771,7 +771,7 @@
{ "name": "source", "type": "string", "enum": ["html", "wml", "xml", "_javascript_", "network", "console-api", "other"], "description": "Message source." },
{ "name": "level", "type": "string", "enum": ["tip", "log", "warning", "error", "debug"], "description": "Message severity." },
{ "name": "text", "type": "string", "description": "Message text." },
- { "name": "type", "type": "string", "optional": true, "enum": ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "timing"], "description": "Console message type." },
+ { "name": "type", "type": "string", "optional": true, "enum": ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "timing", "profile", "profileEnd"], "description": "Console message type." },
{ "name": "url", "type": "string", "optional": true, "description": "URL of the message origin." },
{ "name": "line", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message." },
{ "name": "repeatCount", "type": "integer", "optional": true, "description": "Repeat count for repeated messages." },
@@ -3489,7 +3489,6 @@
{ "name": "arguments", "type": "array", "items": { "$ref": "CallArgument" }, "optional": true },
{ "name": "result", "$ref": "CallArgument", "optional": true },
{ "name": "isDrawingCall", "type": "boolean", "optional": true },
- { "name": "isFrameEndCall", "type": "boolean", "optional": true },
{ "name": "property", "type": "string", "optional": true },
{ "name": "value", "$ref": "CallArgument", "optional": true },
{ "name": "sourceURL", "type": "string", "optional": true },
Modified: trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp (143579 => 143580)
--- trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp 2013-02-21 11:39:17 UTC (rev 143580)
@@ -164,17 +164,15 @@
if (!m_frontend)
return;
RefPtr<ScriptProfile> profile = ""
- String title = profile->title();
- String message = makeString("Profile \"webkit-profile://", CPUProfileType, '/', encodeWithURLEscapeSequences(title), '#', String::number(profile->uid()), "\" finished.");
- m_consoleAgent->addMessageToConsole(ConsoleAPIMessageSource, LogMessageType, DebugMessageLevel, message, sourceURL, lineNumber);
+ String message = makeString(profile->title(), '#', String::number(profile->uid()));
+ m_consoleAgent->addMessageToConsole(ConsoleAPIMessageSource, ProfileEndMessageType, DebugMessageLevel, message, sourceURL, lineNumber);
}
void InspectorProfilerAgent::addStartProfilingMessageToConsole(const String& title, unsigned lineNumber, const String& sourceURL)
{
if (!m_frontend)
return;
- String message = makeString("Profile \"webkit-profile://", CPUProfileType, '/', encodeWithURLEscapeSequences(title), "#0\" started.");
- m_consoleAgent->addMessageToConsole(ConsoleAPIMessageSource, LogMessageType, DebugMessageLevel, message, sourceURL, lineNumber);
+ m_consoleAgent->addMessageToConsole(ConsoleAPIMessageSource, ProfileMessageType, DebugMessageLevel, title, sourceURL, lineNumber);
}
void InspectorProfilerAgent::collectGarbage(WebCore::ErrorString*)
Modified: trunk/Source/WebCore/inspector/front-end/ConsoleMessage.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/ConsoleMessage.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/ConsoleMessage.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -111,6 +111,19 @@
var args = ["%O", obj];
this._messageElement = this._format(args);
break;
+ case WebInspector.ConsoleMessage.MessageType.Profile:
+ var title = WebInspector.ProfilesPanelDescriptor.resolveProfileTitle(this._messageText);
+ this._messageElement = document.createTextNode(WebInspector.UIString("Profile '%s' started.", title));
+ break;
+ case WebInspector.ConsoleMessage.MessageType.ProfileEnd:
+ var hashIndex = this._messageText.lastIndexOf("#");
+ var title = WebInspector.ProfilesPanelDescriptor.resolveProfileTitle(this._messageText.substring(0, hashIndex));
+ var uid = this._messageText.substring(hashIndex + 1);
+ var format = WebInspector.UIString("Profile '%s' finished.", "%_");
+ var link = WebInspector.linkifyURLAsNode("webkit-profile://CPU/" + uid, title);
+ this._messageElement = document.createElement("span");
+ this._formatWithSubstitutionString(format, [link], this._messageElement);
+ break;
default:
var args = this._parameters || [this._messageText];
this._messageElement = this._format(args);
@@ -247,7 +260,7 @@
// Multiple parameters with the first being a format string. Save unused substitutions.
if (shouldFormatMessage) {
// Multiple parameters with the first being a format string. Save unused substitutions.
- var result = this._formatWithSubstitutionString(parameters, formattedResult);
+ var result = this._formatWithSubstitutionString(parameters[0].description, parameters.slice(1), formattedResult);
parameters = result.unusedSubstitutions;
if (parameters.length)
formattedResult.appendChild(document.createTextNode(" "));
@@ -565,7 +578,7 @@
return this._formatParameter(output, output.subtype && output.subtype === "array", false);
},
- _formatWithSubstitutionString: function(parameters, formattedResult)
+ _formatWithSubstitutionString: function(format, parameters, formattedResult)
{
var formatters = {};
@@ -593,6 +606,11 @@
return Math.floor(obj.value);
}
+ function bypassFormatter(obj)
+ {
+ return (obj instanceof Node) ? obj : "";
+ }
+
var currentStyle = null;
function styleFormatter(obj)
{
@@ -630,6 +648,8 @@
// Support %O to force object formatting, instead of the type-based %o formatting.
formatters.O = parameterFormatter.bind(this, true);
+ formatters._ = bypassFormatter;
+
function append(a, b)
{
if (b instanceof Node)
@@ -649,7 +669,7 @@
}
// String.format does treat formattedResult like a Builder, result is an object.
- return String.format(parameters[0].description, parameters.slice(1), formatters, formattedResult, append);
+ return String.format(format, parameters, formatters, formattedResult, append);
},
clearHighlight: function()
@@ -820,6 +840,10 @@
case WebInspector.ConsoleMessage.MessageType.Result:
typeString = "Result";
break;
+ case WebInspector.ConsoleMessage.MessageType.Profile:
+ case WebInspector.ConsoleMessage.MessageType.ProfileEnd:
+ typeString = "Profiling";
+ break;
}
var levelString;
Modified: trunk/Source/WebCore/inspector/front-end/ConsoleModel.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/ConsoleModel.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/ConsoleModel.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -237,7 +237,9 @@
StartGroupCollapsed: "startGroupCollapsed",
EndGroup: "endGroup",
Assert: "assert",
- Result: "result"
+ Result: "result",
+ Profile: "profile",
+ ProfileEnd: "profileEnd"
}
WebInspector.ConsoleMessage.MessageLevel = {
Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -602,7 +602,7 @@
sidebarParent.appendChild(profileTreeElement);
if (!profile.isTemporary) {
if (!this.visibleView)
- this.showProfile(profile);
+ this._showProfile(profile);
this.dispatchEventToListeners("profile added", {
type: typeId
});
@@ -650,7 +650,7 @@
/**
* @param {WebInspector.ProfileHeader} profile
*/
- showProfile: function(profile)
+ _showProfile: function(profile)
{
if (!profile || profile.isTemporary)
return;
@@ -704,7 +704,7 @@
var profile = ""
// TODO: allow to choose snapshot if there are several options.
if (profile.maxJSObjectId >= snapshotObjectId) {
- this.showProfile(profile);
+ this._showProfile(profile);
profile.view().changeView(viewName, function() {
profile.view().dataGrid.highlightObjectByHeapSnapshotId(snapshotObjectId);
});
@@ -773,7 +773,7 @@
*/
showView: function(view)
{
- this.showProfile(view.profile);
+ this._showProfile(view.profile);
},
/**
@@ -785,14 +785,12 @@
},
/**
- * @param {string} url
+ * @param {string} typeId
+ * @param {string} uid
*/
- showProfileForURL: function(url)
+ showProfile: function(typeId, uid)
{
- var match = url.match(WebInspector.ProfilesPanelDescriptor.ProfileURLRegExp);
- if (!match)
- return;
- this.showProfile(this._profilesIdMap[this._makeKey(Number(match[3]), match[1])]);
+ this._showProfile(this._profilesIdMap[this._makeKey(Number(uid), typeId)]);
},
closeVisibleView: function()
@@ -803,31 +801,6 @@
},
/**
- * @param {string} title
- * @param {string} typeId
- */
- displayTitleForProfileLink: function(title, typeId)
- {
- title = unescape(title);
- if (title.startsWith(UserInitiatedProfileName)) {
- title = WebInspector.UIString("Profile %d", title.substring(UserInitiatedProfileName.length + 1));
- } else {
- var titleKey = this._makeTitleKey(title, typeId);
- if (!(titleKey in this._profileGroupsForLinks))
- this._profileGroupsForLinks[titleKey] = 0;
-
- var groupNumber = ++this._profileGroupsForLinks[titleKey];
-
- if (groupNumber > 2)
- // The title is used in the console message announcing that a profile has started so it gets
- // incremented twice as often as it's displayed
- title += " " + WebInspector.UIString("Run %d", (groupNumber + 1) / 2);
- }
-
- return title;
- },
-
- /**
* @param {string} query
*/
performSearch: function(query)
@@ -1407,7 +1380,7 @@
onselect: function()
{
if (!this._suppressOnSelect)
- this.treeOutline.panel.showProfile(this.profile);
+ this.treeOutline.panel._showProfile(this.profile);
},
ondelete: function()
@@ -1483,7 +1456,7 @@
onselect: function()
{
if (this.children.length > 0)
- WebInspector.ProfilesPanel._instance.showProfile(this.children[this.children.length - 1].profile);
+ WebInspector.ProfilesPanel._instance._showProfile(this.children[this.children.length - 1].profile);
},
__proto__: WebInspector.SidebarTreeElement.prototype
Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanelDescriptor.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/ProfilesPanelDescriptor.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanelDescriptor.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -64,3 +64,14 @@
var suffix = title.substring(WebInspector.ProfilesPanelDescriptor.UserInitiatedProfileName.length + 1);
return parseInt(suffix, 10);
}
+
+/**
+ * @param {string} title
+ * @return {string}
+ */
+WebInspector.ProfilesPanelDescriptor.resolveProfileTitle = function(title)
+{
+ if (!WebInspector.ProfilesPanelDescriptor.isUserInitiatedProfile(title))
+ return title;
+ return WebInspector.UIString("Profile %d", WebInspector.ProfilesPanelDescriptor.userInitiatedProfileIndex(title));
+}
Modified: trunk/Source/WebCore/inspector/front-end/ResourceUtils.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/ResourceUtils.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/ResourceUtils.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -123,17 +123,7 @@
return container;
}
-WebInspector._linkifierPlugins = [];
-
/**
- * @param {function(string):string} plugin
- */
-WebInspector.registerLinkifierPlugin = function(plugin)
-{
- WebInspector._linkifierPlugins.push(plugin);
-}
-
-/**
* @param {string} string
* @return {DocumentFragment}
*/
@@ -147,9 +137,6 @@
*/
function linkifier(title, url, lineNumber)
{
- for (var i = 0; i < WebInspector._linkifierPlugins.length; ++i)
- title = WebInspector._linkifierPlugins[i](title);
-
var isExternal = !WebInspector.resourceForURL(url);
var urlNode = WebInspector.linkifyURLAsNode(url, title, undefined, isExternal);
if (typeof(lineNumber) !== "undefined") {
Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (143579 => 143580)
--- trunk/Source/WebCore/inspector/front-end/inspector.js 2013-02-21 10:44:04 UTC (rev 143579)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js 2013-02-21 11:39:17 UTC (rev 143580)
@@ -272,16 +272,6 @@
WebInspector.domAgent.setInspectModeEnabled(enabled, callback.bind(this));
},
- _profilesLinkifier: function(title)
- {
- var profileStringMatches = WebInspector.ProfilesPanelDescriptor.ProfileURLRegExp.exec(title);
- if (profileStringMatches) {
- var profilesPanel = /** @ type {WebInspector.ProfilesPanel} */ WebInspector.panel("profiles");
- title = WebInspector.ProfilesPanel._instance.displayTitleForProfileLink(profileStringMatches[2], profileStringMatches[1]);
- }
- return title;
- },
-
_debuggerPaused: function()
{
// Create scripts panel upon demand.
@@ -468,7 +458,6 @@
WebInspector.endBatchUpdate();
this.addMainEventListeners(document);
- WebInspector.registerLinkifierPlugin(this._profilesLinkifier.bind(this));
window.addEventListener("resize", this.windowResize.bind(this), true);
@@ -583,7 +572,7 @@
WebInspector.documentClick = function(event)
{
var anchor = event.target.enclosingNodeOrSelfWithNodeName("a");
- if (!anchor || (anchor.target === "_blank" && !WebInspector.ProfilesPanelDescriptor.ProfileURLRegExp.exec(anchor.href)))
+ if (!anchor || (anchor.target === "_blank"))
return;
// Prevent the link from navigating, since we don't do any navigation by following links normally.
@@ -596,7 +585,7 @@
const profileMatch = WebInspector.ProfilesPanelDescriptor.ProfileURLRegExp.exec(anchor.href);
if (profileMatch) {
- WebInspector.showProfileForURL(anchor.href);
+ WebInspector.showPanel("profiles").showProfile(profileMatch[1], profileMatch[2]);
return;
}
@@ -984,11 +973,6 @@
return true;
}
-WebInspector.showProfileForURL = function(url)
-{
- WebInspector.showPanel("profiles").showProfileForURL(url);
-}
-
WebInspector.evaluateInConsole = function(_expression_, showResultOnly)
{
this.showConsole();