browser/components/places/tests/browser/browser.ini
author Rob Wu <rob@robwu.nl>
Wed, 23 Jan 2019 09:54:36 +0000
changeset 515084 10b57d0ee380c486e5d5e5a22b54f9d9da572577
parent 509689 a95415be71a3bf7d92d0a6f7d5722fbaaba5e048
child 522348 7faa9b2768ed41c88088b9ecd58b89fb0101a5cd
permissions -rw-r--r--
Bug 1520047 - Fix memory leak in places trees r=mak The places-tree destructor lacks a `result.removeObserver(this.view);` call before the assignment to `result.root.containerOpen`, which is causing a memory leak. This patch fixes the leak by removing the `result.root.containerOpen` assignment, since the correct logic already exists in the `setTree` method of `PlacesTreeView`, which is called upon `this.view = null;` (XULTreeElement::SetView -> nsTreeBodyFrame::SetView -> setTree). Differential Revision: https://phabricator.services.mozilla.com/D17241

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

[DEFAULT]
support-files =
  head.js
  framedPage.html
  frameLeft.html
  frameRight.html
  sidebarpanels_click_test_page.html
  keyword_form.html

[browser_addBookmarkForFrame.js]
skip-if = (verify && debug)
[browser_bookmark_add_tags.js]
[browser_bookmark_backup_export_import.js]
[browser_bookmark_change_location.js]
[browser_bookmark_folder_moveability.js]
[browser_bookmark_private_window.js]
skip-if = (verify && debug && (os == 'win' || os == 'mac'))
[browser_bookmark_remove_tags.js]
[browser_bookmarklet_windowOpen.js]
support-files =
  bookmarklet_windowOpen_dummy.html
[browser_bookmarkMenu_hiddenWindow.js]
skip-if = os != 'mac' # Mac-only functionality
[browser_bookmarks_change_title.js]
[browser_bookmarks_sidebar_search.js]
support-files =
  pageopeningwindow.html
[browser_bookmarkProperties_addFolderDefaultButton.js]
[browser_bookmarkProperties_addKeywordForThisSearch.js]
skip-if = (verify && debug)
[browser_bookmarkProperties_bookmarkAllTabs.js]
skip-if = (verify && debug && (os == 'win' || os == 'mac'))
[browser_bookmarkProperties_cancel.js]
[browser_bookmarkProperties_editFolder.js]
[browser_bookmarkProperties_editTagContainer.js]
[browser_bookmarkProperties_folderSelection.js]
[browser_bookmarkProperties_no_user_actions.js]
[browser_bookmarkProperties_newFolder.js]
[browser_bookmarkProperties_readOnlyRoot.js]
[browser_bookmarkProperties_remember_folders.js]
[browser_bookmarksProperties.js]
skip-if = (verify && debug && (os == 'win' || os == 'mac'))
[browser_check_correct_controllers.js]
[browser_click_bookmarks_on_toolbar.js]
[browser_controller_onDrop_sidebar.js]
[browser_controller_onDrop_tagFolder.js]
[browser_controller_onDrop.js]
[browser_copy_query_without_tree.js]
subsuite = clipboard
[browser_cutting_bookmarks.js]
subsuite = clipboard
[browser_drag_bookmarks_on_toolbar.js]
[browser_enable_toolbar_sidebar.js]
skip-if = (verify && debug && (os == 'mac' || os == 'linux'))
[browser_forgetthissite_single.js]
[browser_history_sidebar_search.js]
[browser_library_commands.js]
[browser_library_delete_bookmarks_in_tags.js]
[browser_library_delete_tags.js]
[browser_library_delete.js]
[browser_library_downloads.js]
[browser_library_left_pane_middleclick.js]
[browser_library_left_pane_select_hierarchy.js]
[browser_library_middleclick.js]
[browser_library_new_bookmark.js]
[browser_library_open_leak.js]
[browser_library_openFlatContainer.js]
[browser_library_open_bookmark.js]
[browser_library_panel_leak.js]
[browser_library_search.js]
[browser_library_tree_leak.js]
[browser_library_views_liveupdate.js]
[browser_library_warnOnOpen.js]
[browser_markPageAsFollowedLink.js]
[browser_panelview_bookmarks_delete.js]
[browser_paste_bookmarks.js]
subsuite = clipboard
[browser_paste_into_tags.js]
[browser_paste_resets_cut_highlights.js]
subsuite = clipboard
[browser_remove_bookmarks.js]
subsuite = clipboard
[browser_sidebar_open_bookmarks.js]
[browser_sidebarpanels_click.js]
skip-if = (os == "mac" && debug) # Bug 1467049
[browser_sort_in_library.js]
[browser_stayopenmenu.js]
[browser_toolbar_drop_text.js]
[browser_toolbar_library_open_recent.js]
[browser_toolbar_overflow.js]
skip-if = os == "linux" && bits == 32 && debug # bug 1463443
[browser_toolbarbutton_menu_context.js]
[browser_views_iconsupdate.js]
skip-if = verify
[browser_bug485100-change-case-loses-tag.js]
[browser_editBookmark_tags_liveUpdate.js]
[browser_bug427633_no_newfolder_if_noip.js]
[browser_editBookmark_keywords.js]
[browser_bug631374_tags_selector_scroll.js]
support-files =
  favicon-normal16.png
[browser_views_liveupdate.js]
[browser_bookmark_all_tabs.js]
skip-if = (verify && debug && (os == 'linux'))
support-files =
  bookmark_dummy_1.html
  bookmark_dummy_2.html
[browser_drag_folder_on_newTab.js]