");

test(function() {
  var event = new ToggleEvent("test");
  assert_equals(event.newState, "");
}, "newState has default value of empty string");

test(function() {
  var event = new ToggleEvent("test");
  assert_readonly(event, "newState", "readonly attribute value");
}, "newState is readonly");

test(function() {
  var event = new ToggleEvent("test", null);
  assert_equals(event.oldState, "");
  assert_equals(event.newState, "");
}, "ToggleEventInit argument is null");

test(function() {
  var event = 