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

Changeset 175993 in webkit


Ignore:
Timestamp:
Nov 11, 2014, 5:05:58 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Don't require a debugger be attached for inspector auto attach
https://bugs.webkit.org/show_bug.cgi?id=138638

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-11-11
Reviewed by Timothy Hatcher.

  • inspector/remote/RemoteInspector.mm:

(Inspector::RemoteInspector::updateDebuggableAutomaticInspectCandidate):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r175967 r175993  
     12014-11-11  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Don't require a debugger be attached for inspector auto attach
     4        https://bugs.webkit.org/show_bug.cgi?id=138638
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * inspector/remote/RemoteInspector.mm:
     9        (Inspector::RemoteInspector::updateDebuggableAutomaticInspectCandidate):
     10
    1112014-11-11  Akos Kiss  <akiss@inf.u-szeged.hu>
    212
  • trunk/Source/JavaScriptCore/inspector/remote/RemoteInspector.mm

    r175629 r175993  
    190190        ASSERT_UNUSED(result, !result.isNewEntry);
    191191
    192         // Don't allow automatic inspection unless there is a debugger or we are stopped.
    193         if (!WTFIsDebuggerAttached() || !m_automaticInspectionEnabled || !m_enabled) {
     192        // Don't allow automatic inspection unless it is allowed or we are stopped.
     193        if (!m_automaticInspectionEnabled || !m_enabled) {
    194194            pushListingSoon();
    195195            return;
Note: See TracChangeset for help on using the changeset viewer.