488.07 KB, application/x-zip-compressed
Summary: XPath evaluate() synchronization problem - returns no result if not stopped by breakpoint → XPath evaluate() synchronization problem - returns no result on XML file if not stopped by breakpoint
The attachment also contains a series of screenshot demonstrating the problem.
Raised to major because there is no workaround.
Severity: normal → major
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
I would prefer if _you_ would try to not reproduce the problem in newer versions. I'm working with my PC and I don't want to install different Beta versions myself. Shouldn't that be your task?
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
Yepp, FF 3.6.13 still shows the same error. Did you try to open the attachment enclosed with this issue?
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Axel, can you please retest with Firefox 4 in a fresh profile?
Whiteboard: [CLOSEME 2011-1-30]
Version: unspecified → 3.6 Branch
Hi Tyler, I just did using 4.0. The problem unfortunately still exists.
This is the exception that has been thrown: Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///C:/Temp/xxx/XPathTest.js :: evaluate :: line 12" data: no]
Are there any further findings yet?
Problem still exists with today's FF version (17).
Issue still reproducible on: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (I used the DevTools Debugger instead of installing Firebug).
Status: UNCONFIRMED → NEW
Component: General → General
Ever confirmed: true
Product: Firefox → Core
Version: 4.0 Branch → Trunk
The testcase basically looks like this: xDoc=document.implementation.createDocument(null,null,null); xDoc.load("jQuery API.xml"); alert(evaluate().length); but load() does an _async_ load by default. So this script is doing the evaluate() call before the XML has actually loaded. If you breakpoing in evaluate(), then while you're waiting at the breakpoint the XML finishes loading. So then when you continue the XML is there and evaluate() finds things.
Status: NEW → RESOLVED
Last Resolved: 8 years ago → 5 years ago
Resolution: --- → INVALID
I see... Thank you for evaluating this issue. So the solution would be to add an onload event handler to xDoc?
You need to log in before you can comment on or make changes to this bug.