This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28790 - Give History.go(delta) the default value 0
Summary: Give History.go(delta) the default value 0
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#the-his...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-10 19:32 UTC by contributor
Modified: 2015-08-28 08:21 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2015-06-10 19:32:13 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#the-history-interface
Complete: https://html.spec.whatwg.org/#the-history-interface
Referrer: 

Comment:
Give History.go(delta) the default value 0

Posted from: 85.225.4.214
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60
Comment 1 Philip Jägenstedt 2015-06-10 19:33:52 UTC
Gecko's IDL already says "void go(optional long delta = 0)" and I will change Blink to do the same. This will also simplify "if the argument to the method was omitted or has the value zero" into "if delta is zero".