Closed Bug 552636 Opened 14 years ago Closed 14 years ago

View source after form submit shows initial form page instead of new page (again)

Categories

(Toolkit :: View Source, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: stanley.appel, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a3pre) Gecko/20100315 Minefield/3.7a3pre (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a3pre) Gecko/20100315 Minefield/3.7a3pre (.NET CLR 3.5.30729)

It looks like bug #469302 is back.
A view source action shows the content of before the post action and not the result.

Bug 469302 has also a URL to test it against.

Reproducible: Always

Steps to Reproduce:
1. go to http://www.stappel.com/test.php
2. press submit button
3. screen shows: Request type: POST
4. do a view page source. it shows: Request type: GET
Actual Results:  
GET

Expected Results:  
the POST result

It most certainly regression. 

Server logs it Does a new GET on the view source.
Keywords: regression
Version: unspecified → Trunk
confirmed: works on 1.9.2 branch, failes on trunk.
as Bug 469302 blocked, this should too.
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
Works: 
Build 20100224060607
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a2pre) Gecko/20100224 Minefield/3.7a2pre (.NET CLR 3.5.30729)
http://hg.mozilla.org/mozilla-central/rev/ddfecbc93934

FAIL:
Build 20100225035447
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a2pre) Gecko/20100225 Minefield/3.7a2pre (.NET CLR 3.5.30729)
http://hg.mozilla.org/mozilla-central/rev/a29d44f196a6
Ugh, I have no idea how this happened, but it does indeed sound like it's my fault :(
Assignee: nobody → jonas
blocking2.0: ? → final+
Attached patch PatchSplinter Review
This seems to fix the problem for me. It seems arg is now a function ("[object XPCNativeWrapper [xpconnect wrapped nsISupports]]")?
Assignee: jonas → wesongathedeveloper
OS: Windows XP → All
Hardware: x86 → All
Attachment #433500 - Flags: review?(jonas)
Attachment #433500 - Flags: review?(gavin.sharp)
Sounds like bug 553407 is at fault, so the patch is actually working around a recent bug.
Depends on: 553407
Comment on attachment 433500 [details] [diff] [review]
Patch

Indeed!
Attachment #433500 - Flags: review?(jonas)
Attachment #433500 - Flags: review?(gavin.sharp)
Attachment #433500 - Flags: review-
Assignee: wesongathedeveloper → nobody
Is it possible to write a mochitest for this view source behavior? (It's something I would like to attempt if someone informs me that it _is_ possible).
As bug #553407 is fixed in mozilla-central, this is no longer a problem.
For me the bug can be set to resolved, but maybe someone wants it open for a testcase.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: