Closed Bug 839795 Opened 11 years ago Closed 11 years ago

The monkey patch no longer works.

Categories

(Core :: XBL, defect)

21 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 839792

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: addon-compat, regression)

The monkey patch no longer works.


Steps to Reproduce:
1. devtools.chrome.enabled = true
2. Open ScratchPad and check Environment > Browser
3. Execute the following

BrowserSearch.searchBar.rebuildPopup = function rebuildPopup(){};
alert(BrowserSearch.searchBar.rebuildPopup);

Actual Results:

function rebuildPopup() {

          var popup = this._popup;

          // Clear the popup, down to the first separator

** snip **
          this._needToBuildPopup = false;
        
}

Expected Results:

function rebuildPopup(){}

The method defined in xbl should be able to monkey patch.


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/dc11dee7fffb
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130208 Firefox/21.0 ID:20130208061013
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/b191b0790a66
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130208 Firefox/21.0 ID:20130208062616
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=dc11dee7fffb&tochange=b191b0790a66

Triggered by: Bug 821850
Blocks: XBL-scopes
Whiteboard: triggered by Bug 821850
Assignee: general → nobody
Component: JavaScript Engine → XBL
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.