       }
            
            if (location.protocol === 'https:') {
                addCheckItem('success', 'Secure Context (HTTPS)', 
                    'Running on HTTPS. WebRTC has full functionality in secure contexts.');
            } else if (location.protocol === 'http:') {
                addCheckItem('warning', 'Insecure Context (HTTP)', 
                    'Running on HTTP. Some browsers restrict WebRTC features on non-secure origins.',
                    ['Consider moving to HTTPS for full