Closed
Bug 113718
Opened 24 years ago
Closed 24 years ago
XUL window open performance test
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
People
(Reporter: mcafee, Assigned: law)
References
()
Details
(Keywords: perf)
Attachments
(3 files, 1 obsolete file)
XUL window open test now spits out the raw data, average,
and minimum times to stdout so that tinderbox can pick them up
in the logs. Can we also put these in a dialog, that stays up
for ? 5 seconds and then exits? That would help people running
this test by hand. Or make it an option somehow.
Tinderbox test expects this test to exit, so don't add anything
modal with an ok button :-)
Reporter | ||
Comment 1•24 years ago
|
||
over to bill law, adding pchen.
Assignee: hyatt → law
Keywords: perf
Comment 2•24 years ago
|
||
Let's just add functionality like the example into winopen.js/xul
Comment 3•24 years ago
|
||
Hmm, window.closed returns undefined even when the window has been closed.
Anyways, still works OK.
The new version of these files I just attached add the following features:
1. Enable passing arguments via search string on url. Almost all the "const"
values at the top of winopen.js can be tweaked. I also added the ability to
tweak the chrome: url for the window; e.g., by passing mozilla a -chrome
options like
"file:///D|winopen.xul?chrome=chrome://navigator/content/miniNav.xul". This
requires setting a pref and thus requesting UniversalXPConnect privelage.
2. Adds content to the winopen.xul window to display results, this only works
if you specify "?close=0" in the search portion of the url.
3. Adds a "Try again" button so you can run the test again.
The only thing missing is input fields for the optional values so you can tweak
the parameters and rerun right from the dialog.
If you guys can check this out and ensure it works the same as it does
currently when invoked the way the tinderbox does it, then we can check this
in. Alternatively, we could check it in as winopen2 .xul/.js.
Reporter | ||
Comment 7•24 years ago
|
||
great changes! r=mcafee. This makes it really easy to run this test now, thanks.
Comment 8•24 years ago
|
||
Yeah, this works great, including with an alternate navigator xul.
One thing: put a big fat comment in the js that says that using windows
cmd.com (or command.com) you need to fully quote the argument to -chrome
when you are passing multiple parameters. i.e., cmd.com barfs on '&' in
the command line, and doesn't support unix style '\' shell escapes.
Checked in enhancements along with changes for bug 113778.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•