Platform/JS Compartments Mochitest: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 25: Line 25:
== Chunk 2 ==
== Chunk 2 ==


2 tests failed out of 11614, both in /tests/content/base/test/test_bug461735.html
pass
 
== Chunk 3 ==
== Chunk 3 ==



Revision as of 23:22, 28 September 2010

This page is a tracking page for getting the JS compartments work to pass xpcshell tests and Mochitests and other automated test suites.

xpcshell

default compartment leaks

bug 599761 (_newJSDContext), jst is fixing, gal will review and then we land on TM

bug 599762 (js::ctypes::CClosure::ClosureStub), patch in bug, tryservering

bug 600022 (XPCShellEnvironment::Init()), patch in bug, tryservering

bug 600032 (JetpackChild::Init()), patch in bug, tryservering

bug 600173 (atoms should always be in the default compartment), patch in bug

Mochitest

Run with python runtests.py --total-chunks=20 --this-chunk=n --autorun --debugger=gdb where n is the chunk you want to examine.

Chunk 1

pass, 22848 tests

Chunk 2

pass

Chunk 3

2 tests failed out of 14582

 /tests/content/html/content/test/test_bug209275.xhtml
 /tests/content/html/content/test/test_bug582412-2.html

Chunk 4

pass, 19244 tests

Chunk 5

12 failures, doesn't complete, got through 865 tests, lots of windows left open

 /tests/docshell/test/navigation/* need help, gets stuck on /tests/docshell/test/navigation/test_sessionhistory.html

pass: /tests/dom/tests/mochitest/ajax fails: tests/dom/tests/mochitest/bugs/test_bug346659.html, /tests/dom/tests/mochitest/bugs/test_bug396843.html, http://mochi.test:8888/tests/dom/tests/mochitest/bugs/test_bug409349.html, http://mochi.test:8888/tests/dom/tests/mochitest/bugs/test_bug440572.html, http://mochi.test:8888/tests/dom/tests/mochitest/bugs/test_bug531176.html, http://mochi.test:8888/tests/dom/tests/mochitest/bugs/test_bug61098.html, http://mochi.test:8888/tests/dom/tests/mochitest/dom-level0/test_setting_document.domain_idn.html (idn failures?),

Chunk 6

127 tests pass, then we hit test_xhrAbort.html, and fail miserably in nsContentUtils::ReparentClonedObjectToScope(). (bent?)

Chunk 7

pass, 177 tests

Chunk 8

pass, 346 tests

Chunk 9

pass, per peterv.

Chunk 10

pass, per peterv.

Chunk 11

pass, per peterv.

Chunk 12

pass, per peterv.

Chunk 13

pass, per peterv.

Chunk 14

pass, per peterv.

Chunk 15

pass, per peterv.

Chunk 16

  • 344 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_frameElementWrapping.html | wrapper needed if not same origin
  • 1907 INFO TEST-START | /tests/dom/tests/mochitest/localstorage/test_localStorageOriginsDiff.html
    Compartment mismatch 0x105d5cc00 vs. 0x10640ec00
    Assertion failure: compartment mismatched, at /src/mozilla/tracemonkey/js/src/jscntxtinlines.h:515

Chunk 17

pass, 573 tests (sloooooooooow to run)

Chunk 18

test_bug377624.html and test_bug36619.html disabled in layout/form/tests/, uses Cu.import(). Still running...

Chunk 19

2 tests failed out of 89228

/tests/modules/plugin/test/test_painting.html

Chunk 20