Closed Bug 706708 Opened 13 years ago Closed 13 years ago

JavaScript Error: "this.browser.contentDocument.body is null" {file: "chrome://browser/content/browser.js" line: 1339}

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 706705

People

(Reporter: steffen.wilberg, Unassigned)

Details

During every pageload, this error gets logged:
E/GeckoConsole(26465): [JavaScript Error: "this.browser.contentDocument.body is null" {file: "chrome://browser/content/browser.js" line: 1339}]

That's in this code:
  getPageZoomLevel: function getPageZoomLevel() {
    if (!this.browser.contentDocument)
      return 1.0;
    return screen.width / this.browser.contentDocument.body.clientWidth;
  },

It's pretty early in the load. Here's more context:
I/GeckoApp(26465): resume
D/GeckoInputConnection(26465): IME: handleCreateInputConnection called
I/GeckoSoftwareLayerClient(26465): Adjusting viewport
E/GeckoConsole(26465): [JavaScript Error: "this.browser.contentDocument.body is null" {file: "chrome://browser/content/browser.js" line: 1339}]
I/GeckoApp(26465): Got message: Content:LocationChange
I/GeckoApp(26465): URI - https://bugzilla.mozilla.org/
I/GeckoTab(26465): Updated url: https://bugzilla.mozilla.org/ for tab with id: 2
I/GeckoTab(26465): Updated favicon for tab with id: 2
I/GeckoTab(26465): Updated favicon URL for tab with id: 2
I/GeckoDoorHangerPopup(26465): Showing all doorhangers for tab: 2
I/GeckoApp(26465): Got message: Content:SecurityChange
I/GeckoApp(26465): Security Mode - verified
I/GeckoApp(26465): Got message: Content:StateChange
I/GeckoApp(26465): State - 196612
I/GeckoApp(26465): Got message: Content:SecurityChange
I/GeckoApp(26465): Security Mode - verified
I/GeckoApp(26465): Got message: DOMTitleChanged
I/GeckoTab(26465): Updated title: Bugzilla Main Page for tab with id: 2
I/GeckoApp(26465): title - Bugzilla Main Page
I/GeckoApp(26465): Got message: DOMLinkAdded
I/GeckoApp(26465): link rel - Top, href - https://bugzilla.mozilla.org/
Naoki beat you by 5 minutes.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.