Closed
Bug 801982
Opened 12 years ago
Closed 12 years ago
Scratchpad doesn't show confirmation dialog after opening a file
Categories
(DevTools Graveyard :: Scratchpad, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: anton, Assigned: anton)
Details
Attachments
(1 file, 2 obsolete files)
3.06 KB,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
How to reproduce: * Open Scratchpad * Load a new file * Change its contents * Try closing Scratchpad by clicking on X (not a menu item) Expected result: a dialog asking you to save changes. Actual result: Scratchpad closes and your changes are lost.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Heather (correctly) noticed that we don't need _skipClosePrompt at all since window.close doesn't trigger a "close" event. I tested manually and run all Scratchpad tests (on Ubuntu).
Attachment #671694 -
Attachment is obsolete: true
Attachment #671694 -
Flags: review?(fayearthur)
Attachment #672061 -
Flags: review?(fayearthur)
Updated•12 years ago
|
Attachment #672061 -
Flags: review?(fayearthur) → review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0c63519f8e41
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 4•12 years ago
|
||
Backed out for failing scratchpad test on Win XP debug: https://hg.mozilla.org/integration/fx-team/rev/f39343285fc1
Assignee | ||
Updated•12 years ago
|
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 5•12 years ago
|
||
Updated patch to prevent potential race condition when testing |Scratchpad.onClose|. This method now accepts an optional callback, just like |Scratchpad.close|. Try build for this patch: https://tbpl.mozilla.org/?tree=Try&rev=f5a74664ba5f (no related oranges).
Attachment #672061 -
Attachment is obsolete: true
Attachment #672879 -
Flags: review?(fayearthur)
Comment 6•12 years ago
|
||
Comment on attachment 672879 [details] [diff] [review] Removed all _skipClosePrompt instances and added a regression test Looks good, I like the code removal.
Attachment #672879 -
Flags: review?(fayearthur) → review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Comment 7•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/4067355bbc56
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4067355bbc56
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•