Changeset 254473 in webkit


Ignore:
Timestamp:
Jan 13, 2020 5:08:49 PM (4 years ago)
Author:
ddkilzer@apple.com
Message:

WTR::TestController::decidePolicyForPluginLoad() should output bundle identifier on release assert
<https://webkit.org/b/206105>

Reviewed by Brent Fulgham.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::decidePolicyForPluginLoad): Change
RELEASE_ASSERT_NOT_REACHED() to
RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE() with bundle
identifier.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r254448 r254473  
     12020-01-13  David Kilzer  <ddkilzer@apple.com>
     2
     3        WTR::TestController::decidePolicyForPluginLoad() should output bundle identifier on release assert
     4        <https://webkit.org/b/206105>
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * WebKitTestRunner/TestController.cpp:
     9        (WTR::TestController::decidePolicyForPluginLoad): Change
     10        RELEASE_ASSERT_NOT_REACHED() to
     11        RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE() with bundle
     12        identifier.
     13
    1142020-01-13  Aakash Jain  <aakash_jain@apple.com>
    215
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r254342 r254473  
    23092309        return currentPluginLoadPolicy;
    23102310
    2311     RELEASE_ASSERT_NOT_REACHED(); // Please don't use any other plug-ins in tests, as they will not be installed on all machines.
     2311    // Please don't use any other plug-ins in tests, as they will not be installed on all machines.
     2312    RELEASE_ASSERT_NOT_REACHED_WITH_MESSAGE("Unexpected plugin bundle identifier: %s", toSTD(bundleIdentifier).c_str());
    23122313#else
    23132314    return currentPluginLoadPolicy;
Note: See TracChangeset for help on using the changeset viewer.