Opened 9 years ago
Closed 8 years ago
#16114 closed defect (invalid)
IE10 requirejs test failures
Reported by: | haysmark | Owned by: | haysmark |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.4 |
Component: | Loader | Version: | 1.8.0 |
Keywords: | dohfail | Cc: | |
Blocked By: | Blocking: |
Description
There are some very strange failures where strings that look the same apparently are not the same.
_AssertFailure: assertEqual() failed: expected dojo._getText() test data but got dojo._getText() test data ERROR IN: function getText(t){ if(require.getText){ var text = require.getText(require.toUrl("dojo/tests/_base/loader/getText.txt")).replace(/\n/g, ""); t.assertEqual("dojo._getText() test data", text); if(dojo._getText){ text = dojo._getText(require.toUrl("dojo/tests/_base/loader/getText.txt")).replace(/\n/g, ""); t.assertEqual("dojo._getText() test data", text); } } } FAILED test: getText 4 ms GROUP "relative" has 1 test to run _AssertFailure: assertEqual() failed: expected hello world but got hello world ERROR IN: function relative(t){ t.is("one", one.name); t.is("two", one.twoName); t.is("three", one.threeName); t.is("hello world", one.message.replace(/\n/g, "")); } FAILED test: ../../dojo/tests/_base/loader/requirejs/relative/relative.html::relative::relative 0 ms _AssertFailure: assertEqual() failed: expected hello world but got hello world ERROR IN: function relative(t){ t.is("one", one.name); t.is("two", one.twoName); t.is("three", one.threeName); t.is("hello world", one.message.replace(/\n/g, "")); } FAILED test: ../../dojo/tests/_base/loader/requirejs/relative/relative.html::relative::relative 0 ms _AssertFailure: assertEqual() failed: expected <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> but got <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> ERROR IN: function text(t){ function check(expected, actual){ t.is(expected, actual.replace(/\n/g, "")); } check("<span>Hello World!</span>", sampleText); check('<div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div>', widget.template); check('subwidget', widget.subWidgetName); check('<div data-type="subwidget"><h1>This is a subwidget</h1></div>', widget.subWidgetTemplate); check('<span>This! is template2</span>', widget.subWidgetTemplate2); check('<h1>Local</h1>', local.localHtml); } FAILED test: ../../dojo/tests/_base/loader/requirejs/text/text.html::text::text 0 ms _AssertFailure: assertEqual() failed: expected <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> but got <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> ERROR IN: function text(t){ function check(expected, actual){ t.is(expected, actual.replace(/\n/g, "")); } check("<span>Hello World!</span>", sampleText); check('<div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div>', widget.template); check('subwidget', widget.subWidgetName); check('<div data-type="subwidget"><h1>This is a subwidget</h1></div>', widget.subWidgetTemplate); check('<span>This! is template2</span>', widget.subWidgetTemplate2); check('<h1>Local</h1>', local.localHtml); } FAILED test: ../../dojo/tests/_base/loader/requirejs/text/text.html::text::text 0 ms _AssertFailure: assertEqual() failed: expected <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> but got <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> ERROR IN: function text(t){ function check(expected, actual){ t.is(expected, actual.replace(/\n/g, "")); } check("<span>Hello World!</span>", sampleText); check('<div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div>', widget.template); check('subwidget', widget.subWidgetName); check('<div data-type="subwidget"><h1>This is a subwidget</h1></div>', widget.subWidgetTemplate); check('<span>This! is template2</span>', widget.subWidgetTemplate2); check('<h1>Local</h1>', local.localHtml); } FAILED test: ../../dojo/tests/_base/loader/requirejs/text/text.html::text::text 0 ms _AssertFailure: assertEqual() failed: expected <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> but got <div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div> ERROR IN: function text(t){ function check(expected, actual){ t.is(expected, actual.replace(/\n/g, "")); } check("<span>Hello World!</span>", sampleText); check('<div data-type="widget"><h1>This is a widget!</h1><p>I am in a widget</p></div>', widget.template); check('subwidget', widget.subWidgetName); check('<div data-type="subwidget"><h1>This is a subwidget</h1></div>', widget.subWidgetTemplate); check('<span>This! is template2</span>', widget.subWidgetTemplate2); check('<h1>Local</h1>', local.localHtml); } FAILED test: ../../dojo/tests/_base/loader/requirejs/text/text.html::text::text 0 ms
Change History (9)
comment:1 Changed 9 years ago by
Keywords: | dohfail added |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 8 years ago by
Milestone: | tbd → 1.8.2 |
---|
Bulk update of IE10 tickets to 1.8.2, as per meeting. Backports to 1.4 will be handled in a separate ticket. If this ticket just requires a test update, it can be rescheduled for milestone 1.9, and checked into trunk only.
comment:4 Changed 8 years ago by
I didn't see any failures among these tests when running the test suite against Win8 IE10 via Browserstack.
comment:5 Changed 8 years ago by
I cannot reproduce this on IE 10.0.9200.16384 running util/doh/runner.html?test=dojo/tests/module
on trunk (29997).
comment:6 Changed 8 years ago by
Owner: | changed from Rawld Gill to haysmark |
---|---|
Status: | new → pending |
Doesn't reproduce for me either. Mark, if it's failing for you seems like you are the only one that can debug it.
comment:7 Changed 8 years ago by
Milestone: | 1.8.2 → 1.8.3 |
---|
1.8.2 release candidate is released; moving to next minor release.
comment:8 Changed 8 years ago by
Milestone: | 1.8.3 → 1.8.4 |
---|
comment:9 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Likely same as #15775.