Custom Query (13852 matches)
Results (73 - 75 of 13852)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#11092 | invalid | "permission denied" jquery 1.7.1 IE7 on line 1666 accessing elem attribute | ||
Description |
It happens with IE7 (IEtester v. 0.4.8) at this line id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey when accessing elem[internalKey]. It seems no elem property is accessible. I detected the error happening when elem is the whole DOMWindow object containing many functions and ajax calls but I wasn't able to isolate the problem. Every other elem in the page doesn't seem to raise exceptions. I added the following workaround to the jquery code
|
|||
#4606 | duplicate | "prev ~ siblings" broken in 1.3.2 | ||
Description |
The following code works in 1.3.1 and doesn't in 1.3.2. |
|||
#4318 | invalid | "raises" assertion for exception handling | ||
Description |
As suggested here, QUnit could be extended with a The attached patch allows writing tests like the following: var expression, expected; // should pass expression = function() { return foo.bar; }; expected = "TypeError"; throwsEx(expression, expected, "invalid property access raises TypeError exception"); // should fail expression = function() { var foo = {}; return foo.bar; }; expected = "NoneError"; throwsEx(expression, expected, "property access raises NoneError exception"); (Note that these tests use closures to wrap around the expressions which are actually being tested.) |