Skip to content

Implement History back/forward APIs - #7250

Closed
tomjakubowski wants to merge 1 commit into
servo:masterfrom
tomjakubowski:history
Closed

tomjakubowski wants to merge 1 commit into
servo:masterfrom
tomjakubowski:history

Conversation

@tomjakubowski

Copy link
Copy Markdown
Contributor

Unfortunately, not many once-failing tests are now expected to pass; the
history interface tests often depend on things like History#go working.

Resolves #5670

Review on Reviewable

Unfortunately, not many once-failing tests are now expected to pass; the
history interface tests often depend on things like History#go working.

Closes servo#5670
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 17, 2015
@Ms2ger Ms2ger added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-tests New tests have been requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 17, 2015
@Ms2ger

Ms2ger commented Aug 17, 2015

Copy link
Copy Markdown
Contributor

Thank you for your PR.

I'd like to see some kind of functional test before landing this, at least.

-S-awaiting-review +S-needs-code-changes +S-needs-tests


Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/script/dom/history.rs, line 37 [r1] (raw file):
Let's call this traverse_history_by_delta and link to https://html.spec.whatwg.org/multipage/#traverse-the-history-by-a-delta.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger self-assigned this Aug 17, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Aug 18, 2015
@tomjakubowski

Copy link
Copy Markdown
Contributor Author

Where should such a test live? Should I add one in tests/wpt/web-platform-tests somewhere?

@Ms2ger

Ms2ger commented Aug 18, 2015

Copy link
Copy Markdown
Contributor

That would be great.

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #7288) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 23, 2015
@jdm

jdm commented Aug 23, 2015

Copy link
Copy Markdown
Member

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 30, 2015
@frewsxcv

Copy link
Copy Markdown
Contributor

@tomjakubowski Any updates on this?

@tomjakubowski

Copy link
Copy Markdown
Contributor Author

I got stuck trying to write tests for this, because pushState wasn't yet implemented.

@jdm

jdm commented Feb 26, 2016

Copy link
Copy Markdown
Member

Closing due to lack of updates. @tomjakubowski if you'd like to continue working on this, feel free to reopen. Sorry we didn't make any useful recommendations for writing tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. S-needs-tests New tests have been requested by a reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants