-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alternative for object.create under IE8 #727 #728
Conversation
6214075
to
6ff2867
Compare
4e2ba6e
to
867065c
Compare
e0ee57d
to
b8e5c5d
Compare
@zloirock Why can't I see the log of building failed above TravisCI? |
I don't know. It's linting issues, you will have the same with local tests. |
OK, I'll fix the problem mentioned after lint |
9370eff
to
d713e1f
Compare
588dfb8
to
59ace3a
Compare
59ace3a
to
3c71110
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested activeXDocument
under IE11, which simulates IE8, and found that if I declared it inside NullProtoObject
method, this method would be released when AcitiveXObject
was released, result in script error. So I have to put it into a more global scope.
Did you run tests on real IE8? Seems sometimes they are fails. (fails of |
What detailed error have you caught? I have no real IE8 for karma to launch to test. |
You could use VMs. You don't need karma for tests. Run Details - when I tested, for some unknown reason in ~50% of the page loading some built-ins were unavailable. I don't know - it could be just the network problems or it's the problem with this script - since it's IE and specific environment object. I hadn't enough time for exploring the problem. Little later I'll try to dig deeper. |
Interesting. I was able to reproduce it too but much less with 50% chance. However, I don't remember any changes that could affect IE8. |
I can reproduce with 100% chance, and I hope I can help you find out later. |
@aleen42 how? |
The same way, but caught |
OK, I'll check it later. |
👌 |
PR for #727