Closed Bug 412841 Opened 17 years ago Closed 17 years ago

[Regression] Invoking POST data keyword search bookmark via Enter key doesn't send POST data (returns to search page), works with Alt+Enter key (gets results page)

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 beta3

People

(Reporter: bugdickvl, Assigned: Gavin)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011604 Minefield/3.0b3pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011604 Minefield/3.0b3pre

If I invoke a keyword search that sends POST data then nothing happens after I invoke the search with the Enter key (keyword + parameter).
It does work if I use Alt + Enter.

Reproducible: Always

Steps to Reproduce:
1) Open a page with a search form that uses POST data.
I use: http://forums.mozillazine.org/search.php

2) Set some parameters.
I used:
"Search for all terms"
"Category: Mozilla Firefox"
"Search previous: 3 months"

3) Right click the "Search for Keywords" text field and choose: "Add a Keyword for this search"
Enter a Name and Keyword (mzs) and save the bookmark.

4) Invoke a keyword search with the Enter key: mzs password <Enter>


Actual Results:  
With http://hourly-archive.localgho.st/win32/20080108_1946_firefox-3.0b3pre.en-US.win32.zip I get results.
With http://hourly-archive.localgho.st/win32/20080108_2023_firefox-3.0b3pre.en-US.win32.zip I get the search page and no results.

Repeat the keyword search and press Alt+Enter: mzs password <Alt+Enter>
Both work.


Expected Results:  
It should work in both cases.


Regression range:
http://hourly-archive.localgho.st/win32/20080108_1946_firefox-3.0b3pre.en-US.win32.zip
http://hourly-archive.localgho.st/win32/20080108_2023_firefox-3.0b3pre.en-US.win32.zip

Bonsai checkin range:
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1199850360&maxdate=1199852579

Could be this one: https://bugzilla.mozilla.org/show_bug.cgi?id=302575 - URL bar gets confused about what URI is loaded
Blocks: 302575
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Attached patch patchSplinter Review
Bug 302575 made us call tabbrowser.loadURIWithFlags, but that method doesn't pass the postData argument to the <browser> version.
Attachment #297619 - Flags: review?(mano)
Assignee: nobody → gavin.sharp
Flags: blocking-firefox3?
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → Firefox 3 M11
Status: NEW → ASSIGNED
Attachment #297619 - Flags: review?(mano) → review+
Attachment #297619 - Flags: approval1.9?
Thanks a lot for the bug report, dickvi, it was perfect in every way :)
You're welcome Gavin Sharp :)
Attachment #297619 - Flags: approval1.9? → approval1.9+
mozilla/browser/base/content/tabbrowser.xml 	1.259 
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: blocking-firefox3? → blocking-firefox3+
Verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050904 Minefield/3.0pre. Nice repro steps!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: