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 26265 - Typo: unregister*Handler() does not return any value.
Summary: Typo: unregister*Handler() does not return any value.
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 09:05 UTC by Sanjoy
Modified: 2014-07-30 22:14 UTC (History)
2 users (show)

See Also:


Attachments

Description Sanjoy 2014-07-04 09:05:03 UTC
Here http://www.whatwg.org/specs/web-apps/current-work/#custom-handlers
As per the idl definition, unregisterProtocolHandler() does not return any value.

Below, the spec specifies that it return state which need to be corrected.
state = window . navigator . unregisterProtocolHandler(scheme, url)
state = window . navigator . unregisterContentHandler(mimeType, url)
Comment 1 Ian 'Hixie' Hickson 2014-07-30 22:14:38 UTC
This will be fixed in the next update. Thanks!