Closed
Bug 403641
Opened 17 years ago
Closed 17 years ago
hitting escape doesn't save changes to the bookmark title [was: Dismissing the Bookmark pop-up without bookmarking - JS Console error]
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3 beta2
People
(Reporter: jmjjeffery, Assigned: florian)
References
Details
Attachments
(1 file)
1.61 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2pre) Gecko/2007111309 Minefield/3.0b2pre Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2pre) Gecko/2007111309 Minefield/3.0b2pre Firefox/3.0
Using Bookmark this page with Ctrl+D, or from the right-click context menu, and then deciding you don't want to bookmark, and click outside the dialog box is showing an error in JS console2:
Error: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavBookmarksService.getItemTitle]
Source file: chrome://browser/content/places/editBookmarkOverlay.js
Line: 297
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
Error in Error Console2
Expected Results:
No errors
Latest hourly build on Vista HP
Most likely due to checkin of:
https://bugzilla.mozilla.org/show_bug.cgi?id=398409
Reporter | ||
Updated•17 years ago
|
Version: unspecified → Trunk
Reporter | ||
Updated•17 years ago
|
Summary: Dismissing the Bookmark pop-up without bookmarking - JS Coonsole error → Dismissing the Bookmark pop-up without bookmarking - JS Console error
Reporter | ||
Comment 1•17 years ago
|
||
Might be a seperate issue, but I also note that a bookmark is created even
though you click outside the dialog box.
Looking at the Bookmarks drop list from the Menu-bar and finding the bookmark,
right-click and delete the bookmark.
I see in console2:
The one appears twice:
Error: this.selectedNode.parent is null
Source file: chrome://browser/content/places/menu.xml
Line: 463
Error: '[JavaScript Error: "this.selectedNode.parent is null" {file:
"chrome://browser/content/places/menu.xml" line: 463}]' when calling method:
[nsIController::isCommandEnabled] = NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS
Source file: chrome://browser/content/places/controller.js
Line: 1644
Assignee | ||
Comment 2•17 years ago
|
||
(In reply to comment #0)
> Error: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
> [nsINavBookmarksService.getItemTitle]
> Source file: chrome://browser/content/places/editBookmarkOverlay.js
> Line: 297
>
> Most likely due to checkin of:
> https://bugzilla.mozilla.org/show_bug.cgi?id=398409
>
This error was already there before.
Mano, do you know if there was already a bug # for this error when closing the bookmark popup? I couldn't find it.
(In reply to comment #1)
> Might be a seperate issue, but I also note that a bookmark is created even
> though you click outside the dialog box.
See bug 396513 for a related issue.
Assignee | ||
Comment 3•17 years ago
|
||
So the problem here is that onblur on the title field is fired after onpopuphiding on the bookmark popup. Moving the uninitialization of the panel to the popuphidden event fixes the bug.
Assignee: nobody → florian
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #288580 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
OS: Windows Vista → All
Hardware: PC → All
Updated•17 years ago
|
Component: Bookmarks → Places
QA Contact: bookmarks → places
Comment 5•17 years ago
|
||
morphing bug
steps:
1) go to google.com
2) click the star button, twice, first to bookmark, second to edit
3) change the title, but before you do anything else, while the title text box still has focus, hit escape
the panel will close, but the title will not change.
Flags: blocking-firefox3?
Summary: Dismissing the Bookmark pop-up without bookmarking - JS Console error → hitting escape doesn't save changes to the bookmark title [was: Dismissing the Bookmark pop-up without bookmarking - JS Console error]
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Target Milestone: --- → Firefox 3 M10
Comment 6•17 years ago
|
||
Comment on attachment 288580 [details] [diff] [review]
patch v1
r=mano
Attachment #288580 -
Flags: review?(mano) → review+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 7•17 years ago
|
||
Checking in browser/base/content/browser-places.js;
/cvsroot/mozilla/browser/base/content/browser-places.js,v <-- browser-places.js
new revision: 1.64; previous revision: 1.63
done
Comment 8•17 years ago
|
||
verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007112604 Minefield/3.0b2pre
Status: RESOLVED → VERIFIED
Comment 9•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•