-
Committer:
Matthew Scott
-
Date:
2013-07-30 16:20:12 UTC
-
mfrom:
(904.1.4 flags-cleanup)
-
Revision ID:
matthew.scott@canonical.com-20130730162012-z4q8uclatzym1qfz
Normalize window.flags in tests
window.flags now works just as it does in the app: it is set in test/index.html to an empty object (since the tests don't have the :flags: ns), and each test or each feature (usually divided up into suites, as they should be) deals solely with that feature flag only. If flags are set in a 'before', only those flags are unset in 'after', etc. This is as much a policy proposal as a branch, and I've created a weekly card to discuss.
R=gary.poster, rharding
CC=
https://codereview.appspot.com/12060044