Closed Bug 582745 Opened 14 years ago Closed 14 years ago

Errors during browser_bookmarks_star.js tests

Categories

(Firefox for Android Graveyard :: Bookmarks, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: vingtetun)

Details

(Whiteboard: [fennec-checkin-posta1])

Attachments

(1 file, 1 obsolete file)

TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js | Test adding tags via star icon
TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js | Console message: [JavaScript Error: "this.control is null" {file: "chrome://browser/content/bindings.xml" line: 478}]
TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js | Console message: [JavaScript Error: "document.getElementById("bookmark-item") is null" {file: "chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js" line: 147}]
TEST-INFO | chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js | Console message: [JavaScript Error: "content is null" {file: "chrome://browser/content/content.js" line: 480}]
TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/mobile/chrome/browser_bookmarks_star.js | Timed out
Attached patch Patch (obsolete) — Splinter Review
This patch resolve the bookmark_star timeout and a few others problem.
The change in browser-ui is to hide the popup when the url change (and I need to clean that part) otherwise some test are failing. 
The patch needs probably some small change before a real review
Assignee: nobody → 21
Attachment #466662 - Flags: feedback?(mark.finkle)
Comment on attachment 466662 [details] [diff] [review]
Patch

Approach looks good. Lots of test cleanup too
Attachment #466662 - Flags: feedback?(mark.finkle) → feedback+
Attached patch PatchSplinter Review
This patch change stuff into different places:
 * Add a message listener onto the bookmark popup to hide it if the page change
 * rewrite tests to use pageshow and avoid the waitFor failure
 * replace some tests as "todo" because there are failing when use in directly from the testsuite but not when launch individually (one of them was also blocking the testsuite, a problem with synthesize event and e10s I assume)

Now, testsuite is finally green! 
hmm, well I admit to have seen a random failure into the browser_viewport.js test and one into browser_navigation.js but this is hard to reproduce and this can be filed into different bug (this is not from my modifications)
Attachment #466662 - Attachment is obsolete: true
Attachment #467022 - Flags: review?(mark.finkle)
Comment on attachment 467022 [details] [diff] [review]
Patch

r+ but do not land until alpha1 has shipped
Attachment #467022 - Flags: review?(mark.finkle) → review+
Whiteboard: [fennec-checkin-posta1]
http://hg.mozilla.org/mobile-browser/rev/7be60f729dba
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: