Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / jquery / resources / test / data / testrunner.js
blobbeb0fe2abff040318ab701a8e48f190c95ba5299
1 jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
3 // jQuery-specific QUnit.reset
4 (function() {
5 var reset = QUnit.reset;
6 var ajaxSettings = jQuery.ajaxSettings
7 QUnit.reset = function() {
8 reset.apply(this, arguments);
9 jQuery.event.global = {};
10 jQuery.ajaxSettings = jQuery.extend({}, ajaxSettings);
12 })();
14 // load testswarm agent
15 (function() {
16 var url = window.location.search;
17 url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
18 if ( !url || url.indexOf("http") !== 0 ) {
19 return;
22 // (Temporarily) Disable Ajax tests to reduce network strain
23 isLocal = QUnit.isLocal = true;
25 document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
26 })();