| Index: content/shell/layout_test_controller_host.cc
|
| diff --git a/content/shell/layout_test_controller_host.cc b/content/shell/layout_test_controller_host.cc
|
| index b1b8563c12dbf9640c33a0211e2431e555ff4cc4..eeb6063c1bd6dd24ee366c78daf9746213f90201 100644
|
| --- a/content/shell/layout_test_controller_host.cc
|
| +++ b/content/shell/layout_test_controller_host.cc
|
| @@ -91,6 +91,7 @@ bool LayoutTestControllerHost::OnMessageReceived(
|
| ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload,
|
| OnSetShouldStayOnPageAfterHandlingBeforeUnload)
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_WaitUntilDone, OnWaitUntilDone)
|
| + IPC_MESSAGE_HANDLER(ShellViewHostMsg_NotImplemented, OnNotImplemented)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -192,4 +193,17 @@ void LayoutTestControllerHost::OnWaitUntilDone() {
|
| wait_until_done_ = true;
|
| }
|
|
|
| +void LayoutTestControllerHost::OnNotImplemented(
|
| + const std::string& object_name,
|
| + const std::string& property_name) {
|
| + if (captured_dump_)
|
| + return;
|
| + printf("FAIL: NOT IMPLEMENTED: %s.%s\n",
|
| + object_name.c_str(), property_name.c_str());
|
| + fprintf(stderr, "FAIL: NOT IMPLEMENTED: %s.%s\n",
|
| + object_name.c_str(), property_name.c_str());
|
| + watchdog_.Cancel();
|
| + CaptureDump();
|
| +}
|
| +
|
| } // namespace content
|
|
|