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

Changeset 185751 in webkit


Ignore:
Timestamp:
Jun 19, 2015, 10:08:28 AM (11 years ago)
Author:
andersca@apple.com
Message:

Disable SpinTracer detection while loading sync XHR
https://bugs.webkit.org/show_bug.cgi?id=146150
rdar://problem/21462023

Reviewed by Dan Bernstein.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:

(WebKit::WebPlatformStrategies::loadResourceSynchronously):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r185749 r185751  
     12015-06-19  Anders Carlsson  <andersca@apple.com>
     2
     3        Disable SpinTracer detection while loading sync XHR
     4        https://bugs.webkit.org/show_bug.cgi?id=146150
     5        rdar://problem/21462023
     6
     7        Reviewed by Dan Bernstein.
     8
     9        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
     10        (WebKit::WebPlatformStrategies::loadResourceSynchronously):
     11
    1122015-06-19  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp

    r182760 r185751  
    2929#include "BlockingResponseMap.h"
    3030#include "DataReference.h"
     31#include "HangDetectionDisabler.h"
    3132#include "NetworkResourceLoadParameters.h"
    3233#include "PluginInfoStore.h"
     
    240241    data.resize(0);
    241242
     243    HangDetectionDisabler hangDetectionDisabler;
     244
    242245    if (!webProcess.networkConnection()->connection()->sendSync(Messages::NetworkConnectionToWebProcess::PerformSynchronousLoad(loadParameters), Messages::NetworkConnectionToWebProcess::PerformSynchronousLoad::Reply(error, response, data), 0)) {
    243246        response = ResourceResponse();
Note: See TracChangeset for help on using the changeset viewer.