withを使うとprincipalが変わる?(変わらない)

勘違いでした。

with(D()){
   http.get('/settings/imaginary').next( function (res) {

Firebug consoleで例外が出る。

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///home/www/js/jsdeferred.js :: http :: line 196" data: no]
[Break on this error] undefined
No chrome package registered for chrome://browser/settings/imaginary

includeでincludeしてる。変わるんだったらたぶんいろいろできる。