Closed Bug 670855 Opened 13 years ago Closed 7 years ago

browser_sidebarpanels_click.js causes many exceptions in PlacesUtils.jsm and treeView.js

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 658744

People

(Reporter: heycam, Unassigned)

References

(Blocks 1 open bug)

Details

If I make uncaught exceptions in browser-chrome mochitests cause test failures, browser_sidebarpanels_click.js fails as follows (I ran this copied output through uniq before pasting it, reducing the number of lines to 1/6): TEST-START | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Running Bookmarks sidebar test in LTR mode TEST-PASS | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | The test node should be successfully selected before 532480, after 528384, break 0988a000 TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | alert dialog observed as expected TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Running Bookmarks sidebar test in RTL mode TEST-PASS | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | The test node should be successfully selected NEXT ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: parent is null at chrome://browser/content/places/treeView.js:267 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: parent is null at chrome://browser/content/places/treeView.js:267 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "aNode is null" {file: "resource://gre/modules/PlacesUtils.jsm" line: 250}] TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "parent is null" {file: "chrome://browser/content/places/treeView.js" line: 267}] Skipping 37 Lines... TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "parent is null" {file: "chrome://browser/content/places/treeView.js" line: 267}] TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "aNode is null" {file: "resource://gre/modules/PlacesUtils.jsm" line: 250}] NEXT ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: parent is null at chrome://browser/content/places/treeView.js:267 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: parent is null at chrome://browser/content/places/treeView.js:267 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "parent is null" {file: "chrome://browser/content/places/treeView.js" line: 267}] TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "aNode is null" {file: "resource://gre/modules/PlacesUtils.jsm" line: 250}] TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | alert dialog observed as expected NEXT ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: parent is null at chrome://browser/content/places/treeView.js:267 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | [SimpleTest/SimpleTest.js, window.onerror] - An error occurred: aNode is null at resource://gre/modules/PlacesUtils.jsm:250 TEST-INFO | chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebarpanels_click.js | Console message: [JavaScript Error: "aNode is null" {file: "resource://gre/modules/PlacesUtils.jsm" line: 250}] ...
Blocks: 702050
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.