Changeset 64565 in webkit
- Timestamp:
- Aug 3, 2010 10:54:19 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64563 r64565 1 2010-08-03 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Joseph Pecoraro. 4 5 Web Inspector: incorrect absolute protocol-less URLs in tooltips of links in the ElementsTreeOutline 6 https://bugs.webkit.org/show_bug.cgi?id=43246 7 8 * inspector/front-end/inspector.js: 9 (WebInspector.completeURL): 10 1 11 2010-08-03 Adam Roben <aroben@apple.com> 2 12 -
trunk/WebCore/inspector/front-end/inspector.js
r64558 r64565 1788 1788 var basePath = match[4] || "/"; 1789 1789 path = basePath.substring(0, basePath.lastIndexOf("/")) + "/" + path; 1790 } else if (path.length > 1 && path.charAt(1) === "/") { 1791 // href starts with "//" which is a full URL with the protocol dropped (use the baseURL protocol). 1792 return match[1] + ":" + path; 1790 1793 } 1791 1794 return match[1] + "://" + match[2] + (match[3] ? (":" + match[3]) : "") + path;
Note: See TracChangeset
for help on using the changeset viewer.