Closed Bug 476225 Opened 16 years ago Closed 16 years ago

Content related functions of MozMillController throw exceptions

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Unassigned)

References

Details

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090130 Shiretoko/3.1b3pre Ubiquity/0.1.5 ID:20090130030519 and MozMill 1.0.2 When you call one of the following functions MozMill will throw an exception: controller.goBack(); controller.goForward(); controller.Reload(); ... and probably others As what Adam said on IRC you operate on the top level browser window instead of the content window.
Committed revision 330. trunk and 1.0.x
woops, marking resolved.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Blocks: 476236
Blocks: 476171
The following test is finished successfully now: var testFoo = function(){ controller.open('http://www.google.com'); controller.waitForPageLoad(controller.tabs.actualTab); controller.open('http://www.mozilla.com'); controller.waitForPageLoad(controller.tabs.actualTab); controller.goBack(); controller.goForward(); controller.refresh(); } Adam, any reason why it is called refresh instead of reload?
Status: RESOLVED → VERIFIED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.