123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922 |
- /*******************************************************************************
- * Copyright (c) 2013 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- ******************************************************************************/
- /**
- * function querySelector(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf Document
- * @returns {Element}
- */
- Document.prototype.querySelector=function(selectors){return new Element();};
- /**
- * function querySelectorAll(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf Document
- * @returns {NodeList}
- */
- Document.prototype.querySelectorAll=function(selectors){return new NodeList();};
- /**
- * function querySelector(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf DocumentFragment
- * @returns {Element}
- */
- DocumentFragment.prototype.querySelector=function(selectors){return new Element();};
- /**
- * function querySelectorAll(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf DocumentFragment
- * @returns {NodeList}
- */
- DocumentFragment.prototype.querySelectorAll=function(selectors){return new NodeList();};
- /**
- * function querySelector(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf Element
- * @returns {Element}
- */
- Element.prototype.querySelector=function(selectors){return new Element();};
- /**
- * function querySelectorAll(selectors)
- * http://www.w3.org/TR/2012/PR-selectors-api-20121213
- * @param {String} selectors
- * @memberOf Element
- * @returns {NodeList}
- */
- Element.prototype.querySelectorAll=function(selectors){return new NodeList();};
- /**
- * Property state
- * @type Object
- * @memberOf History
- */
- History.prototype.state=new Object();
- /**
- * function pushState(data,title,url)
- * http://www.w3.org/TR/2012/CR-html5-20121217/browsers.html#history
- * @param {Object} data
- * @param {String} title
- * @param {String} url - optional
- * @memberOf History
- */
- History.prototype.pushState=function(data,title,url){};
- /**
- * function replaceState(data,title,url)
- * http://www.w3.org/TR/2012/CR-html5-20121217/browsers.html#history
- * @param {Object} data
- * @param {String} title
- * @param {String} url - optional
- * @memberOf History
- */
- History.prototype.replaceState=function(data,title,url){};
- /**
- * Property sessionStorage
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @type Storage
- * @memberOf Window
- */
- Window.prototype.sessionStorage=new Storage();
- /**
- * Property localStorage
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @type Storage
- * @memberOf Window
- */
- Window.prototype.localStorage=new Storage();
- /**
- * Object Storage
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- */
- function Storage(){};
- Storage.prototype=new Object();
- /**
- * Property length
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @type Number
- * @memberOf Storage
- */
- Storage.prototype.length=new Number();
- /**
- * function key(index)
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @param {Number} index
- * @memberOf Storage
- * @returns String
- */
- Storage.prototype.key=function(index){return new String();};
- /**
- * function getItem(key)
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @param {String} key
- * @memberOf Storage
- * @returns String
- */
- Storage.prototype.getItem=function(key){return new String();};
- /**
- * function setItem(key,value)
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @param {String} key
- * @param {String} value
- * @memberOf Storage
- */
- Storage.prototype.setItem=function(key,value){};
- /**
- * function removeItem(key)
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @param {String} key
- * @memberOf Storage
- */
- Storage.prototype.removeItem=function(key){};
- /**
- * function clear()
- * http://www.w3.org/TR/2011/CR-webstorage-20111208
- * @memberOf Storage
- */
- Storage.prototype.clear=function(){};
- /**
- * Object WebSocket
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @constructor
- * @param {String} url
- */
- function WebSocket(url){};
- WebSocket.prototype=new Object();
- /**
- * Constant WebSocket.CONNECTING=0
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @constant
- * @type Number
- */
- WebSocket.prototype.CONNECTING=0;
- /**
- * Constant WebSocket.OPEN=1
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @constant
- * @type Number
- */
- WebSocket.prototype.OPEN=1;
- /**
- * Constant WebSocket.CLOSING=2
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @constant
- * @type Number
- */
- WebSocket.prototype.CLOSING=2;
- /**
- * Constant WebSocket.CLOSED=3
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @constant
- * @type Number
- */
- WebSocket.prototype.CLOSED=3;
- /**
- * Property url
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type String
- * @memberOf WebSocket
- */
- WebSocket.prototype.url=new String();
- /**
- * Property readyState
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type Number
- * @memberOf WebSocket
- */
- WebSocket.prototype.readyState=new Number();
- /**
- * Property bufferedAmount
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type Number
- * @memberOf WebSocket
- */
- WebSocket.prototype.bufferedAmount=new Number();
- /**
- * Property extensions
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type String
- * @memberOf WebSocket
- */
- WebSocket.prototype.extensions=new String();
- /**
- * Property protocol
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type String
- * @memberOf WebSocket
- */
- WebSocket.prototype.protocol=new String();
- /**
- * Property binaryType
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @type String
- * @memberOf WebSocket
- */
- WebSocket.prototype.binaryType=new String();
- /**
- * function close(code,reason)
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @param {Number} code - optional
- * @param {String} reason - optional
- * @memberOf WebSocket
- */
- WebSocket.prototype.close=function(code,reason){};
- /**
- * function send(data)
- * http://www.w3.org/TR/2012/CR-websockets-20120920
- * @param {Object} data - may be a String, Blob, ArrayBuffer, or ArrayBufferView
- * @memberOf WebSocket
- */
- WebSocket.prototype.send=function(data){};
- /**
- * Property geolocation
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Geolocation
- * @memberOf Navigator
- */
- Navigator.prototype.geolocation=new Geolocation();
- /**
- * Object Geolocation
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- */
- function Geolocation(){};
- Geolocation.prototype=new Object();
- /**
- * function getCurrentPosition(successCallback,errorCallback,options)
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510/
- * @param {Function} successCallback (Position pos)
- * @param {Function} errorCallback (PositionError error) - optional
- * @param {PositionOptions} options - optional
- * @memberOf Geolocation
- */
- Geolocation.prototype.getCurrentPosition=function(successCallback,errorCallback,options){};
- /**
- * function watchPosition(successCallback,errorCallback,options)
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510/
- * @param {Function} successCallback (Position pos)
- * @param {Function} errorCallback (PositionError error) - optional
- * @param {PositionOptions} options - optional
- * @memberOf Geolocation
- * @returns {Number}
- */
- Geolocation.prototype.watchPosition=function(successCallback,errorCallback,options){return new Number();};
- /**
- * function clearWatch(watchId)
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @param {Number} watchId
- * @memberOf Geolocation
- */
- Geolocation.prototype.clearWatch=function(watchId){};
- /**
- * Object Coordinates
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- */
- function Coordinates(){};
- Coordinates.prototype=new Object();
- /**
- * Property latitude
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.latitude=new Number();;
- /**
- * Property longitude
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.longitude=new Number();;
- /**
- * Property altitude
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.altitude=new Number();;
- /**
- * Property accuracy
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.accuracy=new Number();;
- /**
- * Property altitudeAccuracy
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.altitudeAccuracy=new Number();;
- /**
- * Property heading
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.heading=new Number();;
- /**
- * Property speed
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Coordinates
- */
- Coordinates.prototype.speed=new Number();
- /**
- * Object Position
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- */
- function Position(){};
- Position.prototype=new Object();
- /**
- * Property coords
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Coordinates
- * @memberOf Position
- */
- Position.prototype.coords=new Coordinates();
- /**
- * Property timestamp
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf Position
- */
- Position.prototype.timestamp=new Number;
- /**
- * Object PositionError
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- */
- function PositionError(){};
- PositionError.prototype=new Object();
- /**
- * Constant PositionError.PERMISSION_DENIED=1
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @constant
- * @type Number
- */
- PositionError.prototype.PERMISSION_DENIED=1;
- /**
- * Constant PositionError.POSITION_UNAVAILABLE=2
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @constant
- * @type Number
- */
- PositionError.prototype.POSITION_UNAVAILABLE=2;
- /**
- * Constant PositionError.TIMEOUT=3
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @constant
- * @type Number
- */
- PositionError.prototype.TIMEOUT=3;
- /**
- * Property code
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf PositionError
- */
- PositionError.prototype.code=new Number();
- /**
- * Property message
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type String
- * @memberOf PositionError
- */
- PositionError.prototype.message=new String();
- /**
- * Object PositionOptions
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- */
- function PositionOptions(){};
- PositionOptions.prototype=new Object();
- /**
- * Property enableHighAccuracy
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Boolean
- * @memberOf PositionOptions
- */
- PositionOptions.prototype.enableHighAccuracy=new Boolean();
- /**
- * Property timeout
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf PositionOptions
- */
- PositionOptions.prototype.timeout=new Number();
- /**
- * Property maximumAge
- * http://www.w3.org/TR/2012/PR-geolocation-API-20120510
- * @type Number
- * @memberOf PositionOptions
- */
- PositionOptions.prototype.maximumAge=new Number();
- /**
- * Object TimeRanges
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- */
- function TimeRanges(){};
- TimeRanges.prototype=new Object();
- /**
- * Property length
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf TimeRanges
- */
- TimeRanges.prototype.length=new Number();
- /**
- * function start(index)
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @param {Number} index
- * @memberOf TimeRanges
- * @returns {Number}
- */
- function start(index) {return new Number();};
- /**
- * function end(index)
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @param {Number} index
- * @memberOf TimeRanges
- * @returns {Number}
- */
- function end(index) {return new Number();};
- /**
- * Object MediaError
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- */
- function MediaError(){};
- MediaError.prototype=new Object();
- /**
- * Constant MediaError.MEDIA_ERR_ABORTED=1
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- MediaError.prototype.MEDIA_ERR_ABORTED=1;
- /**
- * Constant MediaError.MEDIA_ERR_NETWORK=2
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- MediaError.prototype.MEDIA_ERR_NETWORK=2;
- /**
- * Constant MediaError.MEDIA_ERR_DECODED=3
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- MediaError.prototype.MEDIA_ERR_DECODE=3;
- /**
- * Constant MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED=4
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- MediaError.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4;
- /**
- * Property code
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf MediaError
- */
- MediaError.prototype.code=new Number();
- /**
- * Object HTMLMediaElement
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @augments HTMLElement
- * @see HTMLElement
- */
- function HTMLMediaElement(){};
- HTMLMediaElement.prototype = new HTMLElement();
- /**
- * Property src
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type String
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.src=new String();
- /**
- * Property currentSrc
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type String
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.currentSrc=new String();
- /**
- * Property crossOrigin
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type String
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.crossOrigin=new String();
- /**
- * Constant HTMLMediaElement.NETWORK_EMPTY=0
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.NETWORK_EMPTY=0;
- /**
- * Constant HTMLMediaElement.NETWORK_IDLE=1
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.NETWORK_IDLE=1;
- /**
- * Constant HTMLMediaElement.NETWORK_LOADING=2
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.NETWORK_LOADING=2;
- /**
- * Constant HTMLMediaElement.NETWORK_NO_SOURCE=3
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.NETWORK_NO_SOURCE=3;
- /**
- * Property networkState
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.networkState=new Number();
- /**
- * Property preload
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type String
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.preload=new String();
- /**
- * Property buffered
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type TimeRanges
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.buffered=new TimeRanges();
- /**
- * function load()
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.load=function(){};
- /**
- * function canPlayType(type)
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @param {String} type
- * @memberOf HTMLMediaElement
- * @returns {String}
- */
- HTMLMediaElement.prototype.canPlayType=function(type){new String();};
- /**
- * Constant HTMLMediaElement.HAVE_NOTHING=0
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.HAVE_NOTHING=0;
- /**
- * Constant HTMLMediaElement.HAVE_METADATA=1
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.HAVE_METADATA=1;
- /**
- * Constant HTMLMediaElement.HAVE_CURRENT_DATA=2
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.HAVE_CURRENT_DATA=2;
- /**
- * Constant HTMLMediaElement.HAVE_FUTURE_DATA=3
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.HAVE_FUTURE_DATA=3;
- /**
- * Constant HTMLMediaElement.HAVE_ENOUGH_DATA=4
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @constant
- * @type Number
- */
- HTMLMediaElement.prototype.HAVE_ENOUGH_DATA=4;
- /**
- * Property readyState
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.readyState=new Number();
- /**
- * Property seeking
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.seeking=new Boolean();
- /**
- * Property currentTime
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.currentTime=new Number();
- /**
- * Property initialTime
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.initialTime=new Number();
- /**
- * Property duration
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.duration=new Number();
- /**
- * Property startOffsetTime
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Date
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.startOffsetTime=new Date();
- /**
- * Property paused
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.paused=new Boolean();
- /**
- * Property defaultPlaybackRate
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.defaultPlaybackRate=new Number();
- /**
- * Property playbackRate
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.playbackRate=new Number();
- /**
- * Property played
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type TimeRanges
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.played=new TimeRanges();
- /**
- * Property seekable
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type TimeRanges
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.seekable=new TimeRanges();
- /**
- * Property ended
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.ended=new Boolean();
- /**
- * Property autoplay
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.autoplay=new Boolean();
- /**
- * Property loop
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.loop=new Boolean();
- /**
- * function play()
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.play=function(){};
- /**
- * function pause()
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.pause=function(){};
- /**
- * Property controls
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.controls=new Boolean();
- /**
- * Property volume
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.volume=new Number();
- /**
- * Property muted
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.muted=new Boolean();
-
- /**
- * Property defaultMuted
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Boolean
- * @memberOf HTMLMediaElement
- */
- HTMLMediaElement.prototype.defaultMuted=new Boolean();
- /**
- * Object HTMLAudioElement
- * http://www.w3.org/TR/2012/WD-html5-20120329/the-audio-element.html
- * @augments HTMLMediaElement
- * @constructor
- * @param {String} src
- * @see HTMLMediaElement
- */
- function HTMLAudioElement(src){};
- HTMLAudioElement.prototype = new HTMLMediaElement();
- /**
- * Object HTMLVideoElement
- * http://www.w3.org/TR/2012/WD-html5-20120329/the-audio-element.html
- * @augments HTMLMediaElement
- * @see HTMLMediaElement
- */
- function HTMLVideoElement(){};
- HTMLVideoElement.prototype = new HTMLMediaElement();
- /**
- * Property width
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLVideoElement
- */
- HTMLVideoElement.prototype.width=new Number();
- /**
- * Property height
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLVideoElement
- */
- HTMLVideoElement.prototype.height=new Number();
- /**
- * Property videoWidth
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLVideoElement
- */
- HTMLVideoElement.prototype.videoWidth=new Number();
- /**
- * Property videoHeight
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type Number
- * @memberOf HTMLVideoElement
- */
- HTMLVideoElement.prototype.videoHeight=new Number();
- /**
- * Property poster
- * http://www.w3.org/TR/2012/WD-html5-20120329/media-elements.html
- * @type String
- * @memberOf HTMLVideoElement
- */
- HTMLVideoElement.prototype.poster=new String();
|