{"ScriptPreparationCode":null,"TestCases":[{"Name":"Extension override","Code":" var querySelectorSupported = document.querySelectorAll;\r\n\r\n (function ()\r\n {\r\n var jQueryInitFunc = $.fn.init;\r\n $.fn.init = function (selector, context, root)\r\n {\r\n if (querySelectorSupported\r\n \u0026\u0026 !context\r\n \u0026\u0026 typeof selector === \u0022string\u0022\r\n \u0026\u0026 selector[0] !== \u0022\u003C\u0022)\r\n {\r\n try\r\n {\r\n selector = document.querySelectorAll(selector);\r\n }\r\n catch (e)\r\n {\r\n }\r\n }\r\n\r\n return new jQueryInitFunc(selector, context, root);\r\n };\r\n })();\r\n\r\n (function ()\r\n {\r\n var jQueryFindFunc = $.fn.find;\r\n $.fn.find = function (selector)\r\n {\r\n if (querySelectorSupported\r\n \u0026\u0026 typeof selector === \u0022string\u0022)\r\n {\r\n try\r\n {\r\n return $(Array.from(this.get(0).querySelectorAll(selector)));\r\n }\r\n catch (e)\r\n { \r\n }\r\n }\r\n\r\n return jQueryFindFunc.apply(this, arguments);\r\n };\r\n })();\r\n\r\n$(\u0022.foo\u0022);","IsDeferred":false},{"Name":"Jquery","Code":"$(\u0022.foo\u0022);","IsDeferred":false},{"Name":"Native","Code":"document.querySelectorAll(\u0022.foo\u0022);","IsDeferred":false}]}