Break On XHR

Jan Odvarko, odvarko@gmail.com

This test is intended to verify Conditional XHR Breakpoints support within the Net panel.

  1. Open Firebug and select the Net panel.
  2. Click on this button to execute XHR.
  3. Use a Breakpoint bar to create a new breakpoint for the request.
  4. Click on this button to execute the same XHR.
  5. Firebug must halt the JS execution.
Try to specify a condition for the breakpoint (right click on it) and execute further request using buttons below. Example expressions:
count == 1
$postBody.indexOf("Example") >= 0