Implement history.length

Add full frame tree iter to reduce code duplication
Add FrameId field to the Frame struct.
This commit is contained in:
Connor Brewster 2016-08-01 15:15:48 -06:00
parent e2d4ff5b62
commit 611de2ac06
8 changed files with 95 additions and 64 deletions

View file

@ -1,8 +1,5 @@
[001.html]
type: testharness
[history.length should update when loading pages in an iframe]
expected: FAIL
[history.length should update when setting location.hash]
expected: FAIL

View file

@ -1,8 +1,5 @@
[002.html]
type: testharness
[history.length should update when loading pages in an iframe]
expected: FAIL
[history.length should update when setting location.hash]
expected: FAIL

View file

@ -0,0 +1,5 @@
[location_assign_about_blank.html]
type: testharness
[location.assign with initial about:blank browsing context]
expected: FAIL

View file

@ -5598,9 +5598,6 @@
[BarProp interface: attribute visible]
expected: FAIL
[History interface: attribute length]
expected: FAIL
[History interface: attribute state]
expected: FAIL
@ -5610,9 +5607,6 @@
[History interface: operation replaceState(any,DOMString,DOMString)]
expected: FAIL
[History interface: window.history must inherit property "length" with the proper type (0)]
expected: FAIL
[History interface: window.history must inherit property "state" with the proper type (1)]
expected: FAIL