Remove base.debug.assert.
commit755fbbd0d3ca4489f9d241f657ce0c184bd1fa91
authorjamiewalch <jamiewalch@chromium.org>
Sat, 27 Jun 2015 01:36:06 +0000 (26 18:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 27 Jun 2015 01:37:43 +0000 (27 01:37 +0000)
tree405153245ed3c8d7cebd192f337b544e2b50e7a5
parent5e0fff892917abdbbb1f8be7441c6b8179c83f40
Remove base.debug.assert.

This CL replaces calls to base.debug.assert with calls to console.assert.
It also adds a message to asserts that didn't have them, splitting and
consolidating asserts where doing so gives a simpler or more specific
message.

BUG=504505

Review URL: https://codereview.chromium.org/1211983003

Cr-Commit-Position: refs/heads/master@{#336488}
51 files changed:
remoting/webapp/app_remoting/js/app_connected_view.js
remoting/webapp/app_remoting/js/ar_auth_dialog.js
remoting/webapp/app_remoting/js/context_menu_dom.js
remoting/webapp/app_remoting/js/feedback_consent.js
remoting/webapp/app_remoting/js/idle_detector.js
remoting/webapp/base/js/application.js
remoting/webapp/base/js/base.js
remoting/webapp/base/js/base_unittest.js
remoting/webapp/base/js/client_plugin_impl.js
remoting/webapp/base/js/client_session.js
remoting/webapp/base/js/dns_blackhole_checker.js
remoting/webapp/base/js/fallback_signal_strategy.js
remoting/webapp/base/js/ipc.js
remoting/webapp/base/js/message_window.js
remoting/webapp/base/js/message_window_helper.js
remoting/webapp/base/js/message_window_manager.js
remoting/webapp/base/js/modal_dialogs.js
remoting/webapp/base/js/protocol_extension_manager.js
remoting/webapp/base/js/tcp_socket.js
remoting/webapp/base/js/viewport.js
remoting/webapp/base/js/wcs_adapter.js
remoting/webapp/base/js/wcs_sandbox_container.js
remoting/webapp/base/js/window_message_dispatcher.js
remoting/webapp/base/js/xhr.js
remoting/webapp/base/js/xhr_event_writer.js
remoting/webapp/base/js/xmpp_connection.js
remoting/webapp/base/js/xmpp_login_handler.js
remoting/webapp/base/js/xmpp_stream_parser.js
remoting/webapp/browser_test/browser_test.js
remoting/webapp/browser_test/bump_scroll_browser_test.js
remoting/webapp/crd/js/buffered_signal_strategy.js
remoting/webapp/crd/js/crd_auth_dialog.js
remoting/webapp/crd/js/desktop_connected_view.js
remoting/webapp/crd/js/feedback.js
remoting/webapp/crd/js/gcd_client_unittest.js
remoting/webapp/crd/js/host_controller.js
remoting/webapp/crd/js/host_controller_unittest.js
remoting/webapp/crd/js/host_daemon_facade_unittest.js
remoting/webapp/crd/js/host_screen.js
remoting/webapp/crd/js/host_table_entry.js
remoting/webapp/crd/js/me2me_activity.js
remoting/webapp/crd/js/menu_button_unittest.js
remoting/webapp/crd/js/mock_client_plugin.js
remoting/webapp/crd/js/mock_xhr.js
remoting/webapp/crd/js/mock_xhr_unittest.js
remoting/webapp/crd/js/options_menu.js
remoting/webapp/crd/js/video_frame_recorder.js
remoting/webapp/crd/js/window_frame.js
remoting/webapp/js_proto/chrome_mocks.js
remoting/webapp/unittests/sinon_helpers.js
remoting/webapp/unittests/spy_promise.js