Initial Commit
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
INDEX VERSION 1.4+D:\Programming\Languages\Java\.metadata\.plugins\org.eclipse.wst.jsdt.core\indexes
|
||||
1900981994.index
|
||||
3405275606.index
|
||||
217724285.index
|
||||
1876955144.index
|
||||
1657421994.index
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,618 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2008, 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 BarProp(){};
|
||||
BarProp.prototype = new Array();
|
||||
|
||||
/**
|
||||
* Object Window()
|
||||
* @super Global
|
||||
* @constructor
|
||||
* @since Common Usage, no standard
|
||||
*/
|
||||
function Window(){};
|
||||
Window.prototype = new EventTarget();
|
||||
Window.prototype.self = new Window();
|
||||
Window.prototype.window = new Window();
|
||||
Window.prototype.frames = new Array();
|
||||
/**
|
||||
* Property closed
|
||||
* @type Boolean
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.closed = new Boolean();
|
||||
/**
|
||||
* Property defaultStatus
|
||||
* @type String
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.defaultStatus = "";
|
||||
/**
|
||||
* Property document
|
||||
* @type Document
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.document= new HTMLDocument();
|
||||
/**
|
||||
* Property history
|
||||
* @type History
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.history= new History();
|
||||
/**
|
||||
* Property location
|
||||
* @type Location
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.location=new Location();
|
||||
/**
|
||||
* Property name
|
||||
* @type String
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.name = "";
|
||||
/**
|
||||
* Property navigator
|
||||
* @type Navigator
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.navigator = new Navigator();
|
||||
/**
|
||||
* Property opener
|
||||
* @type Window
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.opener = new Window();
|
||||
/**
|
||||
* Property outerWidth
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.outerWidth = 0;
|
||||
/**
|
||||
* Property outerHeight
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.outerHeight = 0;
|
||||
/**
|
||||
* Property pageXOffset
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.pageXOffset = 0;
|
||||
/**
|
||||
* Property pageYOffset
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.pageYOffset = 0;
|
||||
/**
|
||||
* Property parent
|
||||
* @type Window
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.parent = new Window();
|
||||
/**
|
||||
* Property screen
|
||||
* @type Screen
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.screen = new Screen();
|
||||
/**
|
||||
* Property status
|
||||
* @type String
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.status = "";
|
||||
/**
|
||||
* Property top
|
||||
* @type Window
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.top = new Window();
|
||||
|
||||
|
||||
/*
|
||||
* These properties may need to be moved into a browswer specific library.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Property innerWidth
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.innerWidth = 0;
|
||||
/**
|
||||
* Property innerHeight
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.innerHeight = 0;
|
||||
/**
|
||||
* Property screenX
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.screenX = 0;
|
||||
/**
|
||||
* Property screenY
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.screenY = 0;
|
||||
/**
|
||||
* Property screenLeft
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.screenLeft = 0;
|
||||
/**
|
||||
* Property screenTop
|
||||
* @type Number
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.screenTop = 0;
|
||||
//Window.prototype.event = new Event();
|
||||
Window.prototype.length = 0;
|
||||
Window.prototype.scrollbars= new BarProp();
|
||||
Window.prototype.scrollX=0;
|
||||
Window.prototype.scrollY=0;
|
||||
Window.prototype.content= new Window();
|
||||
Window.prototype.menubar= new BarProp();
|
||||
Window.prototype.toolbar= new BarProp();
|
||||
Window.prototype.locationbar= new BarProp();
|
||||
Window.prototype.personalbar= new BarProp();
|
||||
Window.prototype.statusbar= new BarProp();
|
||||
Window.prototype.directories= new BarProp();
|
||||
Window.prototype.scrollMaxX=0;
|
||||
Window.prototype.scrollMaxY=0;
|
||||
Window.prototype.fullScreen="";
|
||||
Window.prototype.frameElement="";
|
||||
/* End properites */
|
||||
|
||||
/**
|
||||
* function alert()
|
||||
* @param {String} message
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.alert = function(message){};
|
||||
/**
|
||||
* function blur()
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.blur = function(){};
|
||||
/**
|
||||
* function clearInterval(intervalID)
|
||||
* @param intervalID
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.clearInterval = function(intervalID){};
|
||||
/**
|
||||
* function clearTimeout(intervalID)
|
||||
* @param intervalID
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.clearTimeout = function(intervalID){};
|
||||
/**
|
||||
* function close()
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.close = function(){};
|
||||
/**
|
||||
* function confirm()
|
||||
* @param {String} arg
|
||||
* @memberOf Window
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
Window.prototype.confirm = function(arg){return false;};
|
||||
/**
|
||||
* function focus()
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.focus = function(){};
|
||||
/**
|
||||
* function getComputedStyle(element, pseudoElt )
|
||||
* @param {Element} element
|
||||
* @param {String} pseudoElt
|
||||
* @memberOf Window
|
||||
* @returns {Object}
|
||||
*/
|
||||
Window.prototype.getComputedStyle = function(element,pseudoElt ){return new Object();};
|
||||
/**
|
||||
* function moveTo(x, y)
|
||||
* @param {Number} x
|
||||
* @param {Number} y
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.moveTo = function(x,y){};
|
||||
/**
|
||||
* function moveBy(deltaX, deltaY)
|
||||
* @param {Number} deltaX
|
||||
* @param {Number} deltaY
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.moveBy = function(deltaX,deltaY){};
|
||||
/**
|
||||
* function open(optionalArg1, optionalArg2, optionalArg3, optionalArg4)
|
||||
* @param {String} url
|
||||
* @param {String} windowName
|
||||
* @param {String} windowFeatures
|
||||
* @param {Boolean} optionalArg4
|
||||
* @memberOf Window
|
||||
* @returns {Window}
|
||||
*/
|
||||
Window.prototype.open = function(url, windowName, windowFeatures, optionalArg4){return new Window();};
|
||||
/**
|
||||
* function print()
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.print = function(){};
|
||||
/**
|
||||
* function prompt(text, value)
|
||||
* @param {String} text
|
||||
* @param {String} value
|
||||
* @memberOf Window
|
||||
* @returns {String}
|
||||
*/
|
||||
Window.prototype.prompt = function(text, value){return "";};
|
||||
/**
|
||||
* function resizeTo(newOuterWidth,newOuterHeight)
|
||||
* @param {Number} newOuterWidth
|
||||
* @param {Number} newOuterHeighr
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.resizeTo=function(newOuterWidth,newOuterHeight){};
|
||||
/**
|
||||
* function resizeBy(deltaX, deltaY)
|
||||
* @param {Number} deltaX
|
||||
* @param {Number} deltaY
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.resizeBy=function(deltaX,deltaY){};
|
||||
/**
|
||||
* function scrollTo(x,y)
|
||||
* @param {Number} x
|
||||
* @param {Number} y
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.scrollTo=function(x,y){};
|
||||
/**
|
||||
* function scrollBy(pixelX,pixelY)
|
||||
* @param {Number} pixelX
|
||||
* @param {Number} pixelY
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.scrollBy=function(pixelX,pixelY){};
|
||||
/**
|
||||
* function setInterval(arg1, arg2)
|
||||
* @param {Function} callback
|
||||
* @param {Number} delay
|
||||
* @memberOf Window
|
||||
* @returns {Number}
|
||||
*/
|
||||
Window.prototype.setInterval=function(callback, delay){return 0;};
|
||||
/**
|
||||
* function setTimeout(callback, delay)
|
||||
* @param {Function} callback
|
||||
* @param {Number} delay
|
||||
* @memberOf Window
|
||||
* @returns {Number}
|
||||
*/
|
||||
Window.prototype.setTimeout=function(callback, delay){ return 0;};
|
||||
/**
|
||||
* function atob(encodedData)
|
||||
* @param {String} encodedData
|
||||
* @memberOf Window
|
||||
* @returns {String}
|
||||
*/
|
||||
Window.prototype.atob=function(encodedData){return "";};
|
||||
/**
|
||||
* function btoa(arg)
|
||||
* @param {String} stringToEncode
|
||||
* @memberOf Window
|
||||
* @returns {String}
|
||||
*/
|
||||
Window.prototype.btoa=function(stringToEncode){return "";};
|
||||
/**
|
||||
* function setResizable(resizable)
|
||||
* @param {Boolean} resizable
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.setResizable=function(resizable){};
|
||||
|
||||
Window.prototype.captureEvents=function(eventType){};
|
||||
Window.prototype.releaseEvents=function(eventType){};
|
||||
Window.prototype.routeEvent=function(eventType){};
|
||||
Window.prototype.enableExternalCapture=function(){};
|
||||
Window.prototype.disableExternalCapture=function(){};
|
||||
Window.prototype.find=function(){};
|
||||
Window.prototype.back=function(){};
|
||||
Window.prototype.forward=function(){};
|
||||
Window.prototype.home=function(){};
|
||||
Window.prototype.stop=function(){};
|
||||
/**
|
||||
* @param {Number} pixelX
|
||||
* @param {Number} pixelY
|
||||
*/
|
||||
Window.prototype.scroll=function(pixelX,pixelY){};
|
||||
/* End functions */
|
||||
|
||||
/**
|
||||
* Object History()
|
||||
* @super Object
|
||||
* @constructor
|
||||
* @since Common Usage, no standard
|
||||
*/
|
||||
function History(){};
|
||||
History.prototype=new Object();
|
||||
History.prototype.history = new History();
|
||||
/**
|
||||
* Property length
|
||||
* @type Number
|
||||
* @memberOf History
|
||||
*/
|
||||
History.prototype.length = 0;
|
||||
/**
|
||||
* function back()
|
||||
* @memberOf History
|
||||
*/
|
||||
History.prototype.back = function(){};
|
||||
/**
|
||||
* function forward()
|
||||
* @memberOf History
|
||||
*/
|
||||
History.prototype.forward = function(){};
|
||||
/**
|
||||
* function back()
|
||||
* @param arg
|
||||
* @memberOf History
|
||||
*/
|
||||
History.prototype.go = function(arg){};
|
||||
|
||||
/**
|
||||
* Object Location()
|
||||
* @super Object
|
||||
* @constructor
|
||||
* @since Common Usage, no standard
|
||||
*/
|
||||
function Location(){};
|
||||
Location.prototype = new Object();
|
||||
Location.prototype.location = new Location();
|
||||
/**
|
||||
* Property hash
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.hash = "";
|
||||
/**
|
||||
* Property host
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.host = "";
|
||||
/**
|
||||
* Property hostname
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.hostname = "";
|
||||
/**
|
||||
* Property href
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.href = "";
|
||||
/**
|
||||
* Property pathname
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.pathname = "";
|
||||
/**
|
||||
* Property port
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.port = "";
|
||||
/**
|
||||
* Property protocol
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.protocol = "";
|
||||
/**
|
||||
* Property search
|
||||
* @type String
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.search = "";
|
||||
/**
|
||||
* function assign(arg)
|
||||
* @param {String} arg
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.assign = function(arg){};
|
||||
/**
|
||||
* function reload(optionalArg)
|
||||
* @param {Boolean} optionalArg
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.reload = function(optionalArg){};
|
||||
/**
|
||||
* function replace(arg)
|
||||
* @param {String} arg
|
||||
* @memberOf Location
|
||||
*/
|
||||
Location.prototype.replace = function(arg){};
|
||||
|
||||
/**
|
||||
* Object Navigator()
|
||||
* @super Object
|
||||
* @constructor
|
||||
* @since Common Usage, no standard
|
||||
*/
|
||||
function Navigator(){};
|
||||
Navigator.prototype = new Object();
|
||||
Navigator.prototype.navigator = new Navigator();
|
||||
/**
|
||||
* Property appCodeName
|
||||
* @type String
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.appCodeName = "";
|
||||
/**
|
||||
* Property appName
|
||||
* @type String
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.appName = "";
|
||||
/**
|
||||
* Property appVersion
|
||||
* @type String
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.appVersion = "";
|
||||
/**
|
||||
* Property cookieEnabled
|
||||
* @type Boolean
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.cookieEnabled = new Boolean();
|
||||
/**
|
||||
* Property mimeTypes
|
||||
* @type Array
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.mimeTypes = new Array();
|
||||
/**
|
||||
* Property platform
|
||||
* @type String
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.platform = "";
|
||||
/**
|
||||
* Property plugins
|
||||
* @type Array
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.plugins = new Array();
|
||||
/**
|
||||
* Property userAgent
|
||||
* @type String
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.userAgent = "";
|
||||
/**
|
||||
* function javaEnabled()
|
||||
* @returns {Boolean}
|
||||
* @memberOf Navigator
|
||||
*/
|
||||
Navigator.prototype.javaEnabled = function(){return false;};
|
||||
|
||||
/**
|
||||
* Object Screen()
|
||||
* @super Object
|
||||
* @constructor
|
||||
* @since Common Usage, no standard
|
||||
*/
|
||||
function Screen(){};
|
||||
Screen.prototype = new Object();
|
||||
Screen.prototype.screen = new Screen();
|
||||
/**
|
||||
* Property availHeight
|
||||
* @type Number
|
||||
* @memberOf Screen
|
||||
*/
|
||||
Navigator.prototype.availHeight = 0;
|
||||
/**
|
||||
* Property availWidth
|
||||
* @type Number
|
||||
* @memberOf Screen
|
||||
*/
|
||||
Navigator.prototype.availWidth = 0;
|
||||
/**
|
||||
* Property colorDepth
|
||||
* @type Number
|
||||
* @memberOf Screen
|
||||
*/
|
||||
Navigator.prototype.colorDepth = 0;
|
||||
/**
|
||||
* Property height
|
||||
* @type Number
|
||||
* @memberOf Screen
|
||||
*/
|
||||
Navigator.prototype.height = 0;
|
||||
/**
|
||||
* Property width
|
||||
* @type Number
|
||||
* @memberOf Screen
|
||||
*/
|
||||
Navigator.prototype.width = 0;
|
||||
|
||||
Event.prototype=new Object();
|
||||
// PhaseType
|
||||
Event.prototype.CAPTURING_PHASE = 1;
|
||||
Event.prototype.AT_TARGET = 2;
|
||||
Event.prototype.BUBBLING_PHASE = 3;
|
||||
|
||||
Event.prototype.type="";
|
||||
Event.prototype.target=new EventTarget();
|
||||
Event.prototype.currentTarget=new EventTarget();
|
||||
Event.prototype.eventPhase=0;
|
||||
Event.prototype.bubbles=false;
|
||||
Event.prototype.cancelable=false;
|
||||
Event.prototype.timeStamp=0;
|
||||
Event.prototype.stopPropagation=function(){};
|
||||
Event.prototype.preventDefault=function(){};
|
||||
/**
|
||||
* @param {String} eventTypeArg
|
||||
* @param {Boolean} canBubbleArg
|
||||
* @param {Boolean} cancelableArg
|
||||
*/
|
||||
Event.prototype.initEvent=function(eventTypeArg,
|
||||
canBubbleArg,
|
||||
cancelableArg){};
|
||||
function EventListener(){};
|
||||
EventListener.prototype=new Object();
|
||||
/**
|
||||
* @param {Event} event
|
||||
* @memberOf EventListener
|
||||
*/
|
||||
EventListener.prototype.handleEvent=function(event){};
|
||||
|
||||
function EventTarget(){};
|
||||
EventTarget.prototype=new Object();
|
||||
/*
|
||||
* These functions may need to be moved into a browser specific library.
|
||||
*/
|
||||
/**
|
||||
* @memberOf Window
|
||||
* @param event {Event}
|
||||
* @throws {EventException}
|
||||
*/
|
||||
EventTarget.prototype.dispatchEvent=function(event){};
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener
|
||||
/**
|
||||
* @memberOf Window
|
||||
* @param {String} type
|
||||
* @param {EventListener} listener
|
||||
* @param {Boolean} useCapture
|
||||
*/
|
||||
EventTarget.prototype.addEventListener=function(type, listener, useCapture){};
|
||||
// https://developer.mozilla.org/en-US/docs/DOM/element.removeEventListener
|
||||
/**
|
||||
* @memberOf Window
|
||||
* @param {String} type
|
||||
* @param {EventListener} listener
|
||||
* @param {Boolean} useCapture
|
||||
*/
|
||||
EventTarget.prototype.removeEventListener=function(type, listener, useCapture){};
|
||||
@@ -0,0 +1,922 @@
|
||||
/*******************************************************************************
|
||||
* 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();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,104 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2011 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
|
||||
******************************************************************************
|
||||
*
|
||||
* Based on information from https://developer.mozilla.org/En/XMLHttpRequest
|
||||
* and http://msdn2.microsoft.com/en-us/library/ms533062.aspx
|
||||
**/
|
||||
|
||||
/**
|
||||
* function createRequest
|
||||
* @type XMLHttpRequest
|
||||
* @memberOf Window
|
||||
*/
|
||||
Window.prototype.createRequest= function(){return new XMLHttpRequest();};
|
||||
/**
|
||||
* Object XMLHttpRequest
|
||||
* @type constructor
|
||||
*/
|
||||
XMLHttpRequest.prototype=new Object();
|
||||
function XMLHttpRequest(){};
|
||||
|
||||
/**
|
||||
* function onreadystatechange
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.onreadystatechange=function(){};
|
||||
/**
|
||||
* property readyState
|
||||
* @type Number
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.readyState=0;
|
||||
/**
|
||||
* property responseText
|
||||
* @type String
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.responseText="";
|
||||
/**
|
||||
* property responseXML
|
||||
* @type Document
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.responseXML=new Document();
|
||||
/**
|
||||
* property status
|
||||
* @type Number
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.status=0;
|
||||
/**
|
||||
* property statusText
|
||||
* @type String
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.statusText="";
|
||||
/**
|
||||
* function abort()
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.abort=function(){};
|
||||
/**
|
||||
* function getAllResponseHeaders()
|
||||
* @type String
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.getAllResponseHeaders=function(){return "";};
|
||||
/**
|
||||
* function open(method, url, async, username, password)
|
||||
* @param {String} method
|
||||
* @param {String} url
|
||||
* @param {Boolean} optional async
|
||||
* @param {String} optional username
|
||||
* @param {String} optional password
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.open=function(method, url, async, username, password){};
|
||||
/**
|
||||
* function send(body)
|
||||
* @param {Object} body
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.send=function(body){};
|
||||
/**
|
||||
* function setRequestHeader(header,value)
|
||||
* @param {String} header
|
||||
* @param {String} value
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.setRequestHeader=function(header,value){};
|
||||
/**
|
||||
* function getAllResponseHeaders()
|
||||
* @param {String} header
|
||||
* @type String
|
||||
* @memberOf XMLHttpRequest
|
||||
*/
|
||||
XMLHttpRequest.prototype.getResponseHeader=function(header){return "";};
|
||||
Binary file not shown.
Reference in New Issue
Block a user