Closed
Bug 661132
Opened 14 years ago
Closed 14 years ago
Fix test for bug 642338 so it doesn't rely on firefox.js prefs
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla7
| Tracking | Status | |
|---|---|---|
| status2.0 | --- | unaffected |
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
(Whiteboard: [Blocks (SM) bug 653996] [good first bug])
Attachments
(1 file, 1 obsolete file)
|
2.24 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
The test I added in bug 642338 relies on a Firefox-specific pref, that you can't hide the location bar. Since this is a core test, it shouldn't rely on this pref being set.
| Assignee | ||
Comment 2•14 years ago
|
||
Thanks.
Comment 3•14 years ago
|
||
Bug 642338 comment 37:
{
Serge Gautherie (:sgautherie) 2011-05-31 17:07:04 PDT
> If not, I'll review a patch to modify the test so it checks the pref before
> the is() call.
To be explicit, is() check is fine in both cases, but its expected value should simply depend on "dom.disable_window_open_feature.location"(!?) preference value.
}
More details are in bug 653996.
Blocks: 653996
Severity: normal → major
Whiteboard: [Blocks (SM) bug 653996] [good first bug]
Version: unspecified → Trunk
| Assignee | ||
Comment 4•14 years ago
|
||
So just to be clear, I *can* rely on a pref in all.js?
> pref("dom.disable_window_open_feature.status", true);
| Assignee | ||
Comment 5•14 years ago
|
||
| Assignee | ||
Comment 6•14 years ago
|
||
> So just to be clear, I *can* rely on a pref in all.js?
Actually, nevermind. That's not necessary.
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → justin.lebar+bug
| Assignee | ||
Updated•14 years ago
|
Attachment #537580 -
Flags: feedback?(sgautherie.bz)
Comment 7•14 years ago
|
||
Comment on attachment 537580 [details] [diff] [review]
Patch v1
[Mozilla/5.0 (Windows NT 5.0; rv:7.0a1) Gecko/20110605 Firefox/7.0a1 SeaMonkey/2.2a1pre] (nightly, SM 2.4a1pre !)
I like this code. And it fixes bug 653996 :-)
From my bug 653996 comment 3:
{
Nit: you might want to add "from HTML" (or "content" or whatever applies) to the comment, "ftr".
}
Attachment #537580 -
Flags: feedback?(sgautherie.bz) → feedback+
Updated•14 years ago
|
Status: NEW → ASSIGNED
status2.0:
--- → unaffected
| Assignee | ||
Comment 8•14 years ago
|
||
| Assignee | ||
Updated•14 years ago
|
Attachment #537580 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 537657 [details] [diff] [review]
Patch v2
I meant to ask for Smaug's review on this patch, but I apparently missed that.
Attachment #537657 -
Flags: review?(Olli.Pettay)
Updated•14 years ago
|
Attachment #537657 -
Flags: review?(Olli.Pettay) → review+
Comment 10•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•