Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9362 (closed defect: untested)

Opened 1 year ago

Last modified 9 months ago

Prototype.BrowserFeatures.XPath is null or not an object

Reported by: JustinK101 Assigned to: JustinK101
Priority: normal Milestone: 2.x
Component: Prototype Version: edge
Severity: normal Keywords: BrowserFeatures, XPath
Cc:

Description

We are running the newest version of the js prototype library 1.5.1.1 and discovered a possible bug; the bug is also present in 1.6 RC1.

We have pages that embeds a flash map, via ESRI arcExplorer. Whenever you navigate to a page with the flash map, and then navigate away from the page the following JS error is thrown: (Seems To Occur On the pageUnload())

Line: 2759 Error: ‘Prototype.BrowserFeatures.XPath’ is null or not an object

It belongs to this block of code:

compileMatcher: function() {

// Selectors with namespaced attributes can't use the XPath version if (Prototype.BrowserFeatures.XPath && !(/\[[\w-]*?:/).test(this.expression))

Thanks for the assistance.

Change History

08/23/07 23:54:57 changed by JustinK101

  • owner changed from sam to JustinK101.
  • status changed from new to assigned.

08/28/07 16:50:39 changed by mislav

  • status changed from assigned to closed.
  • resolution set to invalid.
  • summary changed from PROTOTYPE BUG: Prototype.BrowserFeatures.XPath’ is null or not an object to Prototype.BrowserFeatures.XPath is null or not an object.

This is Firefox, right? See #5393 for a discussion regarding a related bug. This happens because you have some code executing (setTimeout or event handler) while Firefox has already unloaded some stuff. I'm afraid we aren't able to fix this

08/29/07 16:23:31 changed by JustinK101

  • status changed from closed to reopened.
  • resolution deleted.

Acutally no, it happened in I.E 6 and not in Firefox at all.

08/29/07 19:29:43 changed by mislav

  • priority changed from high to normal.
  • severity changed from major to normal.

Then we will need a test case. Send us your minimal document that exhibits the bug

10/19/07 12:35:26 changed by Tobie

  • status changed from reopened to closed.
  • resolution set to untested.