Tab crashes when dropping text from an external program
Categories
(Firefox :: Data Loss Prevention, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | verified |
| firefox130 | --- | disabled |
| firefox131 | --- | disabled |
| firefox132 | --- | verified |
People
(Reporter: atrif, Assigned: gstoll)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: crash, regression, Whiteboard: [fidefe-quality-foundation?])
Crash Data
Attachments
(3 files, 1 obsolete file)
|
703.34 KB,
image/gif
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details |
Found in
- 132.0a1
Affected versions
- 132.0a1 (2024-09-12)
Tested platforms
- Affected platforms: Windows 11, Windows 10
- Unaffected platforms:macOS 12, Ubuntu 22
Preconditoins
- Download the DLP test assets from https://drive.google.com/file/d/1yjqVRuxdKV3WnO7D2wzMgDXBuYBxUgVw/view
- Create a distribution folder inside the Firefox folder and paste the policies-1.json to it and then rename it to policies.json
- Run the DLP agent in CMD using: .\content_analysis_sdk_agent.exe --user --toblock=.\d{3}-?\d{2}-?\d{4}. --towarn=.warn. --delays=10
Steps to reproduce
- Open Notepad++/ Notepad and write some random text
- Open https://www.wikipedia.org/ and drop the text in the search box.
Expected result
- The scan is performed and text is dropped(depending on the text).
Actual result
- Tab crashes.
Regression range
- This probably happens after bug 1910452. I will set it as the regressor. Please let us know if this is incorrect.
Additional notes
- Attached a screen recording.
- The crash may be intermittent but happens often, setting this as
[fidefe-quality-foundation?].
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1910452
:handyman, since you are the author of the regressor, bug 1910452, could you take a look?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 3•1 year ago
|
||
I can reproduce this, but not on every website. (note that it reproduces on https://www.wikipedia.org, but not https://en.wikipedia.org)
We're hitting MOZ_ASSERT(dragSession) in BrowserChild::RecvDispatchToDropTargetAndResumeEndSession. FWIW mPuppetWidget is non-null and looks reasonable to me, but mDelayedDropPoint looks like it's (0,0), which I'm not sure is expected.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
The problem seems to be that this code in IMEContentObserver.cpp detects that the focus has changed, so it blanks out the reply to the eQueryDropTargetHitTest message. The caller doesn't care about mContentsRoot so maybe it's OK to skip the check in this case?
| Assignee | ||
Comment 6•1 year ago
|
||
| Reporter | ||
Comment 9•1 year ago
|
||
Verified fixed with Firefox 132.0a1 (20240918041351) on Windows 10x64 and 11. The tab no longer crashes after dropping text from an external program.
| Assignee | ||
Comment 10•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D222290
Updated•1 year ago
|
Comment 11•1 year ago
|
||
esr128 Uplift Approval Request
- User impact if declined: crash when drop text with DLP on
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: (QA has a detailed test plan for this whole feature)
- Risk associated with taking this patch: low
- Explanation of risk level: small change
- String changes made/needed: no
- Is Android affected?: no
| Assignee | ||
Comment 12•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D222290
Updated•1 year ago
|
Comment 13•1 year ago
|
||
esr128 Uplift Approval Request
- User impact if declined: crash when drop text with DLP on
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: (QA has a detailed test plan for this whole feature)
- Risk associated with taking this patch: low
- Explanation of risk level: small change
- String changes made/needed: no
- Is Android affected?: no
Updated•1 year ago
|
Updated•1 year ago
|
Comment 14•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
| Reporter | ||
Comment 15•1 year ago
•
|
||
Verified fixed with 128.5.0esr (20241112193853) from comment 14 on Windows 10x64 and Windows 11. The tab no longer crashes after dropping text from an external program.
Description
•