Web Inspector: Assertion Failures breakpoint should respect global Breakpoints enable...
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Dec 2016 20:22:58 +0000 (20:22 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Dec 2016 20:22:58 +0000 (20:22 +0000)
commit67afd1a37a13e1a7440f0e4894d8a69e28d2e9cb
tree1ff4933abbc3bcb63733e6623694f11dcaa1191b
parent2bdcb46c3b418d2ad35b54be0cb08d7eee4a52e0
Web Inspector: Assertion Failures breakpoint should respect global Breakpoints enabled setting
https://bugs.webkit.org/show_bug.cgi?id=165277
<rdar://problem/29467098>

Reviewed by Mark Lam.

Source/JavaScriptCore:

* inspector/agents/InspectorDebuggerAgent.cpp:
(Inspector::InspectorDebuggerAgent::handleConsoleAssert):
Check that breakpoints are active before pausing.

LayoutTests:

New test for DebuggerManager.prototype.breakPointsEnabled.

* inspector/debugger/breakpoints-disabled-expected.txt: Added.
* inspector/debugger/breakpoints-disabled.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/debugger/breakpoints-disabled-expected.txt [new file with mode: 0644]
LayoutTests/inspector/debugger/breakpoints-disabled.html [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp