Changeset 223164 in webkit


Ignore:
Timestamp:
Oct 10, 2017 8:16:39 PM (7 years ago)
Author:
BJ Burg
Message:

Web Inspector: Quick Open: source mapped files are not shown as search results
https://bugs.webkit.org/show_bug.cgi?id=178151
<rdar://problem/31561718>

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/OpenResourceDialog.js:

(WI.OpenResourceDialog.prototype._addResource):
Also consider matching the query string against SourceMapResources
attached to a resource's source maps.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r223147 r223164  
     12017-10-10  Brian Burg  <bburg@apple.com>
     2
     3        Web Inspector: Quick Open: source mapped files are not shown as search results
     4        https://bugs.webkit.org/show_bug.cgi?id=178151
     5        <rdar://problem/31561718>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * UserInterface/Views/OpenResourceDialog.js:
     10        (WI.OpenResourceDialog.prototype._addResource):
     11        Also consider matching the query string against SourceMapResources
     12        attached to a resource's source maps.
     13
    1142017-10-10  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.js

    r220119 r223164  
    266266            return;
    267267
     268        // Recurse on source maps if any exist.
     269        for (let sourceMap of resource.sourceMaps) {
     270            for (let sourceMapResource of sourceMap.resources)
     271                this._addResource(sourceMapResource, suppressFilterUpdate);
     272        }
     273
    268274        this._queryController.addResource(resource);
    269275        if (suppressFilterUpdate)
Note: See TracChangeset for help on using the changeset viewer.