rem: debugger; 
context: function canonicalize(url) {    var tempLink = window.document.createElement("link");    tempLink.href = url; // this will canonicalize the href on most browsers    debugger;    var loc = parseUrl(tempLink.href)    if (!/\/\.\.\//.test(loc.pathname)) {    	return tempLink.href;    }  	// didn't work... let's try it the hard way  	var originalParts = loc.pathname.split("/");  	var newParts = [];  	newParts.push(originalParts.shift());  	for (var i = 0; i < originalParts.length; i++) {  		var part = originalParts[i];  		if (".." == part) {  			newParts.pop();  			continue;  		}  		newParts.push(part);  	}  	loc.pathname = newParts.join("/");    return reassembleLocation(loc);}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3428/cc6c60923009f71ddac5889d50794bff4c2f90e9/htmlutils.js/buggy/src/main/resources/core/scripts/htmlutils.js