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

Changeset 211104 in webkit


Ignore:
Timestamp:
Jan 24, 2017, 1:22:53 PM (10 years ago)
Author:
matthew_hanson@apple.com
Message:

Merge r211054. rdar://problem/28891161

Location:
branches/safari-603-branch/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-603-branch/Source/WebKit2/ChangeLog

    r211103 r211104  
     12017-01-24  Matthew Hanson  <matthew_hanson@apple.com>
     2
     3        Merge r211054. rdar://problem/28891161
     4
     5    2017-01-23  Joseph Pecoraro  <pecoraro@apple.com>
     6
     7            Web Inspector: Asserts seen opening and closing Remote Web Inspector windows
     8            https://bugs.webkit.org/show_bug.cgi?id=167316
     9            <rdar://problem/28891161>
     10
     11            Reviewed by Alexey Proskuryakov.
     12
     13            * UIProcess/RemoteWebInspectorProxy.cpp:
     14            (WebKit::RemoteWebInspectorProxy::createFrontendPageAndWindow):
     15            Assume read access, like the local web inspector, to Web Inspector resources.
     16
     17            * WebProcess/WebPage/RemoteWebInspectorUI.cpp:
     18            (WebKit::RemoteWebInspectorUI::closeWindow):
     19            Clear ourselves as the inspector frontend client when closing.
     20
    1212017-01-24  Matthew Hanson  <matthew_hanson@apple.com>
    222
  • branches/safari-603-branch/Source/WebKit2/UIProcess/RemoteWebInspectorProxy.cpp

    r205369 r211104  
    130130
    131131    m_inspectorPage->process().addMessageReceiver(Messages::RemoteWebInspectorProxy::messageReceiverName(), m_inspectorPage->pageID(), *this);
     132    m_inspectorPage->process().assumeReadAccessToBaseURL(WebInspectorProxy::inspectorBaseURL());
    132133}
    133134
  • branches/safari-603-branch/Source/WebKit2/WebProcess/WebPage/RemoteWebInspectorUI.cpp

    r207466 r211104  
    120120void RemoteWebInspectorUI::closeWindow()
    121121{
     122    m_page.corePage()->inspectorController().setInspectorFrontendClient(nullptr);
     123
    122124    WebProcess::singleton().parentProcessConnection()->send(Messages::RemoteWebInspectorProxy::FrontendDidClose(), m_page.pageID());
    123125}
Note: See TracChangeset for help on using the changeset viewer.