gecko/mobile/chrome/tests/remote_formsZoom.js
Lucas Rocha e65756d2ac Bug 605365 - Change Content's formAssistant to be a public property (r=mfinkle)
So that we can share the same FormAssistant instance with other components
defined in content.js. Updated chrome tests accordingly.
2011-09-19 09:45:52 -07:00

10 lines
274 B
JavaScript

dump("====================== Content Script Loaded =======================\n");
let assistant = Content.formAssistant;
AsyncTests.add("FormAssist:Show", function(aMessage, aJson) {
let element = content.document.getElementById(aJson.id);
assistant.open(element);
});