no ticket: fix jQuery suite failure on Android

This commit is contained in:
Richard Gibson 2012-10-17 15:20:15 -04:00
parent 063ea024e9
commit c31539c8a2
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit badbeffba4714432a663f1150d3ffb1e20b6e191 Subproject commit f51e83a9c9bd78f1cafda9fa9b3b93fefa61c3ae

View File

@ -60,7 +60,7 @@ function testSubproject( label, url, risTests ) {
success: function( data, status, jqXHR ) { success: function( data, status, jqXHR ) {
var page = jQuery.parseHTML( var page = jQuery.parseHTML(
// replace html/head with dummy elements so they are represented in the DOM // replace html/head with dummy elements so they are represented in the DOM
( data || "" ).replace( /(<\/?)(?:html|head)\b/g, "$1div" ), ( data || "" ).replace( /<\/?((!DOCTYPE|html|head)\b.*?)>/gi, "[$1]" ),
document, document,
true true
); );