[Webkit-unassigned] [Bug 40420] Web Inspector: Prevent from copying "filename.css" in Styles pane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 17 22:57:52 PDT 2010


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





--- Comment #16 from Pavel Feldman <pfeldman at chromium.org>  2010-06-17 22:57:51 PST ---
> Skipped list contained 'compositing/iframes/composited-iframe.html', but no file of that name could be found
> Testing 19117 test cases.
> inspector/elements-panel-styles.html -> failed

Oh, sorry, I overlooked this one - was confused with the composited iframe and forgot I added this beautiful styles sidebar test earlier.

Nikita, are you planning to fix it or should I use your patch locally to fix / rebaseline the test? Here is what you do:

WebKitTools/Scripts/build-webkit --debug
WebKitTools/Scripts/run-webkit-tests --debug LayoutTests/inspector/elements-panel-styles.html

The reason for failure is in LayoutTests/inspector/elements-tests.js:72:

" (" + section.subtitleElement.textContent + ")" 

Test expects to see the location in the .textContent of the subtitle element. See the expected golden output in LayoutTests/inspector/elements-panel-styles-expected.txt (locations in brackets to the first of records). For fixing this, you would need to get the text from your new not-copyable attributes. You could introduce Section.prototype.subtitleAsText in Section.js and use it in test instead of subtitleElement.textContent for convenience.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list