|
|
@ -11,15 +11,18 @@ module Docs
|
|
|
|
'Geolocation' => 'Geolocation',
|
|
|
|
'Geolocation' => 'Geolocation',
|
|
|
|
'Media Capture' => 'Media',
|
|
|
|
'Media Capture' => 'Media',
|
|
|
|
'Media Source' => 'Media',
|
|
|
|
'Media Source' => 'Media',
|
|
|
|
|
|
|
|
'MediaStream' => 'MediaRecorder',
|
|
|
|
'Navigation Timing' => 'Navigation Timing',
|
|
|
|
'Navigation Timing' => 'Navigation Timing',
|
|
|
|
'Network Information' => 'Network Information',
|
|
|
|
'Network Information' => 'Network Information',
|
|
|
|
'Web Audio' => 'Web Audio',
|
|
|
|
'Web Audio' => 'Web Audio',
|
|
|
|
'Web Workers' => 'Web Workers' }
|
|
|
|
'Web Workers' => 'Web Workers',
|
|
|
|
|
|
|
|
'WebRTC' => 'WebRTC' }
|
|
|
|
|
|
|
|
|
|
|
|
TYPE_BY_NAME_STARTS_WITH = {
|
|
|
|
TYPE_BY_NAME_STARTS_WITH = {
|
|
|
|
|
|
|
|
'Audio' => 'Audio',
|
|
|
|
'Canvas' => 'Canvas',
|
|
|
|
'Canvas' => 'Canvas',
|
|
|
|
'ChildNode' => 'Node',
|
|
|
|
'ChildNode' => 'Node',
|
|
|
|
'console' => 'Console',
|
|
|
|
'Console' => 'Console',
|
|
|
|
'CSS' => 'CSS',
|
|
|
|
'CSS' => 'CSS',
|
|
|
|
'document' => 'Document',
|
|
|
|
'document' => 'Document',
|
|
|
|
'DocumentFragment' => 'DocumentFragment',
|
|
|
|
'DocumentFragment' => 'DocumentFragment',
|
|
|
@ -31,12 +34,14 @@ module Docs
|
|
|
|
'GlobalEventHandlers' => 'GlobalEventHandlers',
|
|
|
|
'GlobalEventHandlers' => 'GlobalEventHandlers',
|
|
|
|
'history' => 'History',
|
|
|
|
'history' => 'History',
|
|
|
|
'IDB' => 'IndexedDB',
|
|
|
|
'IDB' => 'IndexedDB',
|
|
|
|
|
|
|
|
'IndexedDB' => 'IndexedDB',
|
|
|
|
'Location' => 'Location',
|
|
|
|
'Location' => 'Location',
|
|
|
|
'navigator' => 'Navigator',
|
|
|
|
'navigator' => 'Navigator',
|
|
|
|
'Node' => 'Node',
|
|
|
|
'Node' => 'Node',
|
|
|
|
'Notification' => 'Notification',
|
|
|
|
'Notification' => 'Notification',
|
|
|
|
'ParentNode' => 'Node',
|
|
|
|
'ParentNode' => 'Node',
|
|
|
|
'Range' => 'Range',
|
|
|
|
'Range' => 'Range',
|
|
|
|
|
|
|
|
'RTC' => 'WebRTC',
|
|
|
|
'Selection' => 'Selection',
|
|
|
|
'Selection' => 'Selection',
|
|
|
|
'StyleSheet' => 'CSS',
|
|
|
|
'StyleSheet' => 'CSS',
|
|
|
|
'SVG' => 'SVG',
|
|
|
|
'SVG' => 'SVG',
|
|
|
@ -104,9 +109,9 @@ module Docs
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def include_default_entry?
|
|
|
|
def include_default_entry?
|
|
|
|
!(node = doc.at_css '.overheadIndicator') ||
|
|
|
|
(node = doc.at_css '.overheadIndicator').nil? ||
|
|
|
|
!node.content.include?('not on a standards track') &&
|
|
|
|
type == 'Console' ||
|
|
|
|
!node.content.include?('removed from the Web')
|
|
|
|
(node.content.exclude?('not on a standards track') && node.content.exclude?('removed from the Web'))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|