Skip to content
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

Internet Explorer "details" view, XPathResult is undefined #70

Open
danielweck opened this issue Jul 13, 2014 · 3 comments
Open

Internet Explorer "details" view, XPathResult is undefined #70

danielweck opened this issue Jul 13, 2014 · 3 comments

Comments

@danielweck
Copy link
Member

library -> details button click => infinite progress, console says "XPathResult is undefined"

Original Bugzilla:
https://app.devzing.com/Readium/bugzilla/show_bug.cgi?id=56

@danielweck
Copy link
Member Author

Suggested fix: migrate from Jath to https://github.com/ilinsky/jquery-xpath or https://code.google.com/p/wicked-good-xpath/

@danielweck
Copy link
Member Author

Note that even after fixing the IE browser sniffing using:

if(window.navigator.userAgent.indexOf("Trident") >= 0 || navigator.userAgent.indexOf("MSIE") >= 0 || typeof WScript != "undefined" ) {
    m_browser = 'msie';
}

https://github.com/dnewcome/jath/blob/master/jath.js#L17

...there is still a fatal error:
Object doesn't support property or method 'setProperty'

For more information about Jath issues in IE (including lack of support for prefixed XML namespaces), see:
dnewcome/jath#20
and
dnewcome/jath#2
and
dnewcome/jath#17

@danielweck
Copy link
Member Author

Pull Request: #285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants