Opened 7 years ago

Closed 6 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 7 years ago by haysmark

Keywords: dohfail added

comment:2 Changed 7 years ago by bill

Likely same as #15775.

comment:3 Changed 6 years ago by bill

Milestone: tbd1.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 6 years ago by Kenneth G. Franqueiro

I didn't see any failures among these tests when running the test suite against Win8 IE10 via Browserstack.

comment:5 Changed 6 years ago by Kitson Kelly

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 6 years ago by bill

Owner: changed from Rawld Gill to haysmark
Status: newpending

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 6 years ago by Colin Snover

Milestone: 1.8.21.8.3

1.8.2 release candidate is released; moving to next minor release.

comment:8 Changed 6 years ago by Kitson Kelly

Milestone: 1.8.31.8.4

comment:9 Changed 6 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.