Closed
Bug 886624
Opened 11 years ago
Closed 11 years ago
Defect - Tests fail on HiDPI systems
Categories
(Firefox for Metro Graveyard :: Tests, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: jwilde, Assigned: jwilde)
References
Details
(Whiteboard: feature=defect c=tbd u=tbd p=1)
Attachments
(1 file)
1.88 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
As discussed with jimm, mochitests currently fail on HiDPI systems due to issues with nsIDOMWindowUtils. The Mozilla test slaves currently don't test HiDPI. We'll need to have that eventually. The solution for this will take place in two parts. Part 1: - apply SpecialPowers to set prefs such that Part 2: - modify nsIDOMWindowUtils to honor HiDPI settings - [set up test slaves that can run HiDPI tests]
Assignee | ||
Comment 1•11 years ago
|
||
(In reply to Jonathan Wilde [:jwilde] from comment #0) > Part 1: > - apply SpecialPowers to set prefs such that *such that the tests currently broken on HiDPI displays will have the `layout.css.devPixelsPerPx` pref set to `1.0`. This SpecialPowers code should be removed when Part 2 lands.
Updated•11 years ago
|
Blocks: metrov1defect&change
Whiteboard: [leave open] → [leave open] feature=defect c=tbd u=tbd p=0
Assignee | ||
Updated•11 years ago
|
Summary: Defect - Tests fail on HiDPI systems → Defect - Tests not supported on HiDPI systems
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #767004 -
Flags: review?(jmathies)
Comment 3•11 years ago
|
||
Hi Jonathan, what point value do you estimate for this Defect?
Flags: needinfo?(jwilde)
Assignee | ||
Comment 4•11 years ago
|
||
I don't really have the expertise to complete both parts of the bug (hrm, maybe we should split this?), but I could see this potentially being 20, given the large swath of Mozilla testing infrastructure that'd get affected by the part 2 changes. Part 1 is a p=1, though.
Flags: needinfo?(jwilde)
Comment 5•11 years ago
|
||
Thanks Jonathan. Yes, we'll deal with just Part 1 for now as you've described.
Updated•11 years ago
|
Whiteboard: [leave open] feature=defect c=tbd u=tbd p=0 → [leave open] feature=defect c=tbd u=tbd p=1
Comment 6•11 years ago
|
||
(In reply to Jonathan Wilde [:jwilde] from comment #4) > I don't really have the expertise to complete both parts of the bug (hrm, > maybe we should split this?), but I could see this potentially being 20, > given the large swath of Mozilla testing infrastructure that'd get affected > by the part 2 changes. > > Part 1 is a p=1, though. part 2 should be a different bug filed in Core/Testing. It's probably been discussed as well, may already be filed.
Comment 7•11 years ago
|
||
Comment on attachment 767004 [details] [diff] [review] patch for part 1, v1 Review of attachment 767004 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/tests/mochitest/head.js @@ +28,5 @@ > } > > +function setDevPixelEqualToPx() > +{ > + todo(false, "browser_selection_frame needs devPixelsPerPx set to 1.0"); why the todo for browser_selection_frame?
Attachment #767004 -
Flags: review?(jmathies) → review+
Comment 8•11 years ago
|
||
test issues: bug 859742
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #7) > Comment on attachment 767004 [details] [diff] [review] > patch for part 1, v1 > > Review of attachment 767004 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/metro/base/tests/mochitest/head.js > @@ +28,5 @@ > > } > > > > +function setDevPixelEqualToPx() > > +{ > > + todo(false, "browser_selection_frame needs devPixelsPerPx set to 1.0"); > > why the todo for browser_selection_frame? he todo was intended to help track in the logs where we're applying this. That really should be a more generic todo message like "testcase sets devPixelsPerPx to 1.0", though.
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #8) > test issues: bug 859742 Sweet. I'll update the title on here and drop the leaveopen.
Summary: Defect - Tests not supported on HiDPI systems → Defect - Tests fail on HiDPI systems
Whiteboard: [leave open] feature=defect c=tbd u=tbd p=1 → feature=defect c=tbd u=tbd p=1
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/61102ea334c7
Updated•11 years ago
|
QA Contact: jbecerra
Updated•11 years ago
|
Priority: -- → P2
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/61102ea334c7
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Comment 13•11 years ago
|
||
Jonathan, are these tests passing now, for part 1?
Flags: needinfo?(jwilde)
Assignee | ||
Comment 15•11 years ago
|
||
Though, I haven't developing/running tests on a HiDPI machine in a couple weeks, so I should probably double check that's still the case.
Assignee | ||
Comment 16•11 years ago
|
||
Just compiled m-c and ran all tests on a device that's HiDPI. Everything passed.
Comment 18•11 years ago
|
||
Hi Jim, Can you please provide steps to test this?
Flags: needinfo?(jmathies)
Comment 19•11 years ago
|
||
(In reply to Samvedana (:Samvedana) from comment #18) > Hi Jim, Can you please provide steps to test this? This is an automated tests change, if our tests are succeeding on tbpl (which they are), this bug is verified.
Flags: needinfo?(jmathies)
Updated•11 years ago
|
Flags: needinfo?(jwilde)
Comment 20•11 years ago
|
||
Marco if this is on your testing spreadsheet, it can be removed. Nothing to test here in the app.
Flags: needinfo?(mmucci)
Assignee | ||
Comment 22•11 years ago
|
||
Sorry for missing this. (I didn't have "Include Closed" checked in "My Dashboard" on Bugzilla.) Do we have HiDPI test slaves for TBPL now? The (possibly outdated) issue I recall from a while back was that the TBPL machines defaulted to devPixelsPerPx = 1.0, so the test suite could be green there, but still fail on a device with a higher pixel density.
Comment 23•11 years ago
|
||
(In reply to Jonathan Wilde [:jwilde] from comment #22) > Sorry for missing this. (I didn't have "Include Closed" checked in "My > Dashboard" on Bugzilla.) > > Do we have HiDPI test slaves for TBPL now? Not yet, bug 859742 was filed on running tests at higher values.
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•