Opened 7 years ago

Closed 7 years ago

#16630 closed defect (worksforme)

viewport test failures

Reported by: haysmark Owned by: Douglas Hays
Priority: undecided Milestone: tbd
Component: HTML Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by haysmark)

In both FF18 and Chrome 24 when I run dojo/tests/window/viewPort.html and the quirks version in 1.8 I get:

 GROUP "tests.window.viewport" has 1 test to run
 2 tests to run in 1 groups
 ------------------------------------------------------------
 GROUP "dojo.window.viewport" has 2 tests to run
 PASSED test: ../../dojo/tests/window/viewport.html::dojo.window.viewport::initial 3 ms
     _AssertFailure: http://localhost/commit18/dojo/dojo.js:362 assertTrue('false') failed with hint:
  test that viewport didn't shrink, except for space taken by scrollbars
     ERROR IN:
  (function expand(t){ var v = dojo.window.getBox(); console.log("calling addText"); addText(); compute(); var v2 = dojo.window.getBox(); doh.t(v2.h <= v.h, "test that viewport didn't increase in size due to text added to document"); doh.t(v2.h+20 >= v.h, "test that viewport didn't shrink, except for space taken by scrollbars"); console.log("end"); })
 FAILED test: ../../dojo/tests/window/viewport.html::dojo.window.viewport::expand 12 ms
 PASSED test: ../../dojo/tests/window/viewport.html 229 ms
 ------------------------------------------------------------
 GROUP "tests.window.viewportQuirks" has 1 test to run
 2 tests to run in 1 groups
 ------------------------------------------------------------
 GROUP "dojo.window.viewport" has 2 tests to run
 PASSED test: ../../dojo/tests/window/viewportQuirks.html::dojo.window.viewport::initial 2 ms
     _AssertFailure: http://localhost/commit18/dojo/dojo.js:362 assertTrue('false') failed with hint:
  test that viewport didn't shrink, except for space taken by scrollbars
     ERROR IN:
  (function expand(t){ var v = dojo.window.getBox(); console.log("calling addText"); addText(); compute(); var v2 = dojo.window.getBox(); doh.t(v2.h <= v.h, "test that viewport didn't increase in size due to text added to document"); doh.t(v2.h+20 >= v.h, "test that viewport didn't shrink, except for space taken by scrollbars"); console.log("end"); })
 FAILED test: ../../dojo/tests/window/viewportQuirks.html::dojo.window.viewport::expand 11 ms
 PASSED test: ../../dojo/tests/window/viewportQuirks.html 320 ms

Change History (3)

comment:1 Changed 7 years ago by haysmark

Owner: changed from Eugene Lazutkin to Douglas Hays
Status: newassigned

comment:2 Changed 7 years ago by haysmark

Description: modified (diff)

comment:3 Changed 7 years ago by Douglas Hays

Resolution: worksforme
Status: assignedclosed

I couldn't recreate either viewport/viewportQuirks failure on either FF or Chrome, and neither for 1.8 nor trunk.

Note: See TracTickets for help on using tickets.