add popstateevent, hashchangeevent, pagetransitionevent

This commit is contained in:
Connor Brewster 2016-05-03 16:10:13 -06:00
parent 641b374f0b
commit 11dd0d7c46
13 changed files with 298 additions and 230 deletions

View file

@ -109,24 +109,6 @@
[createEvent('DRAGEVENT') should be initialized correctly.]
expected: FAIL
[HashChangeEvent should be an alias for HashChangeEvent.]
expected: FAIL
[createEvent('HashChangeEvent') should be initialized correctly.]
expected: FAIL
[hashchangeevent should be an alias for HashChangeEvent.]
expected: FAIL
[createEvent('hashchangeevent') should be initialized correctly.]
expected: FAIL
[HASHCHANGEEVENT should be an alias for HashChangeEvent.]
expected: FAIL
[createEvent('HASHCHANGEEVENT') should be initialized correctly.]
expected: FAIL
[IDBVersionChangeEvent should be an alias for IDBVersionChangeEvent.]
expected: FAIL
@ -145,42 +127,6 @@
[createEvent('IDBVERSIONCHANGEEVENT') should be initialized correctly.]
expected: FAIL
[PageTransitionEvent should be an alias for PageTransitionEvent.]
expected: FAIL
[createEvent('PageTransitionEvent') should be initialized correctly.]
expected: FAIL
[pagetransitionevent should be an alias for PageTransitionEvent.]
expected: FAIL
[createEvent('pagetransitionevent') should be initialized correctly.]
expected: FAIL
[PAGETRANSITIONEVENT should be an alias for PageTransitionEvent.]
expected: FAIL
[createEvent('PAGETRANSITIONEVENT') should be initialized correctly.]
expected: FAIL
[PopStateEvent should be an alias for PopStateEvent.]
expected: FAIL
[createEvent('PopStateEvent') should be initialized correctly.]
expected: FAIL
[popstateevent should be an alias for PopStateEvent.]
expected: FAIL
[createEvent('popstateevent') should be initialized correctly.]
expected: FAIL
[POPSTATEEVENT should be an alias for PopStateEvent.]
expected: FAIL
[createEvent('POPSTATEEVENT') should be initialized correctly.]
expected: FAIL
[SVGZoomEvent should be an alias for SVGZoomEvent.]
expected: FAIL

View file

@ -1,11 +1,5 @@
[PopStateEvent.html]
type: testharness
[initPopStateEvent]
expected: FAIL
[Dispatching a synthetic PopStateEvent]
expected: FAIL
[document.createEvent]
expected: FAIL

View file

@ -1,50 +0,0 @@
[events.html]
type: testharness
[Constructing pageshow event]
expected: FAIL
[Constructing pagehide event]
expected: FAIL
[Constructing pageshow event, persisted true]
expected: FAIL
[Constructing pagehide event, persisted true]
expected: FAIL
[Constructing pageshow event, empty options]
expected: FAIL
[Constructing pagehide event, empty options]
expected: FAIL
[Constructing pageshow event, missing options]
expected: FAIL
[Constructing pagehide event, missing options]
expected: FAIL
[Constructing pageshow event, persisted:null]
expected: FAIL
[Constructing pagehide event, persisted:null]
expected: FAIL
[Constructing pageshow event, persisted:undefined]
expected: FAIL
[Constructing pagehide event, persisted:undefined]
expected: FAIL
[Constructing pageshow event, bubbles:true]
expected: FAIL
[Constructing pagehide event, bubbles:true]
expected: FAIL
[Constructing pageshow event, cancelable:true]
expected: FAIL
[Constructing pagehide event, cancelable:true]
expected: FAIL

View file

@ -6207,117 +6207,6 @@
[Location interface: calling replace(DOMString) on window.location with too few arguments must throw TypeError]
expected: FAIL
[PopStateEvent interface: existence and properties of interface object]
expected: FAIL
[PopStateEvent interface object length]
expected: FAIL
[PopStateEvent interface: existence and properties of interface prototype object]
expected: FAIL
[PopStateEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PopStateEvent interface: attribute state]
expected: FAIL
[PopStateEvent must be primary interface of new PopStateEvent("popstate", { data: {} })]
expected: FAIL
[Stringification of new PopStateEvent("popstate", { data: {} })]
expected: FAIL
[PopStateEvent interface: new PopStateEvent("popstate", { data: {} }) must inherit property "state" with the proper type (0)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "type" with the proper type (0)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "target" with the proper type (1)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "currentTarget" with the proper type (2)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "NONE" with the proper type (3)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "CAPTURING_PHASE" with the proper type (4)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "AT_TARGET" with the proper type (5)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "BUBBLING_PHASE" with the proper type (6)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "eventPhase" with the proper type (7)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "stopPropagation" with the proper type (8)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "stopImmediatePropagation" with the proper type (9)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "bubbles" with the proper type (10)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "cancelable" with the proper type (11)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "preventDefault" with the proper type (12)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "defaultPrevented" with the proper type (13)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must have own property "isTrusted"]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "timeStamp" with the proper type (15)]
expected: FAIL
[Event interface: new PopStateEvent("popstate", { data: {} }) must inherit property "initEvent" with the proper type (16)]
expected: FAIL
[Event interface: calling initEvent(DOMString,boolean,boolean) on new PopStateEvent("popstate", { data: {} }) with too few arguments must throw TypeError]
expected: FAIL
[HashChangeEvent interface: existence and properties of interface object]
expected: FAIL
[HashChangeEvent interface object length]
expected: FAIL
[HashChangeEvent interface: existence and properties of interface prototype object]
expected: FAIL
[HashChangeEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[HashChangeEvent interface: attribute oldURL]
expected: FAIL
[HashChangeEvent interface: attribute newURL]
expected: FAIL
[PageTransitionEvent interface: existence and properties of interface object]
expected: FAIL
[PageTransitionEvent interface object length]
expected: FAIL
[PageTransitionEvent interface: existence and properties of interface prototype object]
expected: FAIL
[PageTransitionEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PageTransitionEvent interface: attribute persisted]
expected: FAIL
[BeforeUnloadEvent interface: existence and properties of interface object]
expected: FAIL
@ -8064,15 +7953,6 @@
[History interface object name]
expected: FAIL
[PopStateEvent interface object name]
expected: FAIL
[HashChangeEvent interface object name]
expected: FAIL
[PageTransitionEvent interface object name]
expected: FAIL
[BeforeUnloadEvent interface object name]
expected: FAIL

View file

@ -97,6 +97,7 @@ var interfaceNamesInGlobalScope = [
"FileReader",
"FocusEvent",
"FormData",
"HashChangeEvent",
"HTMLAnchorElement",
"HTMLAppletElement",
"HTMLAreaElement",
@ -184,10 +185,12 @@ var interfaceNamesInGlobalScope = [
"NodeFilter",
"NodeIterator",
"NodeList",
"PageTransitionEvent",
"Performance",
"PerformanceTiming",
"Plugin",
"PluginArray",
"PopStateEvent",
"ProcessingInstruction",
"ProgressEvent",
"RadioNodeList",