Closed
Bug 469855
Opened 16 years ago
Closed 16 years ago
Query portion of in-browser JS tests can't be rearranged
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: Waldo, Assigned: bc)
References
()
Details
Attachments
(2 files)
1.02 KB,
patch
|
Waldo
:
review-
|
Details | Diff | Splinter Review |
6.65 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
It would be nice to be able to put the test= portion at the end, to make it easier to tweak the URL to run a different test. For example, http://test.bclary.com/tests/mozilla.org/js/js-test-driver-standards.html?language=type;text/javascript;test=e4x/Regress/regress-354998.js doesn't work, but http://test.bclary.com/tests/mozilla.org/js/js-test-driver-standards.html?test=e4x/Regress/regress-354998.js;language=type;text/javascript does work.
Assignee | ||
Comment 2•16 years ago
|
||
should allow test=foo, language=bar;value, gczeal=n and jit to be positioned in the querystring.
Attachment #353292 -
Flags: review?(jwalden+bmo)
Reporter | ||
Comment 3•16 years ago
|
||
Comment on attachment 353292 [details] [diff] [review] patch Is there a reason we can't split on ';', use /^([^=]+)=(.*)$/ and decodeURIComponent to grab names (properties) and values into an object, and then just grab the particular properties we want off that for greatest robustness going forward? That would also make adding further parameters to the query really easy.
Reporter | ||
Updated•16 years ago
|
Attachment #353292 -
Flags: review?(jwalden+bmo) → review-
Reporter | ||
Comment 4•16 years ago
|
||
Comment on attachment 353292 [details] [diff] [review] patch Need an answer to the question in the previous comment still.
Assignee | ||
Comment 5•16 years ago
|
||
(In reply to comment #4) > (From update of attachment 353292 [details] [diff] [review]) > Need an answer to the question in the previous comment still. sorry. I missed that question. No, I think that will work fine. I'll work something up tonight.
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #354787 -
Flags: review?(jwalden+bmo)
Reporter | ||
Comment 7•16 years ago
|
||
Comment on attachment 354787 [details] [diff] [review] patch v2 I read through this somewhat skimmily, but basically looks good to me. Thanks!
Attachment #354787 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 8•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/364b477f377e and cvs.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•