Closed Bug 805420 Opened 12 years ago Closed 8 years ago

content/html/document/test/test_bug199692.html has 4 failures on android when running on the panda boards

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: martijn.martijn)

References

Details

Attachments

(1 file)

17377 INFO TEST-START | /tests/content/html/document/test/test_bug199692.html
17378 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | document.elementFromPoint must exist
17379 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | must be a function
17380 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Negative coordinates (-1, 0) should return null
17381 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Negative coordinates (0, -1) should return null
17382 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Negative coordinates (-1, -1) should return null
17383 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (15,34) IDs should match (upper left corner of txt)
17384 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (209,58) IDs should match (lower right corner of txt)
17385 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (15,70) IDs should match (upper left corner of empty)
17386 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (209,84) IDs should match (lower right corner of empty)
17387 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (15,96) IDs should match (upper left corner of whitespace)
17388 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (501,110) IDs should match (lower right corner of whitespace)
17389 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (15,120) IDs should match (upper left corner of static)
17390 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (49,133) IDs should match (lower right corner of static)
17391 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/document/test/test_bug199692.html | (107,507) IDs should match (upper left corner of fixed) - got null, expected [object HTMLSpanElement]
17392 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/document/test/test_bug199692.html | (303,523) IDs should match (lower right corner of fixed) - got null, expected [object HTMLSpanElement]
17393 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/document/test/test_bug199692.html | (157,557) IDs should match (upper left corner of absolute) - got null, expected [object HTMLSpanElement]
17394 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/document/test/test_bug199692.html | (351,571) IDs should match (lower right corner of absolute) - got null, expected [object HTMLSpanElement]
17395 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (15,350) IDs should match (upper left corner of relative)
17396 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (209,364) IDs should match (lower right corner of relative)
17397 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (307,124) IDs should match (upper left corner of float)
17398 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (501,138) IDs should match (lower right corner of float)
17399 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (327,291) IDs should match (upper left corner of textbox)
17400 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | (473,307) IDs should match (lower right corner of textbox)
17401 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Point to right of #txt should be #content
17402 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Point to right of #txt should be #content
17403 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Point to right of #txt should be #content
17404 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Point to right of #txt should be #content
17405 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Hit testing should bypass hidden elements.
17406 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Element from nested iframe returned is from calling document
17407 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | Element from doubly nested iframe returned is from calling document
17408 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | document.elementFromPoint not respecting scrolling?
17409 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | should have returned null for a not-visible point
17410 INFO TEST-PASS | /tests/content/html/document/test/test_bug199692.html | should have returned null for a not-visible point
17411 INFO TEST-END | /tests/content/html/document/test/test_bug199692.html | finished in 888ms


The 4 failures seem to be in testing the corners of absolute positions.  We have a 1024x768 resolution on the panda boards, but the total size does fit in 600x600 which this test seems to require.  Maybe when we launch the window at 600x600 it includes more pixels for the chrome bits and that adds scrollbars or somethign?
Blocks: 811644
I get something similar when changing:
    window.open("bug199692-popup.html", "bug199692", "width=600,height=600");
to:
    window.open("bug199692-popup.html", "bug199692", "width=600,height=500");

Result:
failed | (107,507) IDs should match (upper left corner of fixed) - got null, expected [object HTMLSpanElement]
failed | (303,523) IDs should match (lower right corner of fixed) - got null, expected [object HTMLSpanElement]
failed | (157,557) IDs should match (upper left corner of absolute) - got null, expected [object HTMLSpanElement]
failed | (351,571) IDs should match (lower right corner of absolute) - got null, expected [object HTMLSpanElement]

Popup windows in Fennec open like a normal window, it ignores the size.

If you're saying that the panda boards have a 1024x768 resolution, then I don't see how these failures would happen.

But still, it seems like there is not enough screen size for the popup somehow.

Fwiw, I have the standalone mochitest here:
http://people.mozilla.org/~mwargers/mochitestjs2/test_bug199692.html
Attached patch 199692.diffSplinter Review
Something like this might make it work on Android.
What is the lowest resolution (b2g?) where these mochitests are running on?
I could make sure it would work on that resolution.
we decided on 600x600 for reftests, although I assume there are some b2g scenarios that fail that.
The lowest resolution I see is this:
     INFO -  results: {'screen': ['X:1280 Y:672']}
I'm not sure what the resolution on the b2g emulator is, it doesn't give that info in the log, afaik. However, for the case of b2g, the popup window code needs to be adjusted, anyway, before even having a change of this test to pass.

I guess something like the patch I attached can be tried.

I'm just wondering, was this failure happening every time, or is it an intermittent failure (this one blocks bug 811644, namely)?
I guess I should just try it out, otherwise.
Assignee: nobody → martijn.martijn
This test is enabled on Android and b2g and apparently not causing any problems, so it seems to me this bug can be closed.
Pandas are no longer, and no reports for about 2 years
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: