{"ScriptPreparationCode":null,"TestCases":[{"Name":"getOwnPropertyNames","Code":"\r\nfunction objectProperties(object, result = {}) {\r\n let proto = object;\r\n while ((proto = Object.getPrototypeOf(proto)) !== Object.prototype) {\r\n for(const name of Object.getOwnPropertyNames(proto)) {\r\n result[name] = name;\r\n }\r\n }\r\n return result;\r\n}\r\nobjectProperties(new MediaSource());","IsDeferred":false},{"Name":"getOwnPropertyDescriptors","Code":"\r\nfunction objectProperties(object, result = {}) {\r\n let proto = object;\r\n while ((proto = Object.getPrototypeOf(proto)) !== Object.prototype) {\r\n for(const descriptor in Object.getOwnPropertyDescriptors(proto)) {\r\n result[descriptor] = descriptor;\r\n }\r\n }\r\n return result;\r\n}\r\nobjectProperties(new MediaSource());","IsDeferred":false}]}