Check document.domain

Can document.domain be overridden?

By
skeptic_fx 0 Seen 411 times
Tags
sop domain
Run this test now.

Results


Tested on
Chrome - 62 - Windows 10
Yes / No
null

Tested on
Googlebot - 2.1 - undefined
Yes / No
Yes

Tested on
Chrome Mobile - 41 - Android
Yes / No
Yes

User Script (ENUM_FUNCTION)

					
function test(data){
	// We need to separate properties and access one by one.
try{
    
    var prop = Object.getOwnPropertyDescriptor(document, 'domain');
    
	if(	prop.configurable === true ){
       addError('Yes');
	} else {
       addSuccess('No');
	}
}

catch(err){
	addInfo(prop);
}
}



					
				

Enum Data (ENUM_FUNCTION)

					
var data = [1];