Closed Bug 876828 Opened 11 years ago Closed 7 years ago

any call to window.history in a panel raises an "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.length]"

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: artbasher, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36

Steps to reproduce:

in some javascript loaded inside a panel, do something like "console.log(window.history.length);"

This is why google analytics does not work inside panels. https://bugzilla.mozilla.org/show_bug.cgi?id=785914


Actual results:

you get this error:

Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.length]"


Expected results:

an integer should be returned.
This can probably now be considered a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=785914
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.