Closed
Bug 1317174
Opened 8 years ago
Closed 8 years ago
browser/base/content/test/general/browser_bug719271.js fails to run more than once in same browser session
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 53
People
(Reporter: malayaleecoder, Assigned: malayaleecoder)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
1.50 KB,
patch
|
Details | Diff | Splinter Review |
./mach mochitest browser/base/content/test/general/browser_bug719271.js --repeat 1 fails.
Assignee | ||
Comment 1•8 years ago
|
||
This patch fixes this issue, but makes the subsequent check of "Initial zoom of tab 1" less strict. Please suggest if there is a way around it.
Assignee: nobody → malayaleecoder
Status: NEW → ASSIGNED
Attachment #8810222 -
Flags: review?(jmaher)
Comment 2•8 years ago
|
||
Comment on attachment 8810222 [details] [diff] [review] Bug1317174_v1.diff Review of attachment 8810222 [details] [diff] [review]: ----------------------------------------------------------------- close! ::: browser/base/content/test/general/browser_bug719271.js @@ +25,5 @@ > Task.spawn(function* () { > is(gBrowser.selectedTab, gTab1, "Tab 1 is selected"); > + level1 = ZoomManager.getZoomForBrowser(gBrowser.getBrowserForTab(gTab1)); > + if(level1 > 1) > + FullZoom.reduce(); can you make level1 a variable? I would add a comment "reset zoom level if we run this test >1 time"
Attachment #8810222 -
Flags: review?(jmaher) → review-
Assignee | ||
Comment 3•8 years ago
|
||
Sorry, that was a typo.
Attachment #8810222 -
Attachment is obsolete: true
Attachment #8810462 -
Flags: review?(jmaher)
Comment 4•8 years ago
|
||
Comment on attachment 8810462 [details] [diff] [review] Bug1317174_v2.diff Review of attachment 8810462 [details] [diff] [review]: ----------------------------------------------------------------- In your commit message, please add a "r=jmaher" at the end. ::: browser/base/content/test/general/browser_bug719271.js @@ +28,5 @@ > + //Reset zoom level if we run this test > 1 time in same browser session. > + var level1 = ZoomManager.getZoomForBrowser(gBrowser.getBrowserForTab(gTab1)); > + if(level1 > 1) > + FullZoom.reduce(); > + last small thing here, there is whitespace on line 32 although it is a blank line. if you can upload another patch with this line actually 'blank', we can go ahead and land it.
Attachment #8810462 -
Flags: review?(jmaher) → review+
Updated•8 years ago
|
Attachment #8810474 -
Flags: review+
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/91db8a985f7f Fix browser_bug719271.js to run multiple times in a single session r=jmaher
Assignee | ||
Comment 7•8 years ago
|
||
Resolved typo seen over here, https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=91db8a985f7fadecde63e3a4e20a4529fcdcc456&selectedJob=39156726
Attachment #8810474 -
Attachment is obsolete: true
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/mozilla-inbound/rev/f35b3bbdd3c5 Fix browser_bug719271.js to run multiple times in a single session: fix eslint failures. r=eslint-fix
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/91db8a985f7f https://hg.mozilla.org/mozilla-central/rev/f35b3bbdd3c5
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 10•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/dbd635f89ddc
status-firefox52:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•