Closed
Bug 608349
Opened 14 years ago
Closed 14 years ago
Fix browser-chrome tests
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wesj, Assigned: wesj)
Details
(Whiteboard: [fennec-checkin-postb2])
Attachments
(1 file)
7.62 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
I'm seeing about 12 browser-chrome test failures in mobile: TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_addons.js | Restart exists = true - Got false, expected true hash entry is wrong. Its probably easiest to just not use one. TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | urlbar text should be selected on a click - Got false, expected true TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | urlbar text should be selected on a click - Got false, expected true TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | urlbar text should be selected on a click - Got false, expected true We are setting edit.clickSelectsAll = false; and then expecting the text to be selected. TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_preferences_text.js | The About Page and the Fennec Start are of same height TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_preferences_text.js | The fields of Privacy & Security are of same height TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_preferences_text.js | The fields of Content Region and above are of same height TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_preferences_text.js | The fields of Privacy & Security and above are of same height Broken when the theme landed. I fixed on of these. The others are for checkboxes, which for some reason are drawn wrong when I run mochitests (they use the system theme, not the fennec one). TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Plain link context types TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Plain image context types TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_tapping.js | Nested image context types Clicks aren't firing on the elements they are supposed to. Using the boundingClientRect on the first one seems to fix this for all three tests... TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_viewport.js | Viewport scale=0.8163 [got 1, expected 0.8163] I don't think we're zooming out any more (not sure what bug changed that?), so I just updated this test to expect 1.
Comment 1•14 years ago
|
||
(In reply to comment #0) > Created attachment 486985 [details] [diff] [review] > Patch > > I'm seeing about 12 browser-chrome test failures in mobile: > > TEST-UNEXPECTED-FAIL | > chrome://mochitests/content/browser/mobile/chrome/browser_addons.js | Restart > exists = true - Got false, expected true > > hash entry is wrong. Its probably easiest to just not use one. Sounds good > TEST-UNEXPECTED-FAIL | > chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | > urlbar text should be selected on a click - Got false, expected true > TEST-UNEXPECTED-FAIL | > chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | > urlbar text should be selected on a click - Got false, expected true > TEST-UNEXPECTED-FAIL | > chrome://mochitests/content/browser/mobile/chrome/browser_awesomescreen.js | > urlbar text should be selected on a click - Got false, expected true > > We are setting edit.clickSelectsAll = false; and then expecting the text to be > selected. These awesomescreen failures are probably causing the awesomescreen to stay open and then causing many of the next tests to fail. We should force the awesomescreen to close in the cleanup of these tests.
Assignee | ||
Updated•14 years ago
|
Attachment #486985 -
Flags: review?(mbrubeck)
Comment 2•14 years ago
|
||
Comment on attachment 486985 [details] [diff] [review] Patch Great!
Attachment #486985 -
Flags: review?(mbrubeck) → review+
Updated•14 years ago
|
Whiteboard: [fennec-checkin-postb2]
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mobile-browser/rev/19b67cae68f6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 4•13 years ago
|
||
How can I verify this?
You need to log in
before you can comment on or make changes to this bug.
Description
•