error occurred while processing 'attach' request: TypeError: this._tabActor._tabbrowser is undefined

RESOLVED FIXED in Firefox 17

Status

()

Firefox
Developer Tools: Debugger
P2
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: m4, Assigned: past)

Tracking

Trunk
Firefox 17
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

Steps to reproduce:

# Build b2g on tip from 7/31/12
# Setup for debugging as per this thread https://groups.google.com/forum/#!msg/mozilla.dev.b2g/UpDp2uTD4Mc/lM_Moiu2QRoJ
# Start b2g and verify debugging port listening
# Start up-to-date Firefox Nightly (8/1/12), enable remote debugging, enable debug logging, connect


Actual results:

Following error is printed from Firefox Nightly:

DBG-CLIENT: Got: {
  "from": "root",
  "applicationType": "browser",
  "traits": []
}
DBG-CLIENT: Got: {
  "from": "root",
  "selected": 0,
  "tabs": [
    { 
      "actor": "conn0.tab2",
      "url": "chrome://browser/content/shell.xul"
    }
  ]
}
DBG-CLIENT: Got: {
  "error": "unknownError",
  "message": "error occurred while processing 'attach' request: TypeError: this._tabActor._tabbrowser is undefined",
  "from": "conn0.tab2"
}



Expected results:

It should have connected with debugging
(Reporter)

Comment 1

5 years ago
Note, b2g refers to B2g desktop as per https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/Using_the_B2G_desktop_client
Everything run on Ubuntu 12.04 LTS x86
OS: Windows 7 → Linux
Hardware: x86_64 → x86
Ugh, this is a regression from bug 751226, because it didn't take into account the changes in bug 751949 that I worked on at about the same time. I might had tested it before landing if I wasn't away on vacation, but we desperately need to run our tests against b2g. I'll have a patch ready, shortly.
Assignee: nobody → past
Status: UNCONFIRMED → ASSIGNED
Component: Untriaged → Developer Tools: Debugger
Ever confirmed: true
OS: Linux → Windows 7
Priority: -- → P2
Hardware: x86 → x86_64
OS: Windows 7 → All
Hardware: x86_64 → All
Version: unspecified → Trunk
Created attachment 648392 [details] [diff] [review]
Patch v1

This was the simplest solution that worked and I think the best. Bug 751949 doesn't concern b2g or fennec, so it makes sense to keep them oblivious to the web progress listener's presence.
Attachment #648392 - Flags: review?(rcampbell)
Try run: https://tbpl.mozilla.org/?tree=Try&rev=868b15707fa7
Attachment #648392 - Flags: review?(rcampbell) → review+
https://hg.mozilla.org/integration/fx-team/rev/2fdb5c89e9e2
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/2fdb5c89e9e2
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
You need to log in before you can comment on or make changes to this bug.