Changeset 259565 in webkit for trunk/Source/JavaScriptCore/shell


Ignore:
Timestamp:
Apr 5, 2020, 11:02:06 PM (5 years ago)
Author:
Ross Kirsling
Message:

DLLLauncherMain print to console instead of opening window on fatal error
https://bugs.webkit.org/show_bug.cgi?id=206537

Reviewed by Fujii Hironori.

Source/JavaScriptCore:

  • shell/DLLLauncherMain.cpp:

(fatalError):

Tools:

  • win/DLLLauncher/DLLLauncherMain.cpp:

(fatalError):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/shell/DLLLauncherMain.cpp

    r259102 r259565  
    9595{
    9696    std::wstring caption = programName + L" can't open.";
     97#if USE_CONSOLE_ENTRY_POINT
     98    fwprintf(stderr, L"%s\n%s\n", caption.c_str(), message.c_str());
     99#else
    97100    ::MessageBoxW(0, message.c_str(), caption.c_str(), MB_ICONERROR);
     101#endif
    98102    return 1;
    99103}
Note: See TracChangeset for help on using the changeset viewer.