зеркало из https://github.com/mozilla/gecko-dev.git
add some debug output to investigate bug 522729 (on a CLOSED TREE)
This commit is contained in:
Родитель
cd1de4faf6
Коммит
be7ae61cc0
|
@ -4,7 +4,7 @@
|
|||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2009-08-19'
|
||||
timestamp='2009-11-11'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
|
@ -126,7 +126,8 @@ case $maybe_os in
|
|||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
kopensolaris*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
storm-chaos* | os2-emx* | rtmk-nova* | \
|
||||
wince-winmo* )
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
|
@ -1338,6 +1339,9 @@ case $os in
|
|||
-os400*)
|
||||
os=-os400
|
||||
;;
|
||||
-wince-winmo*)
|
||||
os=-wince-winmo
|
||||
;;
|
||||
-wince*)
|
||||
os=-wince
|
||||
;;
|
||||
|
|
|
@ -53,6 +53,7 @@ function check_submit_pending(tab, crashes) {
|
|||
let CrashID = null;
|
||||
let CrashURL = null;
|
||||
function csp_onload() {
|
||||
dump('csp_onload, location = ' + browser.contentWindow.location + '\n');
|
||||
if (browser.contentWindow.location != 'about:crashes') {
|
||||
browser.removeEventListener("load", csp_onload, true);
|
||||
// loaded the crash report page
|
||||
|
@ -106,11 +107,13 @@ function check_submit_pending(tab, crashes) {
|
|||
for each(let crash in crashes) {
|
||||
if (crash.pending) {
|
||||
SubmittedCrash = crash;
|
||||
dump('check_submit_pending: trying to submit crash ' + crash.id + '\n');
|
||||
break;
|
||||
}
|
||||
}
|
||||
EventUtils.sendMouseEvent({type:'click'}, SubmittedCrash.id,
|
||||
browser.contentWindow);
|
||||
dump('check_submit_pending: sent mouse event to ' + SubmittedCrash.id + '\n');
|
||||
}
|
||||
|
||||
function test() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче