Skip to content
Permalink
Browse files
Web Inspector: Convert all methods in Utilities.js to ECMAScript 2015…
… shorthand syntax

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

Reviewed by Joseph Pecoraro.

* UserInterface/Base/Utilities.js:
(get return):
(addStringToken):
(prettyFunctionName):
(warn):
(error):
(isEmptyObject):
(isEnterKey):
(resolveDotsInPath):
(parseMIMEType):
(simpleGlobStringToRegExp):
(defaultComparator):
(get Object):
(appendWebInspectorSourceURL):
(appendWebInspectorConsoleEvaluationSourceURL):
(isWebInspectorInternalScript):
(isWebInspectorConsoleEvaluationScript):
(isWebKitInjectedScript):
(isWebKitInternalScript):
(isFunctionStringNativeCode):
(isTextLikelyMinified):
(doubleQuotedString):
(insertionIndexForObjectInListSortedByFunction):
(insertObjectIntoSortedArray):
(decodeBase64ToBlob):


Canonical link: https://commits.webkit.org/192751@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
NV committed Aug 29, 2017
1 parent 3721ee1 commit e68eab1292cfa070fd622b05ddfcf0803c2f6caa
Showing with 100 additions and 67 deletions.
  1. +33 −0 Source/WebInspectorUI/ChangeLog
  2. +67 −67 Source/WebInspectorUI/UserInterface/Base/Utilities.js
@@ -1,3 +1,36 @@
2017-08-29 Nikita Vasilyev <nvasilyev@apple.com>

Web Inspector: Convert all methods in Utilities.js to ECMAScript 2015 shorthand syntax
https://bugs.webkit.org/show_bug.cgi?id=176067

Reviewed by Joseph Pecoraro.

* UserInterface/Base/Utilities.js:
(get return):
(addStringToken):
(prettyFunctionName):
(warn):
(error):
(isEmptyObject):
(isEnterKey):
(resolveDotsInPath):
(parseMIMEType):
(simpleGlobStringToRegExp):
(defaultComparator):
(get Object):
(appendWebInspectorSourceURL):
(appendWebInspectorConsoleEvaluationSourceURL):
(isWebInspectorInternalScript):
(isWebInspectorConsoleEvaluationScript):
(isWebKitInjectedScript):
(isWebKitInternalScript):
(isFunctionStringNativeCode):
(isTextLikelyMinified):
(doubleQuotedString):
(insertionIndexForObjectInListSortedByFunction):
(insertObjectIntoSortedArray):
(decodeBase64ToBlob):

2017-08-29 Nikita Vasilyev <nvasilyev@apple.com>

Web Inspector: Optimize View.prototype.removeSubview

0 comments on commit e68eab1

Please sign in to comment.