Closed
Bug 1369159
Opened 7 years ago
Closed 7 years ago
Crash when saving JSON
Categories
(DevTools :: JSON Viewer, defect)
DevTools
JSON Viewer
Tracking
(firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file, 1 obsolete file)
2.97 KB,
patch
|
Honza
:
review+
|
Details | Diff | Splinter Review |
# Variant 1 1. Open Firefox in e10s mode 2. Load data:application/json,[1,2,3] 3. Click Save button (then you can cancel the dialog) 4. Open a new tab 5. Open a new window 6. Load data:application/json,[1,2,3] 7. Click Save button Result: - The whole browser crashes https://crash-stats.mozilla.com/report/index/5568c8ab-597b-42c1-866a-9fba80170531 # Variant 2 Like variant 1, but skip step 4. Result: - The tab in the old window crashes https://crash-stats.mozilla.com/report/index/4bba79eb-cf16-47ea-a5bb-b62700170531 - Save dialog does not open - The browser console shows this error: NS_ERROR_FAILURE: saveBrowser failed asynchronously in startPersistence # Variant 3 Like variant 1 or 2, but without e10s. Result: - No crash :) - Save dialog does not open - The browser console shows this error: NS_ERROR_FAILURE: saveBrowser failed asynchronously in startPersistence I guess I shouldn't have tried to reuse the same window in bug 1327784, but a crash is surprising.
Assignee | ||
Comment 1•7 years ago
|
||
Small fix, seems to fix the problem. I attempted to load contentAreaUtils in converter-child.js and save there. I managed to get the save dialog, but then it didn't save. So meanwhile, this patch is better.
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
Attachment #8873190 -
Flags: review?(odvarko)
Assignee | ||
Comment 2•7 years ago
|
||
The underlying issue behind the crash is bug 1369246, but the JSON Viewer needs to be fixed in order to be able to save in the cases described in comment 0.
Assignee | ||
Comment 3•7 years ago
|
||
While I'm at it, removing some unused code leftover after bug 1327784.
Attachment #8873190 -
Attachment is obsolete: true
Attachment #8873190 -
Flags: review?(odvarko)
Attachment #8873407 -
Flags: review?(odvarko)
Comment 4•7 years ago
|
||
Comment on attachment 8873407 [details] [diff] [review] json-save-fixcrash-v2.patch Review of attachment 8873407 [details] [diff] [review]: ----------------------------------------------------------------- Fixes the problem, thanks! R+ Honza
Attachment #8873407 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/5f83e3e0c2ed Do not reuse the chrome window when saving in JSON Viewer. r=Honza
Keywords: checkin-needed
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5f83e3e0c2ed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•