Open Bug 974840 Opened 11 years ago Updated 2 years ago

The browser console may show erroneous information about submitting forms before unload

Categories

(Core :: Networking, defect, P5)

28 Branch
defect

Tracking

()

People

(Reporter: ioana_damy, Unassigned)

Details

(Whiteboard: [necko-would-take])

Str: 1. Launch the Browser Console. 2. Open this page in the browser: https://bugzilla.mozilla.org/attachment.cgi?id=8362508. 3. Reload the page. The console shows this: A form was submitted in the windows-1252 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element. attachment.cgi:16 GET https://bug956524.bugzilla.mozilla.org/attachment.cgi [HTTP/1.1 302 Found 775ms] GET https://bugzilla.mozilla.org/attachment.cgi [HTTP/1.1 302 Found 974ms] GET https://bug956524.bugzilla.mozilla.org/attachment.cgi [HTTP/1.1 200 OK 226ms] which would imply a form submit was made, while when using Charles to inspect the HTTP traffic - outside of Firefox - the network request isn't shown as made. Notes: 1. This issue reproduces since Firefox 24 (release of this console), so it's not a regression. 2. The bug's reproducible on the current beta (02/18), aurora and nightly (02/20).
This bug is a follow-up from testing bug 956524 (if you need access to the testcase, please contact Gijs).
How is this a webconsole bug?
(In reply to Mihai Sucan [:msucan] from comment #2) > How is this a webconsole bug? This has nothing to do with the Web console, but with the Browser Console. The bug here is that it says the form was submitted while it wasn't.
(In reply to Ioana Budnar, QA [:ioana] from comment #3) > (In reply to Mihai Sucan [:msucan] from comment #2) > > How is this a webconsole bug? > > This has nothing to do with the Web console, but with the Browser Console. > The bug here is that it says the form was submitted while it wasn't. Sorry, I sometimes use 'webconsole' as a generic term for both consoles, because they share the same code. I am not sure if this bug is really a browser console bug. The messages and net requests you see are sent from different parts of the browser.
Ioana, sorry to come back to this again. This bug doesnt seems to be a browserconsole/webconsole bug. Can you please retriage this bug? Thanks!
Flags: needinfo?(ioana.budnar)
Moving to Networking... it seems like if it's not right, the people there should at least know where this should go further.
Component: Developer Tools: Console → Networking
Flags: needinfo?(ioana.budnar)
Product: Firefox → Core
Whiteboard: [necko-would-take]
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.