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

@ -7,7 +7,7 @@
// https://html.spec.whatwg.org/multipage/#the-history-interface
[Exposed=(Window,Worker)]
interface History {
// readonly attribute unsigned long length;
readonly attribute unsigned long length;
// attribute ScrollRestoration scrollRestoration;
// readonly attribute any state;
void go(optional long delta = 0);