Example #1
0
 static IHTMLButton InternalConstructor(IHTMLDocument doc)
 {
     return((IHTMLButton)((object)new IHTMLElement(HTMLElementEnum.button, doc)));
 }
Example #2
0
 public IHTMLButton(IHTMLDocument doc)
 {
     // InternalConstructor
 }
Example #3
0
 static void __exitPointerLock(IHTMLDocument that)
 {
 }
Example #4
0
 static IHTMLElement __pointerLockElement(IHTMLDocument that)
 {
     return(null);
 }
Example #5
0
 static void __exitFullscreen(IHTMLDocument that)
 {
 }
Example #6
0
        static Native()
        {

            //at ScriptCoreLib.JavaScript.Native.__Uint8ClampedArray() in x:\jsc.svn\core\ScriptCoreLib\JavaScript\WebGL\Uint8ClampedArray.cs:line 19
            //at ScriptCoreLib.JavaScript.Native..cctor() in x:\jsc.svn\core\ScriptCoreLib\JavaScript\Native.cs:line 185

            __Uint8ClampedArray();


            __RTCPeerConnection();


            // what is it?
            if (Expando.InternalIsMember(self, "document")
                && Expando.InternalIsMember(self, "screen"))
            {
                // should be a window with a document
                window = (IWindow)self;

                document = window.document;
                screen = window.screen;

                // were ApplicationWebserviceFields decrypted befoe this point?
                __ToBase64String();

                // https:// !!!

                __initialize_identity();


                return;
            }



            // are all browsers reporting it as the same type?
            // what if it could have multiple names?
            Native.serviceworker = self as ServiceWorkerGlobalScope;
            // X:\jsc.svn\examples\javascript\Test\TestServiceWorkerRegistrations\TestServiceWorkerRegistrations\Application.cs

            if (Native.serviceworker == null)
            {
                // ok detect other modes...


                if (Expando.InternalIsMember(self, "importScripts"))
                {

                    if (Expando.InternalIsMember(self, "postMessage"))
                    {
                        // now what. are we running as a web worker?
                        // WorkerGlobalScope
                        // DedicatedWorkerGlobalScope
                        // DedicatedWorkerContext

                        worker = (DedicatedWorkerGlobalScope)self;
                        return;
                    }

                    // now what. are we running as a web worker?
                    // WorkerGlobalScope
                    // DedicatedWorkerGlobalScope
                    // DedicatedWorkerContext

                    sharedworker = (SharedWorkerGlobalScope)self;
                }
            }


        }