Skip to content

Commit

Permalink
Add comments for each XHR breakpoint test (firefox-devtools#7119)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing authored and Dejan Tomic committed Oct 23, 2018
1 parent 955bea1 commit 9b967be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/mochitest/browser_dbg-xhr-breakpoints.js
Expand Up @@ -2,6 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

// Tests that a basic XHR breakpoint works for get and POST is ignored
add_task(async function() {
const dbg = await initDebugger("doc-xhr.html");
await waitForSources(dbg, "fetch.js");
Expand All @@ -20,6 +21,7 @@ add_task(async function() {
assertNotPaused(dbg);
});

// Tests the "pause on any URL" checkbox works properly
add_task(async function() {
const dbg = await initDebugger("doc-xhr.html");
await waitForSources(dbg, "fetch.js");
Expand Down

0 comments on commit 9b967be

Please sign in to comment.