rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
this.restore = function() { var restore = $(this.restoreId); var label = "SessionClass.restore: "; debug.print(label + restore + " " + restore.hasChildNodes()); //alert(label + restore + " " + restore.hasChildNodes()); if (null == restore) { debug.print(label + "null rest... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/session.js/buggy/session.js | ||
debug.print(label + "restoring " + i + " " + query); | this.restore = function() { var restore = $(this.restoreId); var label = "SessionClass.restore: "; debug.print(label + restore + " " + restore.hasChildNodes()); //alert(label + restore + " " + restore.hasChildNodes()); if (null == restore) { debug.print(label + "null rest... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/session.js/buggy/session.js | |
debug.print(label + "restoring " + i + " source = " + query); | debug.print(label + "restoring " + i + " source = " + source); | this.restore = function() { var restore = $(this.restoreId); var label = "SessionClass.restore: "; debug.print(label + restore + " " + restore.hasChildNodes()); //alert(label + restore + " " + restore.hasChildNodes()); if (null == restore) { debug.print(label + "null rest... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/session.js/buggy/session.js |
debug.print(label + "restoring " + i + " " + query); | this.restore = function() { var restore = $(this.restoreId); var label = "SessionClass.restore: "; debug.print(label + restore + " " + restore.hasChildNodes()); //alert(label + restore + " " + restore.hasChildNodes()); if (null == restore) { debug.print(label + "null rest... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/session.js/buggy/session.js | |
query = queries[i].firstChild.nodeValue; | debug.print(label + "restoring " + i + queries[i]); query = queries[i].hasChildNodes() ? queries[i].firstChild.nodeValue : null; | this.restore = function() { var restore = $(this.restoreId); var label = "SessionClass.restore: "; debug.print(label + restore + " " + restore.hasChildNodes()); //alert(label + restore + " " + restore.hasChildNodes()); if (null == restore) { debug.print(label + "null rest... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/fa73b32cceb4f0083ba3aeb2e77c3b68663bf56d/session.js/clean/session.js |
this._handleCommandError(e); this._testComplete(); return; | if (!this._handleCommandError(e)) { this._testComplete(); } else { this.continueTest(); } | resume: function() { /** * Select the next command and continue the test. */ LOG.debug("currentTest.resume() - actually execute"); try { selenium.browserbot.runScheduledPollers(); this._executeCurrentCommand(); this.continueTestWhenConditionIsTru... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/afa54887f887b5863f6af88f1b5293c9af5683a3/selenium-executionloop.js/clean/code/javascript/core/scripts/selenium-executionloop.js |
this.waitForConditionStart = new Date().getTime(); | this.resume = function() { try { this.executeCurrentCommand(); this.continueTestWhenConditionIsTrue(); } catch (e) { this.handleCommandError(e); this.testComplete(); return; } }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ee8f57a55845d6b1bd383c79ecd25cc8e6bc6cc0/selenium-executionloop.js/buggy/code/javascript/selenium-executionloop.js | |
selenium.browserbot.runScheduledPollers(); | selenium.browserbot.runScheduledPollers(); | resume : function() { LOG.debug("currentTest.resume() - actually execute"); try { selenium.browserbot.runScheduledPollers(); this._executeCurrentCommand(); this.waitForConditionStart = new Date().getTime(); this.continueTestWhenConditionIsTrue(); } catch... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/9f0deb5295b4ec961520ad50b8faee8d91ce008a/selenium-executionloop.js/clean/code/javascript/core/scripts/selenium-executionloop.js |
this.testComplete(); | this._testComplete(); | resume : function() { LOG.debug("currentTest.resume() - actually execute"); try { selenium.browserbot.runScheduledPollers(); this._executeCurrentCommand(); this.waitForConditionStart = new Date().getTime(); this.continueTestWhenConditionIsTrue(); } catch... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/9f0deb5295b4ec961520ad50b8faee8d91ce008a/selenium-executionloop.js/clean/code/javascript/core/scripts/selenium-executionloop.js |
pauseOnNextStatement = false; steppingOut = false; steppingOver = false; steppingStack = 0; | function resume(){ if (currentRow) { removeStyleClass(currentRow, "current"); currentRow = null; } if (currentStack) { var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; // clear the content currentStack = null; } DebuggerD... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/98c1cf6f6c32738969ddb4ace85168e572624ea4/debugger.js/buggy/third_party/WebKit/WebKitTools/Drosera/debugger.js | |
removeStyleClass(currentRow, "current"); | currentRow.removeStyleClass("current"); | function resume(){ if (currentRow) { removeStyleClass(currentRow, "current"); currentRow = null; } var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; // clear the content var variablesTable = document.getElementById("variablesTable"); variab... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/c6fb57961d884bd88831658bfe27448abb9cbe1c/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js |
pausedWhileLeavingFrame = false; | function resume(){ if (currentRow) { removeStyleClass(currentRow, "current"); currentRow = null; } var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; // clear the content var variablesTable = document.getElementById("variablesTable"); variab... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/9fb9252f156a927179fe79054bbbd11f65d18b9f/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js | |
if (currentStack) { var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; currentStack = null; } | var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; var variablesTable = document.getElementById("variablesTable"); variablesTable.innerHTML = ""; currentStack = null; currentCallFrame = null; | function resume(){ if (currentRow) { removeStyleClass(currentRow, "current"); currentRow = null; } if (currentStack) { var stackframeTable = document.getElementById("stackframeTable"); stackframeTable.innerHTML = ""; // clear the content currentStack = null; } pauseOnNe... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/af542254968d221333567cb32405e710016a9b93/debugger.js/buggy/third_party/WebKit/WebKitTools/Drosera/debugger.js |
var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) }; | var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) }; | var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) }; | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/c85222180b4b9b8d71c6c32414387b29de9f4273/effects.js/buggy/src/effects.js |
map.centerAndZoom(new GPoint(-4.218750, 54.724620), 12); | map.centerAndZoom(new GPoint(-4.218750, 34.724620), 16); | function revert() { if (!map) return true; show_recent_places(); map.closeInfoWindow() map.resetCenterScreen() map.centerAndZoom(new GPoint(-4.218750, 54.724620), 12); return false;} | 4679 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4679/e8e473e28658da9d9dcefa4b4ef3e61db39f326f/pop.js/clean/docs/js/pop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 107 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/107/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
Draggable._revertCache[element] = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:'_draggable', position:'end'} }); | new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:'_draggable', position:'end'} }); | reverteffect: function(element, top_offset, left_offset) { var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; Draggable._revertCache[element] = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:'_draggable', position:'... | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/4d928369043aea712d094cb4d97db2674c85c8ac/dragdrop.js/buggy/src/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 4687 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4687/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 2338 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2338/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 5521 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5521/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 6649 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6649/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
element._revert = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur}); | Draggable._revertCache[element] = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur}); | reverteffect: function(element, top_offset, left_offset) { var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; element._revert = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur}); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/bd1ac4786a539a5d509de64f60a003cc15cce8c9/dragdrop.js/clean/src/dragdrop.js |
new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur}); | new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, queue: {scope:'_draggable', position:'end'} }); | reverteffect: function(element, top_offset, left_offset) { var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; Draggable._revertCache[element] = new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur}); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/c31fdc38f767373d22b3dd5a5072aa4962ca5b65/dragdrop.js/clean/src/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 1534 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1534/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 167 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/167/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; new Effect.MoveBy(element, -top_offset, -left_offset, {duration:dur}); | reverteffect: function(element, top_offset, left_offset) { new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/clean/public/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 2069 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2069/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 269 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/269/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 949 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/949/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect.MoveBy(element, -top_offset, -left_offset, {duration:dur}); | element._revert = new Effect.MoveBy(element, -top_offset, -left_offset, {duration:dur}); | reverteffect: function(element, top_offset, left_offset) { var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; new Effect.MoveBy(element, -top_offset, -left_offset, {duration:dur}); }, | 4053 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4053/08ca862091194b85b405f2c8d24c8c00908204ef/dragdrop.js/buggy/src/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 5523 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5523/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/buggy/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | new Effect.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); | reverteffect: function(element, top_offset, left_offset) { new Effect2.MoveBy(element, -top_offset, -left_offset, {duration:0.4}); }, | 1604 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1604/0ffcceffac52cc4ed373eb9db27d6c776b5d96b7/dragdrop.js/clean/actionpack/lib/action_view/helpers/javascripts/dragdrop.js |
return new Array(0, 0, v); | if(v > 0) return new Array(0, 0, v); return new Array(0, 255, 0); | function rgb_string_to_hsv(rgb_str){ // Expected input is on form "#rrggbb" var r = hex_to_int(rgb_str.substring(1, 3)); var g = hex_to_int(rgb_str.substring(3, 5)); var b = hex_to_int(rgb_str.substring(5, 7)); var min, max, delta; var h, s, v; min = Math.min(r, g, b); max = Math.max(r, g, b); delta = max - m... | 2059 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/0729a18ff50464c95f3ce7221365af9bebdcb9b3/ColorSelector.js/clean/server/modules/tags/javascript_support/scripts/ColorSelector.js |
var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; | if (this.length < 3) return false; if (this[3] && this[3] == 0) return 'transparent'; | rgbToHex: function(array){ var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; var hex = []; for (var i = 0; i < 3; i++){ var bit = (rgb[i]-0).toString(16); hex.push(bit.length == 1 ? '0'+bit : bit); } return array ? hex : '#'+hex.join... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/fcc80ca504adb31cd63f24e4b73ce9e400a788bc/String.js/buggy/Native/String.js |
var bit = (rgb[i]-0).toString(16); | var bit = (this[i]-0).toString(16); | rgbToHex: function(array){ var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; var hex = []; for (var i = 0; i < 3; i++){ var bit = (rgb[i]-0).toString(16); hex.push(bit.length == 1 ? '0'+bit : bit); } return array ? hex : '#'+hex.join... | 5409 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5409/fcc80ca504adb31cd63f24e4b73ce9e400a788bc/String.js/buggy/Native/String.js |
var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; | if (this.length < 3) return false; if (this[3] && this[3] == 0) return 'transparent'; | rgbToHex: function(array){ var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; var hex = []; for (var i = 0; i < 3; i++){ var bit = (rgb[i]-0).toString(16); hex.push(bit.length == 1 ? '0'+bit : bit); } return array ? hex : '#'+hex.join... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/fcc80ca504adb31cd63f24e4b73ce9e400a788bc/String.js/buggy/Native/String.js |
var bit = (rgb[i]-0).toString(16); | var bit = (this[i]-0).toString(16); | rgbToHex: function(array){ var rgb = this.match(/\d{1,3}/g); if (!rgb || rgb.length < 3) return false; if (rgb[3] && rgb[3] == 0) return 'transparent'; var hex = []; for (var i = 0; i < 3; i++){ var bit = (rgb[i]-0).toString(16); hex.push(bit.length == 1 ? '0'+bit : bit); } return array ? hex : '#'+hex.join... | 6991 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6991/fcc80ca504adb31cd63f24e4b73ce9e400a788bc/String.js/buggy/Native/String.js |
Rico.Color.RGBtoHSB = function(r, g, b) { | OpenLayers.Rico.Color.RGBtoHSB = function(r, g, b) { | Rico.Color.RGBtoHSB = function(r, g, b) { var hue; var saturation; var brightness; var cmax = (r > g) ? r : g; if (b > cmax) cmax = b; var cmin = (r < g) ? r : g; if (b < cmin) cmin = b; brightness = cmax / 255.0; if (cmax != 0) saturation = (cmax - cmin)/cmax; else saturation = ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
Rico.Color.RGBtoHSB = function(r, g, b) { | OpenLayers.Rico.Color.RGBtoHSB = function(r, g, b) { | Rico.Color.RGBtoHSB = function(r, g, b) { var hue; var saturation; var brightness; var cmax = (r > g) ? r : g; if (b > cmax) cmax = b; var cmin = (r < g) ? r : g; if (b < cmin) cmin = b; brightness = cmax / 255.0; if (cmax != 0) saturation = (cmax - cmin)/cmax; else saturation = ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/112978ac3d807e4a8b7e412ef2f585650c0506d8/Color.js/buggy/lib/Rico/Color.js |
s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); | s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); | fb.RGBToHSL = function (rgb) { var min, max, delta, h, s, l; var r = rgb[0], g = rgb[1], b = rgb[2]; min = Math.min(r, Math.min(g, b)); max = Math.max(r, Math.max(g, b)); delta = max - min; l = (min + max) / 2; s = 0; if (l > 0 && l < 1) { s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); ... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js |
if (max == r && max != g) h += (g - b) / delta; if (max == g && max != b) h += (2 + (b - r) / delta); if (max == b && max != r) h += (4 + (r - g) / delta); h /= 6; | if (max == r && max != g) h += (g - b) / delta; if (max == g && max != b) h += (2 + (b - r) / delta); if (max == b && max != r) h += (4 + (r - g) / delta); h /= 6; | fb.RGBToHSL = function (rgb) { var min, max, delta, h, s, l; var r = rgb[0], g = rgb[1], b = rgb[2]; min = Math.min(r, Math.min(g, b)); max = Math.max(r, Math.max(g, b)); delta = max - min; l = (min + max) / 2; s = 0; if (l > 0 && l < 1) { s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); ... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/49f6f3bf71daf78f75c731db626a40f2284838b2/farbtastic.js/buggy/misc/farbtastic/farbtastic.js |
script=script.replace(/^\s*(.*?)\s*$/, "$1"); | script=f_core.Trim(script); | run: function() { try { var bundles=classLoader._bundles; for(;;) { var loads=this._loads; if (loads.length>0) { var bundleName=loads.shift(); // alert("Load bundle "+bundleName); if (bundles[bundleName]) { continue; } var url=f_env.ComputeJavaScriptURI... | 4326 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4326/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/f_asyncClassLoader.js/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/javascript/f_asyncClassLoader.js |
f_core.Debug("f_asyncClassLoader", "Simplify script '"+script+"'."); | var newScript=script.substring(5, v); newScript=f_core.Trim(newScript); f_core.Debug("f_asyncClassLoader", "Simplify script '"+script+"' newScript='"+newScript+"'."); | run: function() { try { var bundles=classLoader._bundles; for(;;) { var loads=this._loads; if (loads.length>0) { var bundleName=loads.shift(); // alert("Load bundle "+bundleName); if (bundles[bundleName]) { continue; } var url=f_env.ComputeJavaScriptURI... | 4326 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4326/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/f_asyncClassLoader.js/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/javascript/f_asyncClassLoader.js |
script=script.substring(v+5); | script=newScript; | run: function() { try { var bundles=classLoader._bundles; for(;;) { var loads=this._loads; if (loads.length>0) { var bundleName=loads.shift(); // alert("Load bundle "+bundleName); if (bundles[bundleName]) { continue; } var url=f_env.ComputeJavaScriptURI... | 4326 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4326/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/f_asyncClassLoader.js/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/javascript/f_asyncClassLoader.js |
repaint(); | this.repaint(); | function run() { while (killme != null) { try {Thread.sleep(100);} catch (e){} repaint(); } killme = null;} | 9191 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9191/394383a65dd802c3dde5b8a2f99b406cd7527b4f/NervousText.js/clean/examples/NervousText.js |
function runMenu(strURL){ location.href=strURL; | function runMenu(strURL) { if (strURL.charAt(0) == '%') window.open(strURL.substr(1)); else location.href = strURL; | function runMenu(strURL){ location.href=strURL;} | 3489 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3489/f6a8c7ae74d4ac02e1cbd8ad6e426d17ff68c0fd/menu_script.js/buggy/Documentation/Scripts/menu_script.js |
this.htmlTestSuite.runNextTestInSuite(); | this.getTestSuite().runNextTestInSuite(); | runNextTest: function () { if (!this.runAllTests) { return; } this.htmlTestSuite.runNextTestInSuite(); }, | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0d4583cab1c3d430e4148028de3ee38ed6596330/selenium-testrunner.js/clean/code/javascript/core/scripts/selenium-testrunner.js |
getTestFrame().src = testLink.href; | getExecutionContext().open(testLink.href, getTestFrame()); | function runNextTest() { if (!runAllTests) return; suiteTable = getIframeDocument(getSuiteFrame()).getElementsByTagName("table")[0]; // Do not change the row color of the first row if(currentTestRow > 0) { // Make the previous row green or red depending if the test passed or failed ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/d37d4b80feee636ddcefc43715dc989856b6a454/selenium-fitrunner.js/clean/code/javascript/selenium-fitrunner.js |
getTestFrame().src = testLink.href; | getExecutionContext().open(testLink.href, getTestFrame()); | function runNextTest() { if (!runAllTests) return; suiteTable = getIframeDocument(getSuiteFrame()).getElementsByTagName("table")[0]; // Do not change the row color of the first row if(currentTestRow > 0) { // Make the previous row green or red depending if the test passed or failed ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/042fdcdd45dcb7908c8704f8f1f41df6dd5f6091/selenium-fitrunner.js/clean/code/javascript/selenium-fitrunner.js |
testFrame.src = "about:blank"; testFrame.src = testLink.href; | browserbot.setIFrameLocation(testFrame, testLink.href); | function runNextTest() { if (!runAllTests) return; suiteTable = getIframeDocument(getSuiteFrame()).getElementsByTagName("table")[0]; // Do not change the row color of the first row if(currentTestRow > 0) { // Make the previous row green or red depending if the test passed or failed ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c91529e19ecc266252b6564fdbc3ab5839a96ae4/selenium-fitrunner.js/clean/code/javascript/selenium-fitrunner.js |
testSuiteComplete(); | isTestSuiteComplete(); | function runNextTest() { if (!runAllTests) return; suiteTable = getIframeDocument(getSuiteFrame()).getElementsByTagName("table")[0]; updateSuiteWithResultOfPreviousTest(); currentRowInSuite++; // If we are done with all of the tests, set the title bar as pass or fail if (currentRowInSuite >= su... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0310a5cc1f4cefa5a905d20a0377865784ae9511/selenium-testrunner.js/clean/code/javascript/core/scripts/selenium-testrunner.js |
testFrame.src = "about:blank"; testFrame.src = testLink.href; | browserbot.setIFrameLocation(testFrame, testLink.href); | function runNextTest() { if (!runAllTests) return; suiteTable = getIframeDocument(getSuiteFrame()).getElementsByTagName("table")[0]; // Do not change the row color of the first row if(currentTestRow > 0) { // Make the previous row green or red depending if the test passed or failed ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a0d9a6c348948025b720f561c086e0a791ee7f68/selenium-fitrunner.js/clean/code/javascript/selenium-fitrunner.js |
} else { | } else { | runNextTestInSuite: function() { this._updateSuiteWithResultOfPreviousTest(); this.currentRowInSuite++; // If we are done with all of the tests, set the title bar as pass or fail if (this.currentRowInSuite >= this.suiteRows.length) { this._onTestSuiteComplete(); } else ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/bdf50299ec90235355e5c177afdd0f378929ba91/selenium-testrunner.js/buggy/code/javascript/core/scripts/selenium-testrunner.js |
function() {var func = this, args = new Array(arguments.length); | function() { var func = this, args = new Array(arguments.length); | Function.prototype.runsAfterSCW = function() {var func = this, args = new Array(arguments.length); for (var i=0;i<args.length;++i) {args[i] = arguments[i];} return function() {// concat/join the two... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
for (var i=0;i<args.length;++i) {args[i] = arguments[i];} | for (var i = 0; i < args.length; ++i) { args[i] = arguments[i]; } | Function.prototype.runsAfterSCW = function() {var func = this, args = new Array(arguments.length); for (var i=0;i<args.length;++i) {args[i] = arguments[i];} return function() {// concat/join the two... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
return function() { for (var i=0;i<arguments.length;++i) {args[args.length] = arguments[i];} | return function() { for (var i = 0; i < arguments.length; ++i) { args[args.length] = arguments[i]; } | Function.prototype.runsAfterSCW = function() {var func = this, args = new Array(arguments.length); for (var i=0;i<args.length;++i) {args[i] = arguments[i];} return function() {// concat/join the two... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
return (args.shift()==scwTriggerEle) ?func.apply(this, args):null; } }; | return (args.shift() == scwTriggerEle) ? func.apply(this, args) : null; } }; | Function.prototype.runsAfterSCW = function() {var func = this, args = new Array(arguments.length); for (var i=0;i<args.length;++i) {args[i] = arguments[i];} return function() {// concat/join the two... | 3685 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3685/b89706561d807feae7791db0e20e011b722cc3cd/scw.js/buggy/webapps/gridsphere/javascript/scw.js |
debugMode = runOptions.getDebugMode(); | debugMode = runOptions.isDebugMode(); | function runSeleniumTest() { runOptions = new SeleneseRunnerOptions(); var testAppWindow; if (runOptions.isMultiWindowMode()) { testAppWindow = openSeparateApplicationWindow('Blank.html'); } else if ($('myiframe') != null) { var myiframe = $('myiframe'); if (myiframe) { testA... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/b4f4dbda1d65695e493cea717d209c6b7296fe9d/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js |
} else { | } else if ($('myiframe') != null) { | function runSeleniumTest() { runOptions = new RunOptions(); var testAppWindow; if (runOptions.isMultiWindowMode()) { testAppWindow = openSeparateApplicationWindow('Blank.html'); } else { testAppWindow = $('myiframe').contentWindow; } if (testAppWindow == null) { proxyInjectionMode... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/37b69a783252967f3b2dcca5b5c09a93dabc051e/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js |
runOptions = new SeleneseRunnerOptions(); | runOptions = new RemoteRunnerOptions(); | function runSeleniumTest() { runOptions = new SeleneseRunnerOptions(); var testAppWindow; if (runOptions.isMultiWindowMode()) { testAppWindow = openSeparateApplicationWindow('Blank.html'); } else if ($('myiframe') != null) { var myiframe = $('myiframe'); if (myiframe) { testA... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/221e405153e4944ac36a523560cbc57de7ae219b/selenium-remoterunner.js/buggy/code/javascript/core/scripts/selenium-remoterunner.js |
currentTest = new SeleneseRunner(commandFactory); | currentTest = new RemoteRunner(commandFactory); | function runSeleniumTest() { runOptions = new SeleneseRunnerOptions(); var testAppWindow; if (runOptions.isMultiWindowMode()) { testAppWindow = openSeparateApplicationWindow('Blank.html'); } else if ($('myiframe') != null) { var myiframe = $('myiframe'); if (myiframe) { testA... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/221e405153e4944ac36a523560cbc57de7ae219b/selenium-remoterunner.js/buggy/code/javascript/core/scripts/selenium-remoterunner.js |
testAppWindow = $('myiframe').contentWindow; | var myiframe = $('myiframe'); if (myiframe) { testAppWindow = myiframe.contentWindow; } | function runSeleniumTest() { runOptions = new SeleneseRunnerOptions(); var testAppWindow; if (runOptions.isMultiWindowMode()) { testAppWindow = openSeparateApplicationWindow('Blank.html'); } else if ($('myiframe') != null) { testAppWindow = $('myiframe').contentWindow; } else { pr... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6b32d4473042dd3ce0221125e374973cf2add0c5/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js |
debugMode = getQueryVariable("debugMode"); if (debugMode=="false") { debugMode = false; } | function runTest() { debugMode = getQueryVariable("debugMode"); if (debugMode=="false") { debugMode = false; } var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LO... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/7ebf87a2fe8ffd5432e90f188d638e142fda0b85/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js | |
proxyInjectionMode = true; | function runTest() { debugMode = getQueryVariable("debugMode"); if (debugMode=="false") { debugMode = false; } var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LO... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/7ebf87a2fe8ffd5432e90f188d638e142fda0b85/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js | |
proxyInjectionMode = false; | function runTest() { debugMode = getQueryVariable("debugMode"); if (debugMode=="false") { debugMode = false; } var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LO... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/7ebf87a2fe8ffd5432e90f188d638e142fda0b85/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js | |
if (debugMode=="false") { debugMode = false; } | function runTest() { debugMode = getQueryVariable("debugMode"); var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LOG.logHook = logToRc; } selenium = Selenium.crea... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/51fb5a13839d7fc295e7d1698d8e3a9e5ed9f939/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js | |
function runTest() { var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LOG.logHook = logToRc; } selenium = Selenium.createForFrame(testAppFrame); //sendToRC("hi wo... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/cd4ca8e4a183901b5fae2aff5175fe5707855627/selenium-seleneserunner.js/buggy/code/javascript/core/scripts/selenium-seleneserunner.js | ||
restoreSeleniumState(); | function runTest() { debugMode = getQueryVariable("debugMode"); if (debugMode=="false") { debugMode = false; } var testAppFrame = document.getElementById('myiframe'); if (testAppFrame==null) { // proxy injection mode testAppFrame = window; LOG.log = logToRc; } else { LO... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/a45590122265044fcacdd946fda9f4d780897b18/selenium-seleneserunner.js/clean/code/javascript/core/scripts/selenium-seleneserunner.js | |
SafariPageBot = function(pageWindow) { | var SafariPageBot = function(pageWindow) { | SafariPageBot = function(pageWindow) { PageBot.call(this, pageWindow);}; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/10e591b5be05718f2e4d76628c0765675e463e1b/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ); | return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' ); | function sanitize_input( str ){ return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' );} | 1058 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1058/eedd4e6bfbc5cb2f05597e5cb5aa8eae3a1c97fa/vlm.js/buggy/share/http/js/vlm.js |
DEFINE('CFLAGS_' + SAPI + '_OBJ', '$(CFLAGS_' + SAPI + ')'); | function SAPI(sapiname, file_list, makefiletarget, cflags){ var SAPI = sapiname.toUpperCase(); var ldflags; STDOUT.WriteLine("Enabling sapi/" + sapiname); MFO.WriteBlankLines(1); MFO.WriteLine("# objects for SAPI " + sapiname); MFO.WriteBlankLines(1); if (cflags) { ADD_FLAG('CFLAGS_' + SAPI, cflags); } ADD_SOURCES("sa... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/4ffdb4253ab15b6d52c0250223861c0c9da1cbc8/confutils.js/clean/win32/build/confutils.js | |
STDOUT.WriteLine("Enabling sapi/" + sapiname); | STDOUT.WriteLine("Enabling SAPI " + configure_module_dirname); | function SAPI(sapiname, file_list, makefiletarget, cflags){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; STDOUT.WriteLine("Enabling sapi/" + sapiname); MFO.WriteBlankLines(1); MFO.WriteLine("# objects for SAPI " + sapiname); MFO.WriteBlankLines(1); if (cflags) { ADD_FLAG('CFLAGS_' + SAPI, cflags); } AD... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/a5cf8362603d1f0a40ce1e0ccbf326a28e741777/confutils.js/clean/win32/build/confutils.js |
ADD_SOURCES("sapi/" + sapiname, file_list, sapiname); | ADD_SOURCES(configure_module_dirname, file_list, sapiname); | function SAPI(sapiname, file_list, makefiletarget, cflags){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; STDOUT.WriteLine("Enabling sapi/" + sapiname); MFO.WriteBlankLines(1); MFO.WriteLine("# objects for SAPI " + sapiname); MFO.WriteBlankLines(1); if (cflags) { ADD_FLAG('CFLAGS_' + SAPI, cflags); } AD... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/a5cf8362603d1f0a40ce1e0ccbf326a28e741777/confutils.js/clean/win32/build/confutils.js |
resname = generate_version_info_resource(makefiletarget, "sapi/" + sapiname); | resname = generate_version_info_resource(makefiletarget, configure_module_dirname); | function SAPI(sapiname, file_list, makefiletarget, cflags){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; STDOUT.WriteLine("Enabling sapi/" + sapiname); MFO.WriteBlankLines(1); MFO.WriteLine("# objects for SAPI " + sapiname); MFO.WriteBlankLines(1); if (cflags) { ADD_FLAG('CFLAGS_' + SAPI, cflags); } AD... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/a5cf8362603d1f0a40ce1e0ccbf326a28e741777/confutils.js/clean/win32/build/confutils.js |
MFO.WriteLine("\t@echo SAPI " + sapiname + " build complete"); | MFO.WriteLine("\t@echo SAPI " + configure_module_dirname + "/" + sapiname + " build complete"); | function SAPI(sapiname, file_list, makefiletarget, cflags){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; STDOUT.WriteLine("Enabling sapi/" + sapiname); MFO.WriteBlankLines(1); MFO.WriteLine("# objects for SAPI " + sapiname); MFO.WriteBlankLines(1); if (cflags) { ADD_FLAG('CFLAGS_' + SAPI, cflags); } AD... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/a5cf8362603d1f0a40ce1e0ccbf326a28e741777/confutils.js/clean/win32/build/confutils.js |
if(PHP_VCI = "yes" || PHP_VCO == "yes") { ldflags += " /PGD:$(BUILD_DIR)\\"+makefiletarget+".pgd"; } | function SAPI(sapiname, file_list, makefiletarget, cflags, obj_dir){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; var ld; if (typeof(obj_dir) == "undefined") { sapiname_for_printing = configure_module_dirname; } else { sapiname_for_printing = configure_module_dirname + " (via " + obj_dir + ")"; } STDO... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/41912f30766ae713b416e0efa8bd11de668a465b/confutils.js/buggy/win32/build/confutils.js | |
if(PHP_VCI = "yes" || PHP_VCO == "yes") { ldflags += " /PGD:$(BUILD_DIR)\\"+makefiletarget+".pgd"; } | function SAPI(sapiname, file_list, makefiletarget, cflags, obj_dir){ var SAPI = sapiname.toUpperCase(); var ldflags; var resname; var ld; if (typeof(obj_dir) == "undefined") { sapiname_for_printing = configure_module_dirname; } else { sapiname_for_printing = configure_module_dirname + " (via " + obj_dir + ")"; } STDO... | 631 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/631/fedc06d290bb5c1a8d6fa19ec7f15b20b53129e7/confutils.js/clean/win32/build/confutils.js | |
function satFinder() | function satFinder(transponder) | function satFinder(){ NewWindow("/satFinder", "satfind", "170", "150", "no");} | 6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/038f1308c193a2ea44e58f2e9307742cef009daa/index.js/clean/tuxbox/enigma/data/htdocs/index.js |
NewWindow("/satFinder", "satfind", "170", "150", "no"); | NewWindow("/satFinder?" + transponder, "satfind", "170", "150", "no"); | function satFinder(){ NewWindow("/satFinder", "satfind", "170", "150", "no");} | 6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/038f1308c193a2ea44e58f2e9307742cef009daa/index.js/clean/tuxbox/enigma/data/htdocs/index.js |
this.branch.deleteBranch("formats"); | save: function(options, prop_name) { if (prop_name) { this.setCharPref(prop_name, options[prop_name]); } else { var name; for (name in options) { this.setCharPref(name, options[name]); } } } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/8c6bee0659653d06eef565a6c6695a89c3ae02d0/options.js/buggy/src/content/options.js | |
var configStream = getWriteStream(getScriptFile("config.xml")); | var configStream = getWriteStream(this.configFile); | this.save = function() { var doc = document.implementation.createDocument("", "UserScriptConfig", null); for (var i = 0, scriptObj = null; (scriptObj = this.scripts[i]); i++) { var scriptNode = doc.createElement("Script"); for (var j = 0; j < scriptObj.includes.length; j++) { var includeNod... | 2115 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2115/fec534de049cc4effd22b41bf1cfa71367d36fa3/config.js/buggy/src/content/config.js |
function save(filename,options) { // wyona way this.p.onload = this._responseXML; this.p.options = options; var WyonaRequest = BX_xml.doc.createElement("request"); WyonaRequest.setAttribute("type","checkin"); var dataEle = BX_xml.doc.createElement("data"); dataEle.setAttribute("type","xml"); d... | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/e99f8cf2737750971082ca2e1c69d4f5dde4c59a/lenya.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/td/lenya.js | ||
BX_DocumentID = "magazin/gesundheit/articles/2002/0508/index.xml"; WyonaRequest.setAttribute("id",BX_DocumentID); | function save(filename,options) { // wyona way this.p.onload = this._responseXML; this.p.options = options; var WyonaRequest = BX_xml.doc.createElement("request"); WyonaRequest.setAttribute("type","checkin"); BX_DocumentID = "magazin/gesundheit/articles/2002/0508/index.xml"; WyonaRequest.setAttri... | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/9720c4384f395933fec0cc778f2d0d7272b2dec4/lenya.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/td/lenya.js | |
dataEle.setAttribute("id",BX_DocumentID); | function save(filename,options) { // wyona way this.p.onload = this._responseXML; this.p.options = options; var WyonaRequest = BX_xml.doc.createElement("request"); WyonaRequest.setAttribute("type","checkin"); BX_DocumentID = "magazin/gesundheit/articles/2002/0508/index.xml"; WyonaRequest.setAttri... | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/9720c4384f395933fec0cc778f2d0d7272b2dec4/lenya.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/td/lenya.js | |
function save(filename,options) { // wyona way this.p.onload = this._responseXML; this.p.options = options; var WyonaRequest = BX_xml.doc.createElement("request"); WyonaRequest.setAttribute("type","checkin"); BX_DocumentID = "magazin/gesundheit/articles/2002/0508/index.xml"; WyonaRequest.setAttri... | 791 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/9720c4384f395933fec0cc778f2d0d7272b2dec4/lenya.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/td/lenya.js | ||
mimetype: "text/plain", | mimetype: "text/html", | function saveAttachment(obj, formid, noanim){var bindArgs = { url: "/exec/editattachments/" + obj, content: {ajax: "1"}, method: "POST", mimetype: "text/plain", error: function(type, errObj){ }, load: function(type, data, evt){ // handle successful response here ... | 1857 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1857/f801f4f8888931bce574e0a66463dfd057fde540/menulayer.js/buggy/static/javascripts/menulayer.js |
alert(data); | function saveAttachment(obj, formid, noanim){var bindArgs = { url: "/exec/editattachments/" + obj, content: {ajax: "1"}, method: "POST", mimetype: "text/plain", error: function(type, errObj){ }, load: function(type, data, evt){ // handle successful response here ... | 1857 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1857/f801f4f8888931bce574e0a66463dfd057fde540/menulayer.js/buggy/static/javascripts/menulayer.js | |
var body = editor.query(' var actionIndex = editor.query(' | var body = editor.query('. var actionIndex = editor.query('. | function saveBreakpointOnLine(lineNum){ var file = files[currentFile]; var breakpoint = file.breakpoints[lineNum]; row = file.element.firstChild.childNodes.item(lineNum - 1); var editor = breakpoint.editor; var body = editor.query('//div[@class="condition"]').innerText; var actionIndex = editor.query(... | 10664 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10664/f3853fed8fa994cfa6fd50d5433ca2d638f7955e/debugger.js/clean/third_party/WebKit/WebKitTools/Drosera/debugger.js |
debug("saveBuffersRecoveryPoint: start"); | debug.print("saveBuffersRecoveryPoint: start"); | function saveBuffersRecoveryPoint() { debug("saveBuffersRecoveryPoint: start"); var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("saveBuffersRecoveryPoint: " + buffersNode); debug("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); if (! buffersNode) { debug("saveBuffersRe... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("saveBuffersRecoveryPoint: " + buffersNode); debug("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); | debug.print("saveBuffersRecoveryPoint: " + buffersNode); debug.print("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); | function saveBuffersRecoveryPoint() { debug("saveBuffersRecoveryPoint: start"); var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("saveBuffersRecoveryPoint: " + buffersNode); debug("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); if (! buffersNode) { debug("saveBuffersRe... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("saveBuffersRecoveryPoint: null buffersNode"); | debug.print("saveBuffersRecoveryPoint: null buffersNode"); | function saveBuffersRecoveryPoint() { debug("saveBuffersRecoveryPoint: start"); var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("saveBuffersRecoveryPoint: " + buffersNode); debug("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); if (! buffersNode) { debug("saveBuffersRe... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("saveBuffersRecoveryPoint: " + getCookie(g_cq_buffers_cookie)); | debug.print("saveBuffersRecoveryPoint: " + getCookie(g_cq_buffers_cookie)); | function saveBuffersRecoveryPoint() { debug("saveBuffersRecoveryPoint: start"); var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("saveBuffersRecoveryPoint: " + buffersNode); debug("saveBuffersRecoveryPoint: " + buffersNode.innerHTML); if (! buffersNode) { debug("saveBuffersRe... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
this.view.syncModel(); | function saveNewTestCase() { if (this.testManager.saveAsNew(this.testCase)) { //document.getElementById("filename").value = this.testCase.filename; updateTitle(); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/8559b7c3e1067cd32f5489bd7a35360a222901a0/selenium-ide.js/clean/src/content/selenium-ide.js | |
var w = SeleniumIDE.getRecorderWindow(); if (w != null) { w.setOptions(options); } | SeleniumIDE.Loader.getEditors().forEach(function(editor) { editor.setOptions(options); }); | function saveOptions() { var options = this.options; var name; for (name in options) { var e = document.getElementById(name); if (e != null) { options[name] = e.checked != undefined ? e.checked.toString() : e.value; } } var w = SeleniumIDE.getRecorderWindow(); if (w != null) { w.setOptions(options); } optionsMan... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/ce42355024b29d6c2ea8e9d354e7952605826f4f/optionsDialog.js/clean/src/content/optionsDialog.js |
function saveOptions() { var options = this.options; var name; for (name in options) { var e = document.getElementById(name); if (e != null) { options[name] = e.checked != undefined ? e.checked.toString() : e.value; } } var w = SeleniumIDE.getRecorderWindow(); if (w != null) { w.setOptions(options); } optionsMana... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/8c6bee0659653d06eef565a6c6695a89c3ae02d0/optionsDialog.js/clean/src/content/optionsDialog.js | ||
submitform('saveorder'); | function saveorder( n ) { checkAll_button( n ); submitform('saveorder');} | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/4d6608f1b9e40027a4d0e09bed742f852c8ff0ca/mambojavascript.js/buggy/includes/js/mambojavascript.js | |
submitform('saveorder'); | function saveorder( n ) { checkAll_button( n ); submitform('saveorder');} | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/4d6608f1b9e40027a4d0e09bed742f852c8ff0ca/joomla.javascript.js/clean/includes/js/joomla.javascript.js | |
debug("saveQueryHistory: " + i); | function saveQueryHistory(query, appendFlag) { debug("saveQueryHistory: " + query); var listNode = getQueryHistoryListNode(true); // simple de-dupe check // abort when we see the first duplicate: // this is most likely to happen with the most recent query // also implements history limit... var lis... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/acaf2f3cc32a6781b1b116b2d37f39fc2d4472e2/cq.js/clean/cq.js | |
function saveQueryHistory(query, appendFlag) { debug("saveQueryHistory: " + query); | function saveQueryHistory(query, appendFlag, checkFlag) { if (appendFlag == null) appendFlag = false; if (checkFlag == null) checkFlag = true; debug.print("saveQueryHistory: append=" + appendFlag + ", check=" + checkFlag + ": " + query.substr(0, 16)); | function saveQueryHistory(query, appendFlag) { debug("saveQueryHistory: " + query); var listNode = getQueryHistoryListNode(true); // simple de-dupe check // abort when we see the first duplicate: // this is most likely to happen with the most recent query // also implements history limit... var lis... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
if (listItems && listItems[0]) { debug("saveQueryHistory: checking " + listItems.length); | if (checkFlag && listItems && listItems[0]) { debug.print("saveQueryHistory: dup-checking " + listItems.length); | function saveQueryHistory(query, appendFlag) { debug("saveQueryHistory: " + query); var listNode = getQueryHistoryListNode(true); // simple de-dupe check // abort when we see the first duplicate: // this is most likely to happen with the most recent query // also implements history limit... var lis... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.