Opened 9 years ago
Closed 8 years ago
#14321 closed defect (fixed)
quirks tests run in standards mode on IE9
Reported by: | bill | Owned by: | Colin Snover |
---|---|---|---|
Priority: | high | Milestone: | 1.7.5 |
Component: | TestFramework | Version: | 1.7.0 |
Keywords: | dohfail | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
On IE9, the quirksmode tests are running in standards mode, leading to spurious failures (and also it means that we aren't testing quirksmode).
The failures on dojo/core are:
- html_quirks
- html_box_quirks
- uacss.sniffquirks
Failures in dijit/ are:
- TextBox_sizes.tundra.quirks
- TextBox_sizes.claro.quirks
- TextBox_sizes.soria.quirks
- TextBox_sizes.nihilo.quirks
- TextBox_sizes.a11y.quirks
Change History (24)
comment:1 Changed 9 years ago by
Cc: | haysmark added |
---|
comment:2 Changed 9 years ago by
Keywords: | dohfail added |
---|
comment:3 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 9 years ago by
Milestone: | → tbd |
---|
comment:5 Changed 9 years ago by
Cc: | haysmark removed |
---|---|
Owner: | set to haysmark |
Status: | new → assigned |
comment:6 Changed 8 years ago by
I'm not seeing the failures in dijit anymore. Was there a patch to IE9 or something? Mark, do you see the failures anymore?
comment:18 Changed 8 years ago by
Owner: | changed from haysmark to Colin Snover |
---|
Things that don’t work:
- Setting <meta http-equiv="X-UA-Compatible" content="IE=5"> (or EmulateIE7, or IE8) in the quirks mode child
- Checking for has("quirks") in the child (it seemed to return true even though the browser is not actually doing all quirks mode stuff)
Therefore, these quirks mode tests are disabled in IE9 in the test runner. This effectively makes quirks mode in IE unsupported since we will never be running automated tests to confirm it is not broken, unless someone can find a working workaround.
comment:24 Changed 8 years ago by
Milestone: | tbd → 1.7.4 |
---|
comment:28 Changed 8 years ago by
Milestone: | 1.7.4 → 1.7.5 |
---|
Presumably you meant to mark this for 1.7.5 as 1.7.4 was already released.
comment:30 Changed 8 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This ticket is only half-fixed, because the dijit tests weren't updated. (And that's using the word "fixed" euphemistically, because what we really want is to run the quirks tests, not disable them.)
comment:31 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Oh, nevermind, actually the quirks.html file, used by dijit to run the quirks tests, is able to run the tests in quirks mode even on IE9 and IE10, even from runTests.html.
Using quirks.html would also be an option to actually run the dojo core quirks tests, instead of just disabling them. I'll close this ticket again for now though.
Note that this was split off from #12461.
See also http://stackoverflow.com/questions/5123326/force-ie9-into-quirks-mode. The iframe's mode seems inextricably tied to the main page's mode, It seems doubtful that even setting up an HTTP header specifying quirksmode would work.