Title: [277966] trunk/LayoutTests
Revision
277966
Author
jbed...@apple.com
Date
2021-05-24 14:44:48 -0700 (Mon, 24 May 2021)

Log Message

[LayoutTests] Delete unused jquery resources
https://bugs.webkit.org/show_bug.cgi?id=226043
<rdar://problem/78277881>

Reviewed by Dewei Zhu.

* jquery/resources/src/intro.js: Removed.
* jquery/resources/src/outro.js: Removed.
* jquery/resources/src/selector.js: Removed.
* jquery/resources/test/csp.php: Removed.
* jquery/resources/test/data/readywaitasset.js: Removed.
* jquery/resources/test/data/readywaitloader.js: Removed.
* jquery/resources/test/delegatetest.html: Removed.
* jquery/resources/test/localfile.html: Removed.
* jquery/resources/test/networkerror.html: Removed.
* jquery/resources/test/polluted.php: Removed.
* jquery/resources/test/readywait.html: Removed.
* jquery/resources/test/xhtml.php: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (277965 => 277966)


--- trunk/LayoutTests/ChangeLog	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/ChangeLog	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,3 +1,24 @@
+2021-05-24  Jonathan Bedard  <jbed...@apple.com>
+
+        [LayoutTests] Delete unused jquery resources
+        https://bugs.webkit.org/show_bug.cgi?id=226043
+        <rdar://problem/78277881>
+
+        Reviewed by Dewei Zhu.
+
+        * jquery/resources/src/intro.js: Removed.
+        * jquery/resources/src/outro.js: Removed.
+        * jquery/resources/src/selector.js: Removed.
+        * jquery/resources/test/csp.php: Removed.
+        * jquery/resources/test/data/readywaitasset.js: Removed.
+        * jquery/resources/test/data/readywaitloader.js: Removed.
+        * jquery/resources/test/delegatetest.html: Removed.
+        * jquery/resources/test/localfile.html: Removed.
+        * jquery/resources/test/networkerror.html: Removed.
+        * jquery/resources/test/polluted.php: Removed.
+        * jquery/resources/test/readywait.html: Removed.
+        * jquery/resources/test/xhtml.php: Removed.
+
 2021-05-24  Chris Gambrell  <cgambr...@apple.com>
 
         [LayoutTests] Remove straggling PHP references

Deleted: trunk/LayoutTests/jquery/resources/src/intro.js (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/src/intro.js	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/src/intro.js	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,19 +0,0 @@
-/*!
- * jQuery _javascript_ Library v@VERSION
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: @DATE
- */
-(function( window, undefined ) {
-
-// Use the correct document accordingly with window argument (sandbox)
-var document = window.document;

Deleted: trunk/LayoutTests/jquery/resources/src/outro.js (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/src/outro.js	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/src/outro.js	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,2 +0,0 @@
-window.jQuery = window.$ = jQuery;
-})(window);

Deleted: trunk/LayoutTests/jquery/resources/src/selector.js (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/src/selector.js	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/src/selector.js	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,1392 +0,0 @@
-/*!
- * Sizzle CSS Selector Engine
- *  Copyright 2011, The Dojo Foundation
- *  Released under the MIT, BSD, and GPL Licenses.
- *  More information: http://sizzlejs.com/
- */
-(function(){
-
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
-	done = 0,
-	toString = Object.prototype.toString,
-	hasDuplicate = false,
-	baseHasDuplicate = true,
-	rBackslash = /\\/g,
-	rNonWord = /\W/;
-
-// Here we check if the _javascript_ engine is using some sort of
-// optimization where it does not always call our comparision
-// function. If that is the case, discard the hasDuplicate value.
-//   Thus far that includes Google Chrome.
-[0, 0].sort(function() {
-	baseHasDuplicate = false;
-	return 0;
-});
-
-var Sizzle = function( selector, context, results, seed ) {
-	results = results || [];
-	context = context || document;
-
-	var origContext = context;
-
-	if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
-		return [];
-	}
-	
-	if ( !selector || typeof selector !== "string" ) {
-		return results;
-	}
-
-	var m, set, checkSet, extra, ret, cur, pop, i,
-		prune = true,
-		contextXML = Sizzle.isXML( context ),
-		parts = [],
-		soFar = selector;
-	
-	// Reset the position of the chunker regexp (start from head)
-	do {
-		chunker.exec( "" );
-		m = chunker.exec( soFar );
-
-		if ( m ) {
-			soFar = m[3];
-		
-			parts.push( m[1] );
-		
-			if ( m[2] ) {
-				extra = m[3];
-				break;
-			}
-		}
-	} while ( m );
-
-	if ( parts.length > 1 && origPOS.exec( selector ) ) {
-
-		if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
-			set = posProcess( parts[0] + parts[1], context );
-
-		} else {
-			set = Expr.relative[ parts[0] ] ?
-				[ context ] :
-				Sizzle( parts.shift(), context );
-
-			while ( parts.length ) {
-				selector = parts.shift();
-
-				if ( Expr.relative[ selector ] ) {
-					selector += parts.shift();
-				}
-				
-				set = posProcess( selector, set );
-			}
-		}
-
-	} else {
-		// Take a shortcut and set the context if the root selector is an ID
-		// (but not if it'll be faster if the inner selector is an ID)
-		if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
-				Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
-
-			ret = Sizzle.find( parts.shift(), context, contextXML );
-			context = ret.expr ?
-				Sizzle.filter( ret.expr, ret.set )[0] :
-				ret.set[0];
-		}
-
-		if ( context ) {
-			ret = seed ?
-				{ expr: parts.pop(), set: makeArray(seed) } :
-				Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
-
-			set = ret.expr ?
-				Sizzle.filter( ret.expr, ret.set ) :
-				ret.set;
-
-			if ( parts.length > 0 ) {
-				checkSet = makeArray( set );
-
-			} else {
-				prune = false;
-			}
-
-			while ( parts.length ) {
-				cur = parts.pop();
-				pop = cur;
-
-				if ( !Expr.relative[ cur ] ) {
-					cur = "";
-				} else {
-					pop = parts.pop();
-				}
-
-				if ( pop == null ) {
-					pop = context;
-				}
-
-				Expr.relative[ cur ]( checkSet, pop, contextXML );
-			}
-
-		} else {
-			checkSet = parts = [];
-		}
-	}
-
-	if ( !checkSet ) {
-		checkSet = set;
-	}
-
-	if ( !checkSet ) {
-		Sizzle.error( cur || selector );
-	}
-
-	if ( toString.call(checkSet) === "[object Array]" ) {
-		if ( !prune ) {
-			results.push.apply( results, checkSet );
-
-		} else if ( context && context.nodeType === 1 ) {
-			for ( i = 0; checkSet[i] != null; i++ ) {
-				if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
-					results.push( set[i] );
-				}
-			}
-
-		} else {
-			for ( i = 0; checkSet[i] != null; i++ ) {
-				if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
-					results.push( set[i] );
-				}
-			}
-		}
-
-	} else {
-		makeArray( checkSet, results );
-	}
-
-	if ( extra ) {
-		Sizzle( extra, origContext, results, seed );
-		Sizzle.uniqueSort( results );
-	}
-
-	return results;
-};
-
-Sizzle.uniqueSort = function( results ) {
-	if ( sortOrder ) {
-		hasDuplicate = baseHasDuplicate;
-		results.sort( sortOrder );
-
-		if ( hasDuplicate ) {
-			for ( var i = 1; i < results.length; i++ ) {
-				if ( results[i] === results[ i - 1 ] ) {
-					results.splice( i--, 1 );
-				}
-			}
-		}
-	}
-
-	return results;
-};
-
-Sizzle.matches = function( expr, set ) {
-	return Sizzle( expr, null, null, set );
-};
-
-Sizzle.matchesSelector = function( node, expr ) {
-	return Sizzle( expr, null, null, [node] ).length > 0;
-};
-
-Sizzle.find = function( expr, context, isXML ) {
-	var set;
-
-	if ( !expr ) {
-		return [];
-	}
-
-	for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
-		var match,
-			type = Expr.order[i];
-		
-		if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
-			var left = match[1];
-			match.splice( 1, 1 );
-
-			if ( left.substr( left.length - 1 ) !== "\\" ) {
-				match[1] = (match[1] || "").replace( rBackslash, "" );
-				set = Expr.find[ type ]( match, context, isXML );
-
-				if ( set != null ) {
-					expr = expr.replace( Expr.match[ type ], "" );
-					break;
-				}
-			}
-		}
-	}
-
-	if ( !set ) {
-		set = typeof context.getElementsByTagName !== "undefined" ?
-			context.getElementsByTagName( "*" ) :
-			[];
-	}
-
-	return { set: set, expr: expr };
-};
-
-Sizzle.filter = function( expr, set, inplace, not ) {
-	var match, anyFound,
-		old = expr,
-		result = [],
-		curLoop = set,
-		isXMLFilter = set && set[0] && Sizzle.isXML( set[0] );
-
-	while ( expr && set.length ) {
-		for ( var type in Expr.filter ) {
-			if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
-				var found, item,
-					filter = Expr.filter[ type ],
-					left = match[1];
-
-				anyFound = false;
-
-				match.splice(1,1);
-
-				if ( left.substr( left.length - 1 ) === "\\" ) {
-					continue;
-				}
-
-				if ( curLoop === result ) {
-					result = [];
-				}
-
-				if ( Expr.preFilter[ type ] ) {
-					match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
-
-					if ( !match ) {
-						anyFound = found = true;
-
-					} else if ( match === true ) {
-						continue;
-					}
-				}
-
-				if ( match ) {
-					for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
-						if ( item ) {
-							found = filter( item, match, i, curLoop );
-							var pass = not ^ !!found;
-
-							if ( inplace && found != null ) {
-								if ( pass ) {
-									anyFound = true;
-
-								} else {
-									curLoop[i] = false;
-								}
-
-							} else if ( pass ) {
-								result.push( item );
-								anyFound = true;
-							}
-						}
-					}
-				}
-
-				if ( found !== undefined ) {
-					if ( !inplace ) {
-						curLoop = result;
-					}
-
-					expr = expr.replace( Expr.match[ type ], "" );
-
-					if ( !anyFound ) {
-						return [];
-					}
-
-					break;
-				}
-			}
-		}
-
-		// Improper _expression_
-		if ( expr === old ) {
-			if ( anyFound == null ) {
-				Sizzle.error( expr );
-
-			} else {
-				break;
-			}
-		}
-
-		old = expr;
-	}
-
-	return curLoop;
-};
-
-Sizzle.error = function( msg ) {
-	throw "Syntax error, unrecognized _expression_: " + msg;
-};
-
-var Expr = Sizzle.selectors = {
-	order: [ "ID", "NAME", "TAG" ],
-
-	match: {
-		ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
-		CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
-		NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
-		ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
-		TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
-		CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
-		POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
-		PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
-	},
-
-	leftMatch: {},
-
-	attrMap: {
-		"class": "className",
-		"for": "htmlFor"
-	},
-
-	attrHandle: {
-		href: function( elem ) {
-			return elem.getAttribute( "href" );
-		},
-		type: function( elem ) {
-			return elem.getAttribute( "type" );
-		}
-	},
-
-	relative: {
-		"+": function(checkSet, part){
-			var isPartStr = typeof part === "string",
-				isTag = isPartStr && !rNonWord.test( part ),
-				isPartStrNotTag = isPartStr && !isTag;
-
-			if ( isTag ) {
-				part = part.toLowerCase();
-			}
-
-			for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
-				if ( (elem = checkSet[i]) ) {
-					while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
-
-					checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
-						elem || false :
-						elem === part;
-				}
-			}
-
-			if ( isPartStrNotTag ) {
-				Sizzle.filter( part, checkSet, true );
-			}
-		},
-
-		">": function( checkSet, part ) {
-			var elem,
-				isPartStr = typeof part === "string",
-				i = 0,
-				l = checkSet.length;
-
-			if ( isPartStr && !rNonWord.test( part ) ) {
-				part = part.toLowerCase();
-
-				for ( ; i < l; i++ ) {
-					elem = checkSet[i];
-
-					if ( elem ) {
-						var parent = elem.parentNode;
-						checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
-					}
-				}
-
-			} else {
-				for ( ; i < l; i++ ) {
-					elem = checkSet[i];
-
-					if ( elem ) {
-						checkSet[i] = isPartStr ?
-							elem.parentNode :
-							elem.parentNode === part;
-					}
-				}
-
-				if ( isPartStr ) {
-					Sizzle.filter( part, checkSet, true );
-				}
-			}
-		},
-
-		"": function(checkSet, part, isXML){
-			var nodeCheck,
-				doneName = done++,
-				checkFn = dirCheck;
-
-			if ( typeof part === "string" && !rNonWord.test( part ) ) {
-				part = part.toLowerCase();
-				nodeCheck = part;
-				checkFn = dirNodeCheck;
-			}
-
-			checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML );
-		},
-
-		"~": function( checkSet, part, isXML ) {
-			var nodeCheck,
-				doneName = done++,
-				checkFn = dirCheck;
-
-			if ( typeof part === "string" && !rNonWord.test( part ) ) {
-				part = part.toLowerCase();
-				nodeCheck = part;
-				checkFn = dirNodeCheck;
-			}
-
-			checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML );
-		}
-	},
-
-	find: {
-		ID: function( match, context, isXML ) {
-			if ( typeof context.getElementById !== "undefined" && !isXML ) {
-				var m = context.getElementById(match[1]);
-				// Check parentNode to catch when Blackberry 4.6 returns
-				// nodes that are no longer in the document #6963
-				return m && m.parentNode ? [m] : [];
-			}
-		},
-
-		NAME: function( match, context ) {
-			if ( typeof context.getElementsByName !== "undefined" ) {
-				var ret = [],
-					results = context.getElementsByName( match[1] );
-
-				for ( var i = 0, l = results.length; i < l; i++ ) {
-					if ( results[i].getAttribute("name") === match[1] ) {
-						ret.push( results[i] );
-					}
-				}
-
-				return ret.length === 0 ? null : ret;
-			}
-		},
-
-		TAG: function( match, context ) {
-			if ( typeof context.getElementsByTagName !== "undefined" ) {
-				return context.getElementsByTagName( match[1] );
-			}
-		}
-	},
-	preFilter: {
-		CLASS: function( match, curLoop, inplace, result, not, isXML ) {
-			match = " " + match[1].replace( rBackslash, "" ) + " ";
-
-			if ( isXML ) {
-				return match;
-			}
-
-			for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
-				if ( elem ) {
-					if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) {
-						if ( !inplace ) {
-							result.push( elem );
-						}
-
-					} else if ( inplace ) {
-						curLoop[i] = false;
-					}
-				}
-			}
-
-			return false;
-		},
-
-		ID: function( match ) {
-			return match[1].replace( rBackslash, "" );
-		},
-
-		TAG: function( match, curLoop ) {
-			return match[1].replace( rBackslash, "" ).toLowerCase();
-		},
-
-		CHILD: function( match ) {
-			if ( match[1] === "nth" ) {
-				if ( !match[2] ) {
-					Sizzle.error( match[0] );
-				}
-
-				match[2] = match[2].replace(/^\+|\s*/g, '');
-
-				// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
-				var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
-					match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
-					!/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
-
-				// calculate the numbers (first)n+(last) including if they are negative
-				match[2] = (test[1] + (test[2] || 1)) - 0;
-				match[3] = test[3] - 0;
-			}
-			else if ( match[2] ) {
-				Sizzle.error( match[0] );
-			}
-
-			// TODO: Move to normal caching system
-			match[0] = done++;
-
-			return match;
-		},
-
-		ATTR: function( match, curLoop, inplace, result, not, isXML ) {
-			var name = match[1] = match[1].replace( rBackslash, "" );
-			
-			if ( !isXML && Expr.attrMap[name] ) {
-				match[1] = Expr.attrMap[name];
-			}
-
-			// Handle if an un-quoted value was used
-			match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" );
-
-			if ( match[2] === "~=" ) {
-				match[4] = " " + match[4] + " ";
-			}
-
-			return match;
-		},
-
-		PSEUDO: function( match, curLoop, inplace, result, not ) {
-			if ( match[1] === "not" ) {
-				// If we're dealing with a complex _expression_, or a simple one
-				if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
-					match[3] = Sizzle(match[3], null, null, curLoop);
-
-				} else {
-					var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
-
-					if ( !inplace ) {
-						result.push.apply( result, ret );
-					}
-
-					return false;
-				}
-
-			} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
-				return true;
-			}
-			
-			return match;
-		},
-
-		POS: function( match ) {
-			match.unshift( true );
-
-			return match;
-		}
-	},
-	
-	filters: {
-		enabled: function( elem ) {
-			return elem.disabled === false && elem.type !== "hidden";
-		},
-
-		disabled: function( elem ) {
-			return elem.disabled === true;
-		},
-
-		checked: function( elem ) {
-			return elem.checked === true;
-		},
-		
-		selected: function( elem ) {
-			// Accessing this property makes selected-by-default
-			// options in Safari work properly
-			if ( elem.parentNode ) {
-				elem.parentNode.selectedIndex;
-			}
-			
-			return elem.selected === true;
-		},
-
-		parent: function( elem ) {
-			return !!elem.firstChild;
-		},
-
-		empty: function( elem ) {
-			return !elem.firstChild;
-		},
-
-		has: function( elem, i, match ) {
-			return !!Sizzle( match[3], elem ).length;
-		},
-
-		header: function( elem ) {
-			return (/h\d/i).test( elem.nodeName );
-		},
-
-		text: function( elem ) {
-			// IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) 
-			// use getAttribute instead to test this case
-			return "text" === elem.getAttribute( 'type' );
-		},
-		radio: function( elem ) {
-			return "radio" === elem.type;
-		},
-
-		checkbox: function( elem ) {
-			return "checkbox" === elem.type;
-		},
-
-		file: function( elem ) {
-			return "file" === elem.type;
-		},
-		password: function( elem ) {
-			return "password" === elem.type;
-		},
-
-		submit: function( elem ) {
-			return "submit" === elem.type;
-		},
-
-		image: function( elem ) {
-			return "image" === elem.type;
-		},
-
-		reset: function( elem ) {
-			return "reset" === elem.type;
-		},
-
-		button: function( elem ) {
-			return "button" === elem.type || elem.nodeName.toLowerCase() === "button";
-		},
-
-		input: function( elem ) {
-			return (/input|select|textarea|button/i).test( elem.nodeName );
-		}
-	},
-	setFilters: {
-		first: function( elem, i ) {
-			return i === 0;
-		},
-
-		last: function( elem, i, match, array ) {
-			return i === array.length - 1;
-		},
-
-		even: function( elem, i ) {
-			return i % 2 === 0;
-		},
-
-		odd: function( elem, i ) {
-			return i % 2 === 1;
-		},
-
-		lt: function( elem, i, match ) {
-			return i < match[3] - 0;
-		},
-
-		gt: function( elem, i, match ) {
-			return i > match[3] - 0;
-		},
-
-		nth: function( elem, i, match ) {
-			return match[3] - 0 === i;
-		},
-
-		eq: function( elem, i, match ) {
-			return match[3] - 0 === i;
-		}
-	},
-	filter: {
-		PSEUDO: function( elem, match, i, array ) {
-			var name = match[1],
-				filter = Expr.filters[ name ];
-
-			if ( filter ) {
-				return filter( elem, i, match, array );
-
-			} else if ( name === "contains" ) {
-				return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0;
-
-			} else if ( name === "not" ) {
-				var not = match[3];
-
-				for ( var j = 0, l = not.length; j < l; j++ ) {
-					if ( not[j] === elem ) {
-						return false;
-					}
-				}
-
-				return true;
-
-			} else {
-				Sizzle.error( name );
-			}
-		},
-
-		CHILD: function( elem, match ) {
-			var type = match[1],
-				node = elem;
-
-			switch ( type ) {
-				case "only":
-				case "first":
-					while ( (node = node.previousSibling) )	 {
-						if ( node.nodeType === 1 ) { 
-							return false; 
-						}
-					}
-
-					if ( type === "first" ) { 
-						return true; 
-					}
-
-					node = elem;
-
-				case "last":
-					while ( (node = node.nextSibling) )	 {
-						if ( node.nodeType === 1 ) { 
-							return false; 
-						}
-					}
-
-					return true;
-
-				case "nth":
-					var first = match[2],
-						last = match[3];
-
-					if ( first === 1 && last === 0 ) {
-						return true;
-					}
-					
-					var doneName = match[0],
-						parent = elem.parentNode;
-	
-					if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
-						var count = 0;
-						
-						for ( node = parent.firstChild; node; node = node.nextSibling ) {
-							if ( node.nodeType === 1 ) {
-								node.nodeIndex = ++count;
-							}
-						} 
-
-						parent.sizcache = doneName;
-					}
-					
-					var diff = elem.nodeIndex - last;
-
-					if ( first === 0 ) {
-						return diff === 0;
-
-					} else {
-						return ( diff % first === 0 && diff / first >= 0 );
-					}
-			}
-		},
-
-		ID: function( elem, match ) {
-			return elem.nodeType === 1 && elem.getAttribute("id") === match;
-		},
-
-		TAG: function( elem, match ) {
-			return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match;
-		},
-		
-		CLASS: function( elem, match ) {
-			return (" " + (elem.className || elem.getAttribute("class")) + " ")
-				.indexOf( match ) > -1;
-		},
-
-		ATTR: function( elem, match ) {
-			var name = match[1],
-				result = Expr.attrHandle[ name ] ?
-					Expr.attrHandle[ name ]( elem ) :
-					elem[ name ] != null ?
-						elem[ name ] :
-						elem.getAttribute( name ),
-				value = result + "",
-				type = match[2],
-				check = match[4];
-
-			return result == null ?
-				type === "!=" :
-				type === "=" ?
-				value === check :
-				type === "*=" ?
-				value.indexOf(check) >= 0 :
-				type === "~=" ?
-				(" " + value + " ").indexOf(check) >= 0 :
-				!check ?
-				value && result !== false :
-				type === "!=" ?
-				value !== check :
-				type === "^=" ?
-				value.indexOf(check) === 0 :
-				type === "$=" ?
-				value.substr(value.length - check.length) === check :
-				type === "|=" ?
-				value === check || value.substr(0, check.length + 1) === check + "-" :
-				false;
-		},
-
-		POS: function( elem, match, i, array ) {
-			var name = match[2],
-				filter = Expr.setFilters[ name ];
-
-			if ( filter ) {
-				return filter( elem, i, match, array );
-			}
-		}
-	}
-};
-
-var origPOS = Expr.match.POS,
-	fescape = function(all, num){
-		return "\\" + (num - 0 + 1);
-	};
-
-for ( var type in Expr.match ) {
-	Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
-	Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
-}
-
-var makeArray = function( array, results ) {
-	array = Array.prototype.slice.call( array, 0 );
-
-	if ( results ) {
-		results.push.apply( results, array );
-		return results;
-	}
-	
-	return array;
-};
-
-// Perform a simple check to determine if the browser is capable of
-// converting a NodeList to an array using builtin methods.
-// Also verifies that the returned array holds DOM nodes
-// (which is not the case in the Blackberry browser)
-try {
-	Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
-
-// Provide a fallback method if it does not work
-} catch( e ) {
-	makeArray = function( array, results ) {
-		var i = 0,
-			ret = results || [];
-
-		if ( toString.call(array) === "[object Array]" ) {
-			Array.prototype.push.apply( ret, array );
-
-		} else {
-			if ( typeof array.length === "number" ) {
-				for ( var l = array.length; i < l; i++ ) {
-					ret.push( array[i] );
-				}
-
-			} else {
-				for ( ; array[i]; i++ ) {
-					ret.push( array[i] );
-				}
-			}
-		}
-
-		return ret;
-	};
-}
-
-var sortOrder, siblingCheck;
-
-if ( document.documentElement.compareDocumentPosition ) {
-	sortOrder = function( a, b ) {
-		if ( a === b ) {
-			hasDuplicate = true;
-			return 0;
-		}
-
-		if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
-			return a.compareDocumentPosition ? -1 : 1;
-		}
-
-		return a.compareDocumentPosition(b) & 4 ? -1 : 1;
-	};
-
-} else {
-	sortOrder = function( a, b ) {
-		var al, bl,
-			ap = [],
-			bp = [],
-			aup = a.parentNode,
-			bup = b.parentNode,
-			cur = aup;
-
-		// The nodes are identical, we can exit early
-		if ( a === b ) {
-			hasDuplicate = true;
-			return 0;
-
-		// If the nodes are siblings (or identical) we can do a quick check
-		} else if ( aup === bup ) {
-			return siblingCheck( a, b );
-
-		// If no parents were found then the nodes are disconnected
-		} else if ( !aup ) {
-			return -1;
-
-		} else if ( !bup ) {
-			return 1;
-		}
-
-		// Otherwise they're somewhere else in the tree so we need
-		// to build up a full list of the parentNodes for comparison
-		while ( cur ) {
-			ap.unshift( cur );
-			cur = cur.parentNode;
-		}
-
-		cur = bup;
-
-		while ( cur ) {
-			bp.unshift( cur );
-			cur = cur.parentNode;
-		}
-
-		al = ap.length;
-		bl = bp.length;
-
-		// Start walking down the tree looking for a discrepancy
-		for ( var i = 0; i < al && i < bl; i++ ) {
-			if ( ap[i] !== bp[i] ) {
-				return siblingCheck( ap[i], bp[i] );
-			}
-		}
-
-		// We ended someplace up the tree so do a sibling check
-		return i === al ?
-			siblingCheck( a, bp[i], -1 ) :
-			siblingCheck( ap[i], b, 1 );
-	};
-
-	siblingCheck = function( a, b, ret ) {
-		if ( a === b ) {
-			return ret;
-		}
-
-		var cur = a.nextSibling;
-
-		while ( cur ) {
-			if ( cur === b ) {
-				return -1;
-			}
-
-			cur = cur.nextSibling;
-		}
-
-		return 1;
-	};
-}
-
-// Utility function for retreiving the text value of an array of DOM nodes
-Sizzle.getText = function( elems ) {
-	var ret = "", elem;
-
-	for ( var i = 0; elems[i]; i++ ) {
-		elem = elems[i];
-
-		// Get the text from text nodes and CDATA nodes
-		if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
-			ret += elem.nodeValue;
-
-		// Traverse everything else, except comment nodes
-		} else if ( elem.nodeType !== 8 ) {
-			ret += Sizzle.getText( elem.childNodes );
-		}
-	}
-
-	return ret;
-};
-
-// Check to see if the browser returns elements by name when
-// querying by getElementById (and provide a workaround)
-(function(){
-	// We're going to inject a fake input element with a specified name
-	var form = document.createElement("div"),
-		id = "script" + (new Date()).getTime(),
-		root = document.documentElement;
-
-	form.innerHTML = "<a name='" + id + "'/>";
-
-	// Inject it into the root element, check its status, and remove it quickly
-	root.insertBefore( form, root.firstChild );
-
-	// The workaround has to do additional checks after a getElementById
-	// Which slows things down for other browsers (hence the branching)
-	if ( document.getElementById( id ) ) {
-		Expr.find.ID = function( match, context, isXML ) {
-			if ( typeof context.getElementById !== "undefined" && !isXML ) {
-				var m = context.getElementById(match[1]);
-
-				return m ?
-					m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ?
-						[m] :
-						undefined :
-					[];
-			}
-		};
-
-		Expr.filter.ID = function( elem, match ) {
-			var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
-
-			return elem.nodeType === 1 && node && node.nodeValue === match;
-		};
-	}
-
-	root.removeChild( form );
-
-	// release memory in IE
-	root = form = null;
-})();
-
-(function(){
-	// Check to see if the browser returns only elements
-	// when doing getElementsByTagName("*")
-
-	// Create a fake element
-	var div = document.createElement("div");
-	div.appendChild( document.createComment("") );
-
-	// Make sure no comments are found
-	if ( div.getElementsByTagName("*").length > 0 ) {
-		Expr.find.TAG = function( match, context ) {
-			var results = context.getElementsByTagName( match[1] );
-
-			// Filter out possible comments
-			if ( match[1] === "*" ) {
-				var tmp = [];
-
-				for ( var i = 0; results[i]; i++ ) {
-					if ( results[i].nodeType === 1 ) {
-						tmp.push( results[i] );
-					}
-				}
-
-				results = tmp;
-			}
-
-			return results;
-		};
-	}
-
-	// Check to see if an attribute returns normalized href attributes
-	div.innerHTML = "<a href=''></a>";
-
-	if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
-			div.firstChild.getAttribute("href") !== "#" ) {
-
-		Expr.attrHandle.href = "" elem ) {
-			return elem.getAttribute( "href", 2 );
-		};
-	}
-
-	// release memory in IE
-	div = null;
-})();
-
-if ( document.querySelectorAll ) {
-	(function(){
-		var oldSizzle = Sizzle,
-			div = document.createElement("div"),
-			id = "__sizzle__";
-
-		div.innerHTML = "<p class='TEST'></p>";
-
-		// Safari can't handle uppercase or unicode characters when
-		// in quirks mode.
-		if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
-			return;
-		}
-	
-		Sizzle = function( query, context, extra, seed ) {
-			context = context || document;
-
-			// Only use querySelectorAll on non-XML documents
-			// (ID selectors don't work in non-HTML documents)
-			if ( !seed && !Sizzle.isXML(context) ) {
-				// See if we find a selector to speed up
-				var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
-				
-				if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
-					// Speed-up: Sizzle("TAG")
-					if ( match[1] ) {
-						return makeArray( context.getElementsByTagName( query ), extra );
-					
-					// Speed-up: Sizzle(".CLASS")
-					} else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
-						return makeArray( context.getElementsByClassName( match[2] ), extra );
-					}
-				}
-				
-				if ( context.nodeType === 9 ) {
-					// Speed-up: Sizzle("body")
-					// The body element only exists once, optimize finding it
-					if ( query === "body" && context.body ) {
-						return makeArray( [ context.body ], extra );
-						
-					// Speed-up: Sizzle("#ID")
-					} else if ( match && match[3] ) {
-						var elem = context.getElementById( match[3] );
-
-						// Check parentNode to catch when Blackberry 4.6 returns
-						// nodes that are no longer in the document #6963
-						if ( elem && elem.parentNode ) {
-							// Handle the case where IE and Opera return items
-							// by name instead of ID
-							if ( elem.id === match[3] ) {
-								return makeArray( [ elem ], extra );
-							}
-							
-						} else {
-							return makeArray( [], extra );
-						}
-					}
-					
-					try {
-						return makeArray( context.querySelectorAll(query), extra );
-					} catch(qsaError) {}
-
-				// qSA works strangely on Element-rooted queries
-				// We can work around this by specifying an extra ID on the root
-				// and working up from there (Thanks to Andrew Dupont for the technique)
-				// IE 8 doesn't work on object elements
-				} else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
-					var oldContext = context,
-						old = context.getAttribute( "id" ),
-						nid = old || id,
-						hasParent = context.parentNode,
-						relativeHierarchySelector = /^\s*[+~]/.test( query );
-
-					if ( !old ) {
-						context.setAttribute( "id", nid );
-					} else {
-						nid = nid.replace( /'/g, "\\$&" );
-					}
-					if ( relativeHierarchySelector && hasParent ) {
-						context = context.parentNode;
-					}
-
-					try {
-						if ( !relativeHierarchySelector || hasParent ) {
-							return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
-						}
-
-					} catch(pseudoError) {
-					} finally {
-						if ( !old ) {
-							oldContext.removeAttribute( "id" );
-						}
-					}
-				}
-			}
-		
-			return oldSizzle(query, context, extra, seed);
-		};
-
-		for ( var prop in oldSizzle ) {
-			Sizzle[ prop ] = oldSizzle[ prop ];
-		}
-
-		// release memory in IE
-		div = null;
-	})();
-}
-
-(function(){
-	var html = document.documentElement,
-		matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector,
-		pseudoWorks = false;
-
-	try {
-		// This should fail with an exception
-		// Gecko does not error, returns false instead
-		matches.call( document.documentElement, "[test!='']:sizzle" );
-	
-	} catch( pseudoError ) {
-		pseudoWorks = true;
-	}
-
-	if ( matches ) {
-		Sizzle.matchesSelector = function( node, expr ) {
-			// Make sure that attribute selectors are quoted
-			expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
-
-			if ( !Sizzle.isXML( node ) ) {
-				try { 
-					if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
-						return matches.call( node, expr );
-					}
-				} catch(e) {}
-			}
-
-			return Sizzle(expr, null, null, [node]).length > 0;
-		};
-	}
-})();
-
-(function(){
-	var div = document.createElement("div");
-
-	div.innerHTML = "<div class='test e'></div><div class='test'></div>";
-
-	// Opera can't find a second classname (in 9.6)
-	// Also, make sure that getElementsByClassName actually exists
-	if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
-		return;
-	}
-
-	// Safari caches class attributes, doesn't catch changes (in 3.2)
-	div.lastChild.className = "e";
-
-	if ( div.getElementsByClassName("e").length === 1 ) {
-		return;
-	}
-	
-	Expr.order.splice(1, 0, "CLASS");
-	Expr.find.CLASS = function( match, context, isXML ) {
-		if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
-			return context.getElementsByClassName(match[1]);
-		}
-	};
-
-	// release memory in IE
-	div = null;
-})();
-
-function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
-	for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-		var elem = checkSet[i];
-
-		if ( elem ) {
-			var match = false;
-
-			elem = elem[dir];
-
-			while ( elem ) {
-				if ( elem.sizcache === doneName ) {
-					match = checkSet[elem.sizset];
-					break;
-				}
-
-				if ( elem.nodeType === 1 && !isXML ){
-					elem.sizcache = doneName;
-					elem.sizset = i;
-				}
-
-				if ( elem.nodeName.toLowerCase() === cur ) {
-					match = elem;
-					break;
-				}
-
-				elem = elem[dir];
-			}
-
-			checkSet[i] = match;
-		}
-	}
-}
-
-function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
-	for ( var i = 0, l = checkSet.length; i < l; i++ ) {
-		var elem = checkSet[i];
-
-		if ( elem ) {
-			var match = false;
-			
-			elem = elem[dir];
-
-			while ( elem ) {
-				if ( elem.sizcache === doneName ) {
-					match = checkSet[elem.sizset];
-					break;
-				}
-
-				if ( elem.nodeType === 1 ) {
-					if ( !isXML ) {
-						elem.sizcache = doneName;
-						elem.sizset = i;
-					}
-
-					if ( typeof cur !== "string" ) {
-						if ( elem === cur ) {
-							match = true;
-							break;
-						}
-
-					} else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
-						match = elem;
-						break;
-					}
-				}
-
-				elem = elem[dir];
-			}
-
-			checkSet[i] = match;
-		}
-	}
-}
-
-if ( document.documentElement.contains ) {
-	Sizzle.contains = function( a, b ) {
-		return a !== b && (a.contains ? a.contains(b) : true);
-	};
-
-} else if ( document.documentElement.compareDocumentPosition ) {
-	Sizzle.contains = function( a, b ) {
-		return !!(a.compareDocumentPosition(b) & 16);
-	};
-
-} else {
-	Sizzle.contains = function() {
-		return false;
-	};
-}
-
-Sizzle.isXML = function( elem ) {
-	// documentElement is verified for cases where it doesn't yet exist
-	// (such as loading iframes in IE - #4833) 
-	var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
-
-	return documentElement ? documentElement.nodeName !== "HTML" : false;
-};
-
-var posProcess = function( selector, context ) {
-	var match,
-		tmpSet = [],
-		later = "",
-		root = context.nodeType ? [context] : context;
-
-	// Position selectors must be done after the filter
-	// And so must :not(positional) so we move all PSEUDOs to the end
-	while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
-		later += match[0];
-		selector = selector.replace( Expr.match.PSEUDO, "" );
-	}
-
-	selector = Expr.relative[selector] ? selector + "*" : selector;
-
-	for ( var i = 0, l = root.length; i < l; i++ ) {
-		Sizzle( selector, root[i], tmpSet );
-	}
-
-	return Sizzle.filter( later, tmpSet );
-};
-
-// EXPOSE
-jQuery.find = Sizzle;
-jQuery.expr = Sizzle.selectors;
-jQuery.expr[":"] = jQuery.expr.filters;
-jQuery.unique = Sizzle.uniqueSort;
-jQuery.text = Sizzle.getText;
-jQuery.isXMLDoc = Sizzle.isXML;
-jQuery.contains = Sizzle.contains;
-
-
-})();

Deleted: trunk/LayoutTests/jquery/resources/test/csp.php (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/csp.php	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/csp.php	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,31 +0,0 @@
-<?php header("X-Content-Security-Policy-Report-Only: allow *"); ?>
-<!DOCTYPE html>
-<html>
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-	<title>CSP Test Page</title>
-
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-  <script src=""
-</head>
-<body>
-	<p>CSP Test Page</p>
-</body>
-</html>

Deleted: trunk/LayoutTests/jquery/resources/test/data/readywaitasset.js (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/data/readywaitasset.js	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/data/readywaitasset.js	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1 +0,0 @@
-var delayedMessage = "It worked!";

Deleted: trunk/LayoutTests/jquery/resources/test/data/readywaitloader.js (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/data/readywaitloader.js	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/data/readywaitloader.js	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,25 +0,0 @@
-// Simple script loader that uses jQuery.readyWait
-
-//Hold on jQuery!
-jQuery.readyWait++;
-
-var readyRegExp = /^(complete|loaded)$/;
-
-function assetLoaded( evt ){
-	var node = evt.currentTarget || evt.srcElement;
-	if ( evt.type === "load" || readyRegExp.test(node.readyState) ) {
-		jQuery.ready(true);
-	}
-}
-
-setTimeout( function() {
-	var script = document.createElement("script");
-	script.type = "text/_javascript_";
-	if ( script.addEventListener ) {
-		script.addEventListener( "load", assetLoaded, false );
-	} else {
-		script.attachEvent( "onreadystatechange", assetLoaded );
-	}
-	script.src = ""
-	document.getElementsByTagName("head")[0].appendChild(script);
-}, 2000 );

Deleted: trunk/LayoutTests/jquery/resources/test/delegatetest.html (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/delegatetest.html	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/delegatetest.html	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,275 +0,0 @@
-<html>
-    <head>
-        <script src='' type='text/_javascript_'></script>
-        <style>
-	.red {
-	    background-color: red;
-	    border: solid 3px red;
-	}
-        </style>
-    </head>
-    <body>
-        <h2>Change Tests</h2>
-        <table>
-			<tr>
-				<td>
-					Change each:
-				</td>
-				<td>
-					<select class='select_test'>
-						<option value='one'>change me 1</option>
-						<option value='two'>change me 2</option>
-						<option value='three'>change me 3</option>
-					</select>
-					<select class='select_test'>
-						<option value='one'>change me 1</option>
-						<option value='two' selected="selected">change me 2</option>
-						<option value='three'>change me 3</option>
-					</select>
-				</td>
-				<td>
-					<select class='mselect_test' multiple="multiple">
-						<option value='one'>change me 1</option>
-						<option value='two'>change me 2</option>
-						<option value='three'>change me 3</option>
-					</select>
-				</td>
-				<td>
-					<input type="checkbox" class="checkbox_test" name="mycheckbox" id="checkbox1"/>
-					<label for="" 1</label><br/>
-					<input type="checkbox" class="checkbox_test" name="mycheckbox" id="checkbox2"/>
-					<label for="" 2</label><br />
-					<input type="checkbox" class="checkbox_test" name="mycheckbox" id="checkbox3" disabled="disabled"/>
-					<label for="" 3</label>
-				</td>
-				<td>
-					<button class="button_test" name="mybutton1" id="button1">Button</button><br />
-					<button class="button_test" name="mybutton1" id="button1"><span>Button w/ child</span></button><br />
-					<button class="button_test" name="mybutton1" id="button1" disabled="disabled">Button Disabled</button><br />
-					<button class="button_test" name="mybutton1" id="button1" disabled="disabled"><span disabled="disabled">Button w/ child Dis.</span></button><br />
-				</td>
-				<td>
-					<input type="radio" class="radio_test" name="myradio" id="radio1"/>
-					<label for=""
-					<input type="radio" class="radio_test" name="myradio" id="radio2"/>
-					<label for="" />
-					<input type="radio" class="radio_test" name="myradio" id="radio3" disabled="disabled"/>
-					<label for=""
-				</td>
-				<td>
-					<input class="file_test" id="file1" type="file"/>
-					<td>
-						<input class='test' value='' id='input' size='10' />
-						<input class='test' value='test' id='input2' size='10' readonly="readonly" />
-					</td>
-					<td>
-						<textarea rows='2'></textarea>
-					</td>
-				</td>
-				<td>$(document).bind('change')<br />
-					$(document).bind('click')
-				</td>
-		</tr>
-	    <tr>
-	        <td>Live:</td>
-	        <td id='select' class="red">SELECT</td>
-	        <td id='mselect' class="red">MULTI</td>
-	        <td id='checkbox' class="red">CHECKBOX</td>
-			<td id='button' class="red">BUTTON</td>
-	        <td id='radio' class="red">RADIO</td>
-	        <td id='file' class="red">FILE</td>
-	        <td id='text' class="red">TEXT</td>
-	        <td id='textarea' class="red">TEXTAREA</td>
-	        <td id='boundChange' class="red">DOCUMENT</td>
-	    </tr>
-	    <tr>
-	        <td>Bind:</td>
-	        <td id='selectbind' class="red">SELECT</td>
-	        <td id='mselectbind' class="red">MULTI</td>
-	        <td id='checkboxbind' class="red">CHECKBOX</td>
-			<td id='buttonbind' class="red">BUTTON</td>
-	        <td id='radiobind' class="red">RADIO</td>
-	        <td id='filebind' class="red">FILE</td>
-	        <td id='textbind' class="red">TEXT</td>
-	        <td id='textareabind' class="red">TEXTAREA</td>
-	    </tr>
-	    <tr>
-	        <td>Focusin:</td>
-	        <td id='selectfocus' class="red">SELECT</td>
-	        <td id='mselectfocus' class="red">MULTI</td>
-	        <td id='checkboxfocus' class="red">CHECKBOX</td>
-			<td id='buttonfocus' class="red">BUTTON</td>
-	        <td id='radiofocus' class="red">RADIO</td>
-	        <td id='filefocus' class="red">FILE</td>
-	        <td id='textfocus' class="red">TEXT</td>
-	        <td id='textareafocus' class="red">TEXTAREA</td>
-	        <td id='boundFocus' class="red">DOCUMENT</td>
-	    </tr>
-	    <tr>
-	        <td>Focusout:</td>
-	        <td id='selectblur' class="red">SELECT</td>
-	        <td id='mselectblur' class="red">MULTI</td>
-	        <td id='checkboxblur' class="red">CHECKBOX</td>
-			<td id='buttonblur' class="red">BUTTON</td>
-	        <td id='radioblur' class="red">RADIO</td>
-	        <td id='fileblur' class="red">FILE</td>
-	        <td id='textblur' class="red">TEXT</td>
-	        <td id='textareablur' class="red">TEXTAREA</td>
-	        <td id='boundBlur' class="red">DOCUMENT</td>
-	    </tr>
-	    <tr>
-	        <td>Live Focus:</td>
-	        <td id='selectlfocus' class="red">SELECT</td>
-	        <td id='mselectlfocus' class="red">MULTI</td>
-	        <td id='checkboxlfocus' class="red">CHECKBOX</td>
-			<td id='buttonlfocus' class="red">BUTTON</td>
-	        <td id='radiolfocus' class="red">RADIO</td>
-	        <td id='filelfocus' class="red">FILE</td>
-	        <td id='textlfocus' class="red">TEXT</td>
-	        <td id='textarealfocus' class="red">TEXTAREA</td>
-	    </tr>
-	    <tr>
-	        <td>Live Blur:</td>
-	        <td id='selectlblur' class="red">SELECT</td>
-	        <td id='mselectlblur' class="red">MULTI</td>
-	        <td id='checkboxlblur' class="red">CHECKBOX</td>
-			<td id='buttonlblur' class="red">BUTTON</td>
-	        <td id='radiolblur' class="red">RADIO</td>
-	        <td id='filelblur' class="red">FILE</td>
-	        <td id='textlblur' class="red">TEXT</td>
-	        <td id='textarealblur' class="red">TEXTAREA</td>
-	    </tr>
-	    <tr>
-	        <td>Live Click:</td>
-	        <td id='selectlclick' class="red">SELECT</td>
-	        <td id='mselectlclick' class="red">MULTI</td>
-	        <td id='checkboxlclick' class="red">CHECKBOX</td>
-			<td id='buttonlclick' class="red">BUTTON</td>
-	        <td id='radiolclick' class="red">RADIO</td>
-	        <td id='filelclick' class="red">FILE</td>
-	        <td id='textlclick' class="red">TEXT</td>
-	        <td id='textarealclick' class="red">TEXTAREA</td>
-			<td id='boundClick' class="red">DOCUMENT</td>
-	    </tr>
-        </table>
-        <h2>Submit Tests</h2>
-        <table>
-	<tr>
-	    <td>
-	        Submit each:
-	    </td>
-	    <td>
-	        <form action="" id="text_submit">
-		<input class='test' type='text' value='Key Return To Submit'/>
-	        </form>
-	    </td>
-	    <td>
-	        <form action="" id="password_submit">
-		<input class='test' type='password' value=''/>
-	        </form>
-	    </td>
-	    <td>
-	        <form action="" id="submit_submit">
-		<input type='submit' value="Click Me To Submit" />
-	        </form>
-	    </td>
-	    <td>$(document).bind('submit')</td>
-	</tr>
-	<tr>
-	        <td>Results:</td>
-	        <td id='textSubmit' class="red">TEXT</td>
-	        <td id='passwordSubmit' class="red">PASSWORD</td>
-	        <td id='submitSubmit' class="red">BUTTON</td>
-	        <td id='boundSubmit' class="red">DOCUMENT</td>
-	</tr>
-        </table>
-
-	<ul id="log"></ul>
-
-        <script type='text/_javascript_'>
-	jQuery.fn.addChangeClickTest = function( id, prevent ) {
-		this.bind("focusin", function(){
-			jQuery(id + "focus").blink();
-		}).bind("focusout", function(){
-			jQuery(id + "blur").blink();
-		});
-
-		this.bind("focus", function(){
-			jQuery(id + "lfocus").blink();
-		}).bind("blur", function(){
-			jQuery(id + "lblur").blink();
-		});
-
-		return this.bind("change", function(e){
-			jQuery(id + "bind").blink();
-		}).live("change", function(e){
-	   		if ( prevent ) {
-	        		e.preventDefault();
-			}
-
-			jQuery(id).blink();
-		}).live("click", function(e){
-  			jQuery(id + "lclick").blink();
-  	});
-	};
-
-
-	jQuery.fn.addSubmitTest = function( id, prevent ) {
-		return this.live("submit", function(e){
-	   		if ( prevent ) {
-	          		e.preventDefault();
-			}
-
-			jQuery(id).blink();
-		});
-	};
-
-	jQuery.fn.blink = function(){
-		return this.css("backgroundColor","green").css("border","solid 3px green").delay(700).queue(function(next){
-         		jQuery(this).css("backgroundColor","");
-			next();
-   		});
-	};
-
-	$(document).bind("focusin", function() {
-		jQuery("#boundFocus").blink();
-	});
-
-	$(document).bind("focusout", function() {
-		jQuery("#boundBlur").blink();
-	});
-	
-	$(document).bind("click", function() {
-		jQuery("#boundClick").blink();
-	});
-
-	$("td.red").live("hover", function(e) {
-		if ( e.type === "mouseenter" ) {
-			$(this).css("backgroundColor","green");
-		} else {
-			$(this).css("backgroundColor","");
-		}
-	});
-
-	$(".select_test").addChangeClickTest("#select");
-	$(".mselect_test").addChangeClickTest("#mselect");
-	$(".checkbox_test").addChangeClickTest("#checkbox");
-	$(".radio_test").addChangeClickTest("#radio");
-	$(".file_test").addChangeClickTest("#file");
-	$('textarea').addChangeClickTest("#textarea");
-	$('#input').addChangeClickTest("#text");
-	$('button').addChangeClickTest("#button");
-	$(document).bind("change", function(){
-		jQuery("#boundChange").blink();
-	});
-
-	$("#text_submit").addSubmitTest("#textSubmit", true);
-	$("#password_submit").addSubmitTest("#passwordSubmit", true);
-	$("#submit_submit").addSubmitTest("#submitSubmit", true);
-	$(document).bind("submit", function(){
-		jQuery("#boundSubmit").blink();
-	});
-
-        </script>
-    </body>
-</html>

Deleted: trunk/LayoutTests/jquery/resources/test/localfile.html (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/localfile.html	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/localfile.html	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,93 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
-<head>
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-	<title>jQuery Local File Test</title>
-	<!-- Includes -->
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<style>
-		.error { color: red; }
-		.success { color: green; }
-	</style>
-</head>
-<body>
-	<h1>jQuery Local File Test</h1>
-	<h2>
-		Introduction
-	</h2>
-	<ul>
-		<li>
-			Access this file using the "file:" protocol,
-		</li>
-		<li>
-			two green "OK" strings must appear below,
-		</li>
-		<li>
-			Empty local files will issue errors, it's a known limitation.
-		</li>
-	</ul>
-	<h2>
-		Results
-	</h2>
-	<ul>
-		<li>
-			Success:
-			<span id="success">
-			</span>
-		</li>
-		<li>
-			Error:
-			<span id="error">
-			</span>
-		</li>
-	</ul>
-	<h2>
-		Logs:
-	</h2>
-	<ul id="log">
-	</ul>
-	<script>
-		var logUL = jQuery( "#log" );
-		function doLog( message, args ) {
-			jQuery( "<li />").appendTo( logUL ).text( message + ': "' + Array.prototype.join.call( args, '" - "' ) + '"' );
-		}
-		jQuery.ajax( "./data/badjson.js" , {
-			context: jQuery( "#success" ),
-			dataType: "text"
-		}).success(function( data, _, xhr ) {
-			doLog( "Success (" + xhr.status + ")" , arguments );
-			this.addClass( data ? "success" : "error" ).text( "OK" );
-		}).error(function( xhr ) {
-			doLog( "Success (" + xhr.status + ")" , arguments );
-			this.addClass( "error" ).text( "FAIL" );
-		});
-		jQuery.ajax( "./data/doesnotexist.ext" , {
-			context: jQuery( "#error" ),
-			dataType: "text"
-		}).error(function( xhr ) {
-			doLog( "Error (" + xhr.status + ")" , arguments );
-			this.addClass( "success" ).text( "OK" );
-		}).success(function( data, _, xhr ) {
-			doLog( "Error (" + xhr.status + ")" , arguments );
-			this.addClass( "error" ).text( "FAIL" );
-		});
-	</script>
-</body>
\ No newline at end of file

Deleted: trunk/LayoutTests/jquery/resources/test/networkerror.html (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/networkerror.html	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/networkerror.html	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,102 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!--
-	Test for #8135
-
-	Thanks John Firebaugh for this test page based on his gist
-	https://gist.github.com/807090
-
-	Access this page through a web server, then stop said server and click the button.
--->
-<head>
-	<title>
-		jQuery Network Error Test for Firefox
-	</title>
-	<style>
-		div { margin-top: 10px; }
-	</style>
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script type="text/_javascript_">
-	$('button').live('click', function () {
-		$.ajax({
-			url: '/',
-			error: function() {
-				console.log( "abort", arguments );
-			}
-		}).abort();
-		$.ajax({
-			url: '/',
-			error: function() {
-				console.log( "complete", arguments );
-			}
-		});
-		return false;
-	})
-	</script>
-</head>
-<body>
-	<h1>
-		jQuery Network Error Test for Firefox
-	</h1>
-	<div>
-		This is a test page for
-		<a href=""
-			#8135
-		</a>
-		which was reported in Firefox when accessing properties
-		of an XMLHttpRequest object after a network error occured.
-	</div>
-	<div>Take the following steps:</div>
-	<ol>
-		<li>
-			make sure you accessed this page through a web server,
-		</li>
-		<li>
-			stop the web server,
-		</li>
-		<li>
-			open the console,
-		</li>
-		<li>
-			click this
-			<button>button</button>
-			,
-		</li>
-		<li>
-			wait for both requests to fail.
-		</li>
-	</ol>
-	<div>
-		Test passes if you get two log lines:
-		<ul>
-			<li>
-				the first starting with "abort",
-			</li>
-			<li>
-				the second starting with "complete",
-			</li>
-		</ul>
-	</div>
-	<div>
-		Test fails if the browser notifies an exception.
-	</div>
-</body>
-</html>
\ No newline at end of file

Deleted: trunk/LayoutTests/jquery/resources/test/polluted.php (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/polluted.php	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/polluted.php	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,99 +0,0 @@
-<?php
-	$baseURL = "http://ajax.googleapis.com/ajax/libs/";
-	$libraries = array(
-		"Dojo" => array(
-			"versions" => array( "1.1.1", "1.2.0", "1.2.3", "1.3.0", "1.3.1", "1.3.2", "1.4.0", "1.4.1", "1.4.3", "1.5.0" ),
-			"url" => "dojo/XYZ/dojo/dojo.xd.js"
-		),
-		"ExtCore" => array(
-			"versions" => array( "3.0.0", "3.1.0" ),
-			"url" => "ext-core/XYZ/ext-core.js"
-		),
-		"jQuery" => array(
-			"versions" => array( "1.2.3", "1.2.6", "1.3.0", "1.3.1", "1.3.2", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.5.0" ),
-			"url" => "jquery/XYZ/jquery.min.js"
-		),
-		"jQueryUI" => array(
-			"versions" => array( "1.5.2", "1.5.3", "1.6.0", "1.7.0", "1.7.1", "1.7.2", "1.7.3", "1.8.0", "1.8.1", "1.8.2", "1.8.4", "1.8.5", "1.8.6", "1.8.7", "1.8.8", "1.8.9" ),
-			"url" => "jqueryui/XYZ/jquery-ui.min.js"
-		),
-		"MooTools" => array(
-			"versions" => array( "1.1.1", "1.1.2", "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.2.5", "1.3.0" ),
-			"url" => "mootools/XYZ/mootools-yui-compressed.js"
-		),
-		"Prototype" => array(
-			"versions" => array( "1.6.0.2", "1.6.0.3", "1.6.1.0", "1.7.0.0" ),
-			"url" => "prototype/XYZ/prototype.js"
-		),
-		"scriptaculous" => array(
-			"versions" => array( "1.8.1", "1.8.2", "1.8.3" ),
-			"url" => "scriptaculous/XYZ/scriptaculous.js"
-		),
-		"SWFObject" => array(
-			"versions" => array( "2.1", "2.2" ),
-			"url" => "swfobject/XYZ/swfobject.js"
-		),
-		"YUI" => array(
-			"versions" => array( "2.6.0", "2.7.0", "2.8.0r4", "2.8.1", "2.8.2", "3.3.0" ),
-			"url" =>    "yui/XYZ/build/yui/yui-min.js"
-		)
-	);
-
-	if( count($_POST) ) {
-		$includes = array();
-		foreach( $_POST as $name => $ver ){
-			$url = "" $name ][ "url" ];
-			if( $name == "YUI" && $ver[0] == "2" ) {
-				$url = "" "/yui", "/yuiloader", $url, $count = 2 );
-			}
-			$include = "<script src=''></script>\n";
-			if( $lib == "prototype" ) { // prototype must be included first
-				array_unshift( $includes, $include );
-			} else {
-				array_push( $includes, $include );
-			}
-		}
-
-		$includes = implode( "\n", $includes );
-		$suite = file_get_contents( "index.html" );
-		echo str_replace( "<!-- Includes -->", $includes, $suite );
-		exit;
-	}
-?>
-<!DOCTYPE html>
-<html>
-<head>
-  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-	<title>Run jQuery Test Suite Polluted</title>
-	<style type="text/css">
-		.otherlibs fieldset {
-			width: 400px
-		}
-		.otherlibs label{
-			margin: 5px 0px 5px 20px;
-		}
-	</style>
-</head>
-
-<body id="body">
-	<h1 id="header">jQuery Test Suite</h1>
-	<h2 id="banner" class="fail"></h2>
-	<h2 id="userAgent">Choose other libraries to include</h2>
-
-	<form class="otherlibs" action="" method="POST">
-		<?php
-			foreach( $libraries as $name => $data ) {
-				echo "<fieldset><legend>$name</legend>";
-				$i = 0;
-				foreach( $data[ "versions" ] as $ver ) {
-					$i++;
-					echo "<label><input type='radio' name='$name' value='$ver' />$ver</label>";
-					if( !($i % 4) ) echo "<br />";
-				}
-				echo "</fieldset>";
-			}
-		?>
-		<input type="submit" value=" Run " class="submit" />
-	</form>
-</body>
-</html>

Deleted: trunk/LayoutTests/jquery/resources/test/readywait.html (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/readywait.html	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/readywait.html	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,86 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!--
-	Test for jQuery.readyWait. Needs to be a
-	standalone test since it deals with DOM
-	ready.
--->
-<head>
-	<title>
-		jQuery.readyWait Test
-	</title>
-	<style>
-		div { margin-top: 10px; }
-		#output { background-color: green }
-		#expectedOutput { background-color: green }
-	</style>
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-	<script src=""
-
-	<!-- Load the script loader that uses
-		jQuery.readyWait -->
-	<script src=""
-
-	<script type="text/_javascript_">
-	jQuery(function() {
-		// The delayedMessage is defined by
-		// the readywaitasset.js file, so the
-		// next line will only work if this DOM
-		// ready callback is called after readyWait
-		// has been decremented by readywaitloader.js
-		// If an error occurs.
-		jQuery("#output").append(delayedMessage);
-	});
-	</script>
-</head>
-<body>
-	<h1>
-		jQuery.readyWait Test
-	</h1>
-	<p>
-		This is a test page for jQuery.readyWait, that was
-		added due to this ticket
-		<a href=""
-	</p>
-	<p>
-	Test for jQuery.readyWait, which can be used
-	by plugins and other scripts to indicate something
-	important to the page is still loading and needs
-	to block the DOM ready callbacks that are registered
-	with jQuery.
-	</p>
-	<p>
-	Script loaders are the most likely kind of script
-	to use jQuery.readyWait, but it could be used by
-	other things like a script that loads a CSS file
-	and wants to pause the DOM ready callbacks.
-	</p>
-	<p>
-	<strong>Expected Result</strong>: The text
-	<span id="expectedOutput">It Worked!</span>
-	appears below after about <strong>2 seconds.</strong>
-	</p>
-	<p>
-	If there is an error in the console,
-	or the text does not show up, then the test failed.
-	</p>
-	<div id="output"></div>
-</body>
-</html>

Deleted: trunk/LayoutTests/jquery/resources/test/xhtml.php (277965 => 277966)


--- trunk/LayoutTests/jquery/resources/test/xhtml.php	2021-05-24 21:05:24 UTC (rev 277965)
+++ trunk/LayoutTests/jquery/resources/test/xhtml.php	2021-05-24 21:44:48 UTC (rev 277966)
@@ -1,5 +0,0 @@
-<?php
-	# Load and run the test suite as a proper XHTML page
-	header("Content-type: application/xhtml+xml");
-	readfile("index.html");
-?>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to