Web Inspector: Typo "clipboarPrefixString"

https://bugs.webkit.org/show_bug.cgi?id=126595

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-07
Reviewed by Sam Weinig.

* UserInterface/ConsoleCommandResult.js:
(WebInspector.ConsoleCommandResult.prototype.toMessageElement):
(WebInspector.ConsoleCommandResult.prototype.get clipboardPrefixString):
* UserInterface/ConsoleMessageImpl.js:
(WebInspector.ConsoleMessageImpl.prototype.get clipboardPrefixString):
(WebInspector.ConsoleMessageImpl.prototype.toClipboardString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bb1034b8
2014-01-07 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: Typo "clipboarPrefixString"
https://bugs.webkit.org/show_bug.cgi?id=126595
Reviewed by Sam Weinig.
* UserInterface/ConsoleCommandResult.js:
(WebInspector.ConsoleCommandResult.prototype.toMessageElement):
(WebInspector.ConsoleCommandResult.prototype.get clipboardPrefixString):
* UserInterface/ConsoleMessageImpl.js:
(WebInspector.ConsoleMessageImpl.prototype.get clipboardPrefixString):
(WebInspector.ConsoleMessageImpl.prototype.toClipboardString):
2014-01-06 Seokju Kwon <seokju@webkit.org>
Web Inspector: Remove canOverrideDeviceMetrics and setDeviceMetricsOverride from protocol
......
......@@ -46,12 +46,12 @@ WebInspector.ConsoleCommandResult.prototype = {
{
var element = WebInspector.ConsoleMessageImpl.prototype.toMessageElement.call(this);
element.classList.add("console-user-command-result");
if (!element.getAttribute("data-labelprefix"))
if (!element.getAttribute("data-labelprefix"))
element.setAttribute("data-labelprefix", WebInspector.UIString("Output: "));
return element;
},
get clipboarPrefixString ()
get clipboardPrefixString()
{
return "< ";
}
......
......@@ -664,7 +664,7 @@ WebInspector.ConsoleMessageImpl.prototype = {
}
},
get clipboarPrefixString ()
get clipboardPrefixString()
{
return "[" + this.levelString + "] ";
},
......@@ -680,7 +680,7 @@ WebInspector.ConsoleMessageImpl.prototype = {
clipboardString = this.type === WebInspector.ConsoleMessage.MessageType.Trace ? "console.trace()" : this._message || this._messageText;
if (!isPrefixOptional || this.enforcesClipboardPrefixString)
clipboardString = this.clipboarPrefixString + clipboardString;
clipboardString = this.clipboardPrefixString + clipboardString;
if (isTrace) {
this._stackTrace.forEach(function(frame) {
......
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