tInit);
  assert_equals(event.oldState, "sample");
  assert_equals(event.newState, "sample2");
}, "ToggleEventInit properties set value");

test(function() {
  var eventInit = {oldState: "open",newState: "closed"};
  var event = new ToggleEvent("beforetoggle", eventInit);
  assert_equals(event.oldState, "open");
  assert_equals(event.newState, "closed");
}, "ToggleEventInit properties set value 2");

test(function() {
  var eventInit = {oldState: "closed",newState: "open"};
  var event = new ToggleEvent("to