rem:  data = parent.hPrefWindow.wsm.dataManager.pageData["chrome:   if (!("scriptData" in data)){ var changedList = ["allowWindowMoveResizeChanged", "allowWindowStatusChangeChanged", "allowWindowFlipChanged", "allowImageSrcChangeChanged", "allowHideStatusBarChanged"];  data.scriptData = []; for(var run = 0; run < changedList.length; run++ ){ data.scriptData[ changedList[run] ] = []; data.scriptData[ changedList[run] ].value = false; }  document.getElementById("allowWindowMoveResize").checked =  getPrefValueForCheckbox("dom.disable_window_move_resize"); document.getElementById("allowWindowFlip").checked = getPrefValueForCheckbox("dom.disable_window_flip"); document.getElementById("allowWindowStatusChange").checked = getPrefValueForCheckbox("dom.disable_window_status_change"); document.getElementById("allowImageSrcChange").checked = getPrefValueForCheckbox("dom.disable_image_src_set"); document.getElementById("allowHideStatusBar").checked = getPrefValueForCheckbox("dom.disable_window_open_feature.status");  
context: function Startup(){  data = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-scripts.xul"];  //If scriptData does not exist, then it is the first time the panel was shown and we default to false   if (!("scriptData" in data)){    var changedList = ["allowWindowMoveResizeChanged",                       "allowWindowStatusChangeChanged",                       "allowWindowFlipChanged",                       "allowImageSrcChangeChanged",                       "allowHideStatusBarChanged"];    data.scriptData = [];    for(var run = 0; run < changedList.length; run++ ){      data.scriptData[ changedList[run] ] = [];      data.scriptData[ changedList[run] ].value = false;    }    document.getElementById("allowWindowMoveResize").checked =  getPrefValueForCheckbox("dom.disable_window_move_resize");    document.getElementById("allowWindowFlip").checked = getPrefValueForCheckbox("dom.disable_window_flip");    document.getElementById("allowWindowStatusChange").checked = getPrefValueForCheckbox("dom.disable_window_status_change");    document.getElementById("allowImageSrcChange").checked = getPrefValueForCheckbox("dom.disable_image_src_set");    document.getElementById("allowHideStatusBar").checked = getPrefValueForCheckbox("dom.disable_window_open_feature.status");    //If we don't have a checkbox under groupbox pluginPreferences, we should hide it    var pluginGroup = document.getElementById("pluginPreferences")    var children = pluginGroup.childNodes;    if (!children || children.length <= 1)    // 1 for the caption      pluginGroup.setAttribute("hidden", "true");  }  javascriptEnabledChange();  document.getElementById("AllowList").addEventListener("CheckboxStateChange", onCheckboxCheck, false);  parent.hPrefWindow.registerOKCallbackFunc(doOnOk);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6be4c1a90c0b9f9faba94ceed1df9bb81ff06b7b/pref-scripts.js/buggy/xpfe/components/prefwindow/resources/content/pref-scripts.js