| Index: third_party/WebKit/PRESUBMIT.py
|
| diff --git a/third_party/WebKit/PRESUBMIT.py b/third_party/WebKit/PRESUBMIT.py
|
| index ca89625707527930245d17f28f2dd4f9d588bfc8..8d073343a52f62e7880fe77effdc74e4692f894d 100644
|
| --- a/third_party/WebKit/PRESUBMIT.py
|
| +++ b/third_party/WebKit/PRESUBMIT.py
|
| @@ -175,11 +175,11 @@ def _CheckForDangerousTestFunctions(input_api, output_api):
|
| input_api, None)
|
| errors = [' * %s' % violation for violation in errors]
|
| if errors:
|
| - return [output_api.PresubmitError(
|
| - 'You should be using FrameTestHelpers::'
|
| - 'pumpPendingRequests() instead of '
|
| - 'serveAsynchronousMockedRequests() in the following '
|
| - 'locations:\n%s' % '\n'.join(errors))]
|
| + return [output_api.PresubmitPromptOrNotify(
|
| + 'You should probably be using one of the FrameTestHelpers::'
|
| + '(re)load* functions instead of '
|
| + 'serveAsynchronousMockedRequests() in the following '
|
| + 'locations:\n%s' % '\n'.join(errors))]
|
| return []
|
|
|
|
|
|
|