Bug 1515736 - [release 111] [breakpoints] tweak column breakpoints test (#7532). r=lsmyth
authorJason Laster <jlaster@mozilla.com>
Fri, 21 Dec 2018 11:50:23 -0500
changeset 508831 51b47794ef39475489ba1fb9b2557bcee4abd769
parent 508830 0da803764ff9a9a27253aa82328b73e0aff2325a
child 508832 7f09d46f63d647170876ff99b87c415d13045070
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsmyth
bugs1515736
milestone66.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
Bug 1515736 - [release 111] [breakpoints] tweak column breakpoints test (#7532). r=lsmyth
devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js
--- 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");