Closed Bug 588797 Opened 9 years ago Closed 9 years ago

Chrome javascript errors while opening a new tab

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Windows 7
defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: martijn.martijn, Assigned: mfinkle)

Details

Attachments

(1 file)

Every time I open a new tab in Fennec, I get javascript chrome:// errors:
Error: docShell: Not Remotable
File: chrome://global/content/bindings/browser.xml line: 653
Error: contentDocument is not available
File: chrome://global/content/bindings/browser.xml line: 464
Error: contentDocument is not available
File: chrome://global/content/bindings/browser.xml line: 464
Error: contentDocument is not available
File: chrome://global/content/bindings/browser.xml line: 464

I guess the first error comes from here:
http://mxr.mozilla.org/mobile-browser/source/chrome/content/bindings/browser.xml#417

The other errors come from here:
http://mxr.mozilla.org/mobile-browser/source/chrome/content/bindings/browser.xml#464
The contentDocument seem to happen on every page load.
I don't think we gonna resolved this bug directly, this depends on other parts and once they will be fixed these errors will go, but we can keep the bug open to just remember to remove the "thrown"
(sorry to not have any "depends on" bug number to give you)
I noticed the error message as well.
Ok, most of the errors are gone now in today's build, but I'm still seeing this error with the steps to reproduce:
Error: docShell: Not Remotable
File: chrome://global/content/bindings/browser.xml line: 653
tracking-fennec: --- → ?
Attached patch patchSplinter Review
Removes strict checks for certain browser properties. Instead of throwing on access, we now return null and let the calling code deal with checking.
Assignee: nobody → mark.finkle
Attachment #489882 - Flags: review?(mbrubeck)
Attachment #489882 - Flags: review?(mbrubeck) → review+
pushed:
http://hg.mozilla.org/mobile-browser/rev/ede6169b4160
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110919
Firefox/9.0a1 Fennec/9.0a1
Device: Samsung Galaxy S
OS: Android 2.2
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.