[Webkit-unassigned] [Bug 191344] New: Web Inspector: Restrict domains at the target level instead of only at the window level

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 6 20:06:36 PST 2018


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

            Bug ID: 191344
           Summary: Web Inspector: Restrict domains at the target level
                    instead of only at the window level
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: inspector-bugzilla-changes at group.apple.com

Restrict domains at the target level instead of only at the window level

  • Currently we use `InspectorBackend.activateDomain` to restrict whether or not `window.FooAgent` is available in the main debuggable.
  • Currently we use `InspectorBackend.workerSupportedDomains` to restrict whether or not `target.FooAgent` is available to a Worker target.

Lets unify these into a single path:

  • activateDomain knows if a domain is supported for a particular debuggableType/target
  • only expose supported domains on a Target, restrict them to the list activateDomain modified

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181107/33977dec/attachment-0001.html>


More information about the webkit-unassigned mailing list