Index: chrome/test/pyautolib/pyauto.py |
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py |
index 1e6bbaa289ea3fdb76f497d1931269db04f8994b..184e1cfdd72e53c25d087ba911a0f18d7336a344 100755 |
--- a/chrome/test/pyautolib/pyauto.py |
+++ b/chrome/test/pyautolib/pyauto.py |
@@ -4026,6 +4026,15 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): |
tab_index, windex, frame_xpath), |
expect_retval='complete') |
+ def SimulateAsanMemoryBug(self): |
+ """Simulates a memory bug for Address Sanitizer to catch. |
+ |
+ Address Sanitizer (if it was built it) will catch the bug and abort |
+ the process. |
+ """ |
+ cmd_dict = { 'command': 'SimulateAsanMemoryBug' } |
+ self._GetResultFromJSONRequest(cmd_dict, windex=None) |
+ |
## ChromeOS section |
def GetLoginInfo(self): |