Bug 15414 - Would like a way to change WebCore::Settings from within regression tests
Summary: Would like a way to change WebCore::Settings from within regression tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 17:21 PDT by Adam Roben (:aroben)
Modified: 2007-10-07 17:21 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2007-10-07 17:21:23 PDT
Making a regression test for bug 15305 would require changing a setting on WebCore::Settings and then reloading the page. We currently have no way of doing this from within a regression test.

A new object hanging off of window seems appropriate for this task, perhaps named settingsController. The tricky part is figuring out a sane way to reload the page when a setting changes, even though you might be in the middle of a test.