RESOLVED FIXED 84466
Web Inspector: implement "open stylesheet" dialog.
https://bugs.webkit.org/show_bug.cgi?id=84466
Summary Web Inspector: implement "open stylesheet" dialog.
Pavel Feldman
Reported 2012-04-20 10:33:37 PDT
This change introduces abstract OpenResourceDialog and re-uses it in OpenScriptDialog and OpenStylesheetDialog.
Attachments
Patch (14.75 KB, patch)
2012-04-20 10:41 PDT, Pavel Feldman
yurys: review+
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-02 (5.83 MB, application/zip)
2012-04-20 11:34 PDT, WebKit Review Bot
no flags
Pavel Feldman
Comment 1 2012-04-20 10:41:03 PDT
WebKit Review Bot
Comment 2 2012-04-20 11:34:25 PDT
Comment on attachment 138118 [details] Patch Attachment 138118 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12469270 New failing tests: http/tests/inspector/compiler-script-mapping.html
WebKit Review Bot
Comment 3 2012-04-20 11:34:37 PDT
Created attachment 138128 [details] Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Yury Semikhatsky
Comment 4 2012-04-22 22:29:25 PDT
Comment on attachment 138118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=138118&action=review > Source/WebCore/inspector/front-end/FilteredItemSelectionDialog.js:657 > + // Overriden; Overriden -> Overriden in descendants. > Source/WebCore/inspector/front-end/ResourceUtils.js:63 > + if (this.url.indexOf("data:") == 0) { There was a discussion about using indexOf vs RegExp vs substring for prefix checks. On long strings RegExp is preferable and given that data: URL may be quite long, I'd suggest you use a regular expression or substring here.
Pavel Feldman
Comment 5 2012-04-23 01:05:57 PDT
Note You need to log in before you can comment on or make changes to this bug.