load-tests.js revision 92e597e015cd0d9a07055436b637d9cfdb9c1164
/* This file is auto-generated by src/loader/scripts/meta_join.py */
// graphics-canvas-default
"name": "graphics-canvas-default",
"test": function(Y) {
return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (canvas && canvas.getContext && canvas.getContext("2d")));
},
"trigger": "graphics"
});
// autocomplete-list-keys
"name": "autocomplete-list-keys",
"test": function (Y) {
// Only add keyboard support to autocomplete-list if this doesn't appear to
// be an iOS or Android-based mobile device.
//
// There's currently no feasible way to actually detect whether a device has
// a hardware keyboard, so this sniff will have to do. It can easily be
// overridden by manually loading the autocomplete-list-keys module.
//
// Worth noting: even though iOS supports bluetooth keyboards, Mobile Safari
// doesn't fire the keyboard events used by AutoCompleteList, so there's
// no point loading the -keys module even when a bluetooth keyboard may be
// available.
},
"trigger": "autocomplete-list"
});
// graphics-svg
"name": "graphics-svg",
"test": function(Y) {
return (DOCUMENT && DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"));
},
"trigger": "graphics"
});
// history-hash-ie
"name": "history-hash-ie",
"test": function (Y) {
},
"trigger": "history-hash"
});
// graphics-vml-default
"name": "graphics-vml-default",
"test": function(Y) {
return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (!canvas || !canvas.getContext || !canvas.getContext("2d")));
},
"trigger": "graphics"
});
// graphics-svg-default
"name": "graphics-svg-default",
"test": function(Y) {
return (DOCUMENT && DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"));
},
"trigger": "graphics"
});
// widget-base-ie
"name": "widget-base-ie",
"trigger": "widget-base",
"ua": "ie"
});
// transition-timer
"name": "transition-timer",
"test": function (Y) {
ret = true;
}
return ret;
},
"trigger": "transition"
});
// dom-style-ie
"name": "dom-style-ie",
"test": function (Y) {
DOCUMENT_ELEMENT = 'documentElement',
ret = false;
test: function() {
}
});
test: function() {
}
});
return ret;
},
"trigger": "dom-style"
});
// selector-css2
"name": "selector-css2",
"test": function (Y) {
return ret;
},
"trigger": "selector"
});
// event-base-ie
"name": "event-base-ie",
"test": function(Y) {
},
"trigger": "node-base"
});
// dd-gestures
"name": "dd-gestures",
"test": function(Y) {
},
"trigger": "dd-drag"
});
// scrollview-base-ie
"name": "scrollview-base-ie",
"trigger": "scrollview-base",
"ua": "ie"
});
// graphics-canvas
"name": "graphics-canvas",
"test": function(Y) {
return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (canvas && canvas.getContext && canvas.getContext("2d")));
},
"trigger": "graphics"
});
// graphics-vml
"name": "graphics-vml",
"test": function(Y) {
return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (!canvas || !canvas.getContext || !canvas.getContext("2d")));
},
"trigger": "graphics"
});