⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 244363 in webkit


Ignore:
Timestamp:
Apr 16, 2019, 4:44:07 PM (7 years ago)
Author:
Joseph Pecoraro
Message:

Web Inspector: Worker imported scripts not showing up in Open Quickly dialog if inspector open after workers exist
https://bugs.webkit.org/show_bug.cgi?id=196986

Reviewed by Devin Rousso.

  • UserInterface/Views/OpenResourceDialog.js:

(WI.OpenResourceDialog.prototype._addScriptsForTarget):
We were unnecessary skipping Scripts that do not have a sourceURL but do
have a URL, which ends up being Worker populated scripts.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r244358 r244363  
     12019-04-16  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Worker imported scripts not showing up in Open Quickly dialog if inspector open after workers exist
     4        https://bugs.webkit.org/show_bug.cgi?id=196986
     5
     6        Reviewed by Devin Rousso.
     7
     8        * UserInterface/Views/OpenResourceDialog.js:
     9        (WI.OpenResourceDialog.prototype._addScriptsForTarget):
     10        We were unnecessary skipping Scripts that do not have a sourceURL but do
     11        have a URL, which ends up being Worker populated scripts.
     12
    1132019-04-16  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.js

    r238859 r244363  
    328328            if (script.dynamicallyAddedScriptElement)
    329329                continue;
    330             if (!script.sourceURL || isWebKitInternalScript(script.sourceURL) || isWebInspectorConsoleEvaluationScript(script.sourceURL))
     330            if (isWebKitInternalScript(script.sourceURL) || isWebInspectorConsoleEvaluationScript(script.sourceURL))
    331331                continue;
    332332            this._addResource(script, suppressFilterUpdate);
Note: See TracChangeset for help on using the changeset viewer.