#9009 closed defect (worksforme)
dojo._base.attr_map failure on firefox 3.0.6
Reported by: | ferz | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | General | Version: | 1.3.0rc2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Error: test timeout in ../../dojo/tests/_base/html.html::t::attr_map
ERROR IN:
(function attr_map(t) {var input = document.createElement("input");var ctr = 0;dojo.attr(input, {class: "thinger blah", tabindex: 1, type: "text", onfocus: function (e) {ctr++;}});dojo.body().appendChild(input);doh.is(1, dojo.attr(input, "tabindex"), "tabindex");doh.is("text", dojo.attr(input, "type"), "type");doh.is(0, ctr, "onfocus ctr == 0");doh.t(dojo.hasClass(input, "thinger"), "hasClass of thinger");doh.t(dojo.hasClass(input, "blah"), "hasClass of blah");var def = new (doh.Deferred);input.focus();setTimeout(function () {doh.is(1, ctr, "onfocus ctr == 1");input.blur();input.focus();setTimeout(function () {doh.is(2, ctr, "onfocus ctr == 2");def.callback(true);}, 10);}, 10);return def;})
FAILED test: ../../dojo/tests/_base/html.html::t::attr_map 8 ms Error: test timeout in ../../dojo/tests/_base/html.html::t::attr_reconnect
ERROR IN:
(function attr_reconnect(t) {var input = document.createElement("input");var ctr = 0;dojo.attr(input, "type", "text");dojo.attr(input, "onfocus", function (e) {ctr++;});dojo.attr(input, "onfocus", function (e) {ctr++;});dojo.attr(input, "onfocus", function (e) {ctr++;});dojo.body().appendChild(input);doh.is("text", dojo.attr(input, "type"));doh.is(0, ctr);var def = new (doh.Deferred);input.focus();setTimeout(function () {doh.is(1, ctr);input.blur();input.focus();setTimeout(function () {doh.is(2, ctr);def.callback(true);}, 10);}, 10);return def;})
FAILED test: ../../dojo/tests/_base/html.html::t::attr_reconnect 7 ms
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Sorry, that first link in my previous comment should have been: http://download.dojotoolkit.org/release-1.3.0rc2/dojo-release-1.3.0rc2/util/doh/runner.html
But the link to try is the archive.dojotoolkit.org link.
This page passes for me on Firefox 3.0.8 on OS X: http://archive.dojotoolkit.org/nightly/dojotoolkit/util/doh/runner.html
This one also passes, which at the moment is what will be shipped as the final 1.3.0 release: http://archive.dojotoolkit.org/nightly/dojotoolkit/util/doh/runner.html
If you are using the Firefox that has the DragonFly? user agent, try the nightly build link above.