Changeset 181363 in webkit


Ignore:
Timestamp:
Mar 10, 2015 8:29:44 PM (9 years ago)
Author:
Chris Dumez
Message:

5 tests fail on Apple Mac WK2 performance bots
https://bugs.webkit.org/show_bug.cgi?id=142485

Reviewed by Andreas Kling.

Only log errors in debug builds if SandboxExtension::createHandle() fails
so that performance tests don't fail because of it. Such error is not
fatal and is expected under certain circumstances. In particular,
SandboxExtension::createHandle() is sometimes called for non-existing
files (e.g. from NetworkResourceLoadParameters::encode()).

  • Shared/mac/SandboxExtensionMac.mm:

(WebKit::SandboxExtension::createHandle):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181342 r181363  
     12015-03-10  Chris Dumez  <cdumez@apple.com>
     2
     3        5 tests fail on Apple Mac WK2 performance bots
     4        https://bugs.webkit.org/show_bug.cgi?id=142485
     5
     6        Reviewed by Andreas Kling.
     7
     8        Only log errors in debug builds if SandboxExtension::createHandle() fails
     9        so that performance tests don't fail because of it. Such error is not
     10        fatal and is expected under certain circumstances. In particular,
     11        SandboxExtension::createHandle() is sometimes called for non-existing
     12        files (e.g. from NetworkResourceLoadParameters::encode()).
     13
     14        * Shared/mac/SandboxExtensionMac.mm:
     15        (WebKit::SandboxExtension::createHandle):
     16
    1172015-03-10  Timothy Horton  <timothy_horton@apple.com>
    218
  • trunk/Source/WebKit2/Shared/mac/SandboxExtensionMac.mm

    r170313 r181363  
    221221    handle.m_sandboxExtension = WKSandboxExtensionCreate(standardizedPath.data(), wkSandboxExtensionType(type));
    222222    if (!handle.m_sandboxExtension)
    223         WTFLogAlways("Could not create a sandbox extension for '%s'", path.utf8().data());
     223        LOG_ERROR("Could not create a sandbox extension for '%s'", path.utf8().data());
    224224}
    225225
Note: See TracChangeset for help on using the changeset viewer.