Commit 9989a709 authored by vsevik@chromium.org's avatar vsevik@chromium.org
Browse files

Web Inspector: [Regression] DevToolsExtensionTest.TestContentScriptIsPresent fails

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

Reviewed by Pavel Feldman.

Content scripts should be also added by NetworkUISourceCodeProvider. This patch fixes that.

* inspector/front-end/NetworkUISourceCodeProvider.js:
(WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 281e6b7f
2012-10-02 Vsevolod Vlasov <vsevik@chromium.org>
Web Inspector: [Regression] DevToolsExtensionTest.TestContentScriptIsPresent fails
https://bugs.webkit.org/show_bug.cgi?id=98161
Reviewed by Pavel Feldman.
Content scripts should be also added by NetworkUISourceCodeProvider. This patch fixes that.
* inspector/front-end/NetworkUISourceCodeProvider.js:
(WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource):
2012-10-02 Patrick Gansterer <paroga@webkit.org>
 
[WINCE] Remove FontPlatformData::averageCharWidth()
......@@ -65,7 +65,9 @@ WebInspector.NetworkUISourceCodeProvider.prototype = {
_parsedScriptSource: function(event)
{
var script = /** @type {WebInspector.Script} */ event.data;
if (!script.hasSourceURL)
if (!script.hasSourceURL && !script.isContentScript)
return;
if (!script.sourceURL)
return;
if (this._uiSourceCodeForResource[script.sourceURL])
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment