Closed
Bug 604353
Opened 15 years ago
Closed 15 years ago
Random failure into browser_viewport.js
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: vingtetun, Assigned: vingtetun)
Details
Attachments
(1 file)
|
5.83 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
Bug 601619 change the awesome panel code and this add an effect on browser_viewport.js.
browser_viewport.js also behave differently while run alone or in the testsuite, those needs to be fixed.
| Assignee | ||
Comment 1•15 years ago
|
||
Most of the patch is just code rewrite :
* loadUrl -> loadURL
* var -> let
* adding spaces around "+" when needed
* renaming working_tab -> currentTab to fit with the name used in most of the test
The interesting part are:
* the change in browser.xml (not needed) but I'm not sure we need to send all thoses messages when there is no change in the scale level
* the move from setTimeout(callback, 0) to waitFor. In most situation we are fine and we don't really wait for anything since there is a check at the beginning of the function to ensure the condition is not already ok. But for the cases where 2 MozScrolledAreaChanged happened this allow us to wait for the right scale and prevent those random orange
Assignee: nobody → 21
Attachment #499928 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•15 years ago
|
Attachment #499928 -
Flags: review?(mark.finkle) → review?(mbrubeck)
Updated•15 years ago
|
Attachment #499928 -
Flags: review?(mbrubeck) → review+
| Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 3•15 years ago
|
||
Vivien can you provide some steps to reproduce ? So that I can verify this bug...
| Assignee | ||
Comment 4•15 years ago
|
||
it is verified, there are issues with browser_viewport.js but they are different.
Comment 5•15 years ago
|
||
VERIFIED FIXED on:
Build ID: Mozilla/5.0 (Maemo; Linux armv7l; rv:6.0a1) Gecko/20110510
Firefox/6.0a1 Fennec/6.0a1
Mozilla /5.0 (Android;Linux armv7l;rv:6.0a1) Gecko/20110515 Firefox/6.0a1 Fennec/6.0a1
Mozilla /5.0 (Android;Linux armv7l;rv:5.0a1) Gecko/20110515 Firefox/5.0a2 Fennec/5.0a2
Devices: Nokia N900(Maemo GTK), HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•