Closed artptr closed 7 years ago
Hey! Thanks for the PR. Can you clarify what you mean? What is the exact error produced?
It's easy to see from the following examples from the IE's developer console:
console.log
function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { ...
console.log.__proto__
function() { [native code] }
console.profile
[object] { }
console.profile.__proto__
undefined
console.profile.bind(console)
Object doesn't support property or method 'bind'
console.profile.toString()
"
function profile() {
[native code]
}
"
The console.profile
function is really present in IE, but it seems that it is a special deep engine-implemented function without JS's function prototype. So there isn't .bind
property and its calling in the initialization stage causes an error.
BTW, it seems that you already fixed that issue by 74615e2.
Oh thanks! now I understand, it doesn't have .bind
. Should be fixed by 0.18.0 as you mentioned 😄 Thanks for letting me know!
Current implementation causes an error in IE11 because
console.profile
there isn't a "normal" function with Function prototype.