Closed Bug 779641 Opened 12 years ago Closed 12 years ago

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

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: mschwart, Assigned: past)

Details

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

Attachments

(1 file)

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
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
Attached patch Patch v1Splinter Review
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)
Attachment #648392 - Flags: review?(rcampbell) → review+
https://hg.mozilla.org/mozilla-central/rev/2fdb5c89e9e2
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: