author | Jason Laster <jlaster@mozilla.com> |
Fri, 21 Dec 2018 11:50:23 -0500 | |
changeset 451728 | 51b47794ef39475489ba1fb9b2557bcee4abd769 |
parent 451727 | 0da803764ff9a9a27253aa82328b73e0aff2325a |
child 451729 | 7f09d46f63d647170876ff99b87c415d13045070 |
push id | 35252 |
push user | ccoroiu@mozilla.com |
push date | Fri, 21 Dec 2018 21:56:22 +0000 |
treeherder | mozilla-central@b23630094b9c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | lsmyth |
bugs | 1515736 |
milestone | 66.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js | file | annotate | diff | comparison | revisions |
--- a/devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js @@ -55,23 +55,23 @@ add_task(async function() { await selectSource(dbg, "simple1"); // Scroll down to desired line so that column breakpoints render getCM(dbg).setCursor({ line: 15, ch: 0 }); // Create a breakpoint at 15:undefined await addBreakpoint(dbg, "simple1", 15); - + // Wait for column breakpoint markers await waitForElementWithSelector(dbg, ".column-breakpoint"); let columnBreakpointMarkers = getColumnBreakpointElements(dbg); ok( - columnBreakpointMarkers.length === 2, + columnBreakpointMarkers.length === 2, "2 column breakpoint markers display" ); // Create a breakpoint at 15:8 columnBreakpointMarkers[0].click(); // Create a breakpoint at 15:28 columnBreakpointMarkers[1].click(); @@ -84,17 +84,17 @@ add_task(async function() { // Scroll down in secondary pane so element we want to right-click is showing dbg.win.document.querySelector(".secondary-panes").scrollTop = 100; // Set a condition at 15:8 await setConditionalBreakpoint(dbg, 4, "Eight"); // Ensure column breakpoint is yellow await waitForElementWithSelector(dbg, ".column-breakpoint.has-condition"); - + // Remove the breakpoint from 15:undefined via the secondary pane context menu removeBreakpointViaContext(dbg, 3); // Ensure that there's still a marker on line 15 await waitForState(dbg, state => dbg.selectors.getBreakpointCount(state) == 2); await waitForElementWithSelector(dbg, ".column-breakpoint.has-condition"); columnBreakpointMarkers = getColumnBreakpointElements(dbg); ok(hasCondition(columnBreakpointMarkers[0]), "First column breakpoint has conditional style");