Open Bug 1114628 Opened 11 years ago Updated 3 years ago

evt.preventDefault() does not work when an ajax request is dispatched

Categories

(Core :: DOM: Events, defect, P5)

x86
All
defect

Tracking

()

People

(Reporter: holger, Unassigned)

References

Details

(Keywords: parity-chrome, parity-ie, regression)

Attachments

(2 files, 3 obsolete files)

946 bytes, application/x-zip-compressed
Details
923 bytes, application/x-zip
Details
Attached file test.zip
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 Steps to reproduce: To reproduce: 1) Focus the first text box 2) Type "abc" 3) Press tab to kick off the synchronous Ajax request Actual results: On FF 34 On a screen with two HTML text boxes, preventDefault still changes focus to second field when ajax requests are dispatched. Expected results: focus should not change
Component: Untriaged → DOM: Events
Product: Firefox → Core
Version: 34 Branch → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [parity-Chrome][parity-IE]
OS: Windows 8.1 → All
Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bff114502666&tochange=9703fd69e126 In local build last Good: d88e6b8fab83 First Bad: 3934f51e350f Regressed by: 3934f51e350f Olli Pettay — Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst
Blocks: 493251
Flags: needinfo?(bugs)
Keywords: regression
Attached file data.json (obsolete) —
Attached file test.js (obsolete) —
Attached file testcase test.html (obsolete) —
Attachment #8540652 - Attachment is obsolete: true
Attachment #8540650 - Attachment is obsolete: true
Attachment #8540648 - Attachment is obsolete: true
Nice, sync XHR + events again. (note, sync XHR + event handling is inconsistent in all the browsers in various ways and sync XHR is deprecated in the main thread) Thanks Alice and Holger.
Flags: needinfo?(bugs)
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-Chrome][parity-IE]
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: