Changeset 88920 in webkit
- Timestamp:
- Jun 15, 2011 5:09:18 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88919 r88920 1 2011-06-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: "data" URLs not detected in CSS url(...) values properly 6 https://bugs.webkit.org/show_bug.cgi?id=62643 7 8 * inspector/styles/styles-url-linkify-expected.txt: 9 * inspector/styles/styles-url-linkify.html: 10 1 11 2011-06-15 Mario Sanchez Prada <msanchez@igalia.com> 2 12 -
trunk/LayoutTests/inspector/styles/styles-url-linkify-expected.txt
r78535 r88920 1 Tests that URLs are linked to and completed correctly. Bugs 51663, 53171 1 Tests that URLs are linked to and completed correctly. Bugs 51663, 53171, 62643 2 2 3 3 4 PartialURLs completed:4 URLs completed: 5 5 http://example.com/ 6 6 http://example.com/moo … … 13 13 http://example.com/foo?a=b 14 14 http://example.com/foo?a=b 15 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCAgMAAACeOuh7AAAABGdBTUEAAK/INwWK6QAAAAlQTFRF////AAAA////fu+PTwAAAAF0Uk5TAEDm2GYAAACHSURBVDjLxdLbDYAgDAVQGELn0R3oEHYf2KGdUqtE46OFRCP3oyTng1xCnWsaD5JRRtCkQ2YmkBkHRXqWJBn0j0TICbrsWVoWhRShCdcGyZCtHxMaUnVPRZ9KSbmBJdsX2vJVnwqRD0Rb4rpzgIbE/AI5NTnWAMvy5l0dXrfuLh5OCe5BmmYGXhTUxlQ5xJ8AAAAASUVORK5CYII= 15 16 Link for a URI from CSS document: 16 17 inspector/styles/resources/fromcss.png -
trunk/LayoutTests/inspector/styles/styles-url-linkify.html
r88337 r88920 14 14 } 15 15 16 InspectorTest.addResult(" PartialURLs completed:");16 InspectorTest.addResult("URLs completed:"); 17 17 completeURL("http://example.com", "/"); 18 18 completeURL("http://example.com", "moo"); … … 25 25 completeURL("http://example.com/foo", "?a=b"); 26 26 completeURL("http://example.com/foo?c=d", "?a=b"); 27 28 const dataURL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCAgMAAACeOuh7AAAABGdBTUEAAK/INwWK6QAAAAlQTFRF////AAAA////fu+PTwAAAAF0Uk5TAEDm2GYAAACHSURBVDjLxdLbDYAgDAVQGELn0R3oEHYf2KGdUqtE46OFRCP3oyTng1xCnWsaD5JRRtCkQ2YmkBkHRXqWJBn0j0TICbrsWVoWhRShCdcGyZCtHxMaUnVPRZ9KSbmBJdsX2vJVnwqRD0Rb4rpzgIbE/AI5NTnWAMvy5l0dXrfuLh5OCe5BmmYGXhTUxlQ5xJ8AAAAASUVORK5CYII="; 29 completeURL("https://example.com/foo", dataURL); 27 30 28 31 function dumpHref() … … 71 74 <body onload="runAfterIframeIsLoaded()"> 72 75 <p> 73 Tests that URLs are linked to and completed correctly. Bugs <a href="http://bugs.webkit.org/show_bug.cgi?id=51663">51663</a>, <a href="http://bugs.webkit.org/show_bug.cgi?id=53171">53171</a> 76 Tests that URLs are linked to and completed correctly. Bugs <a href="http://bugs.webkit.org/show_bug.cgi?id=51663">51663</a>, <a href="http://bugs.webkit.org/show_bug.cgi?id=53171">53171</a>, <a href="http://bugs.webkit.org/show_bug.cgi?id=62643">62643</a> 74 77 </p> 75 78 <div id="local"></div> -
trunk/Source/WebCore/ChangeLog
r88918 r88920 1 2011-06-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: "data" URLs not detected in CSS url(...) values properly 6 https://bugs.webkit.org/show_bug.cgi?id=62643 7 8 * inspector/front-end/inspector.js: 9 (WebInspector.completeURL): 10 1 11 2011-06-15 Pavel Feldman <pfeldman@google.com> 2 12 -
trunk/Source/WebCore/inspector/front-end/inspector.js
r88815 r88920 1319 1319 // Return absolute URLs as-is. 1320 1320 var parsedHref = href.asParsedURL(); 1321 if ( parsedHref && parsedHref.scheme)1321 if ((parsedHref && parsedHref.scheme) || href.indexOf("data:") === 0) 1322 1322 return href; 1323 1323 }
Note: See TracChangeset
for help on using the changeset viewer.