Created
September 2, 2013 07:16
-
-
Save paulRbr/6409999 to your computer and use it in GitHub Desktop.
The cloneNode method which is not called but throws a TypeError in IE8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("The Mystic Thrown Error", function() { | |
it("should be working", function() { | |
var oXML = new ActiveXObject("MSXML2.DOMDocument.4.0"); | |
oXML.async = false; | |
oXML.loadXML("<hello></hello>"); | |
if (oXML.cloneNode) {} // This Fails | |
expect(true).toBe(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment