Confirmed users
839
edits
No edit summary |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 48: | Line 48: | ||
= Mochitest = | = Mochitest = | ||
Pass. | |||
== Remaining large-ish items == | == Remaining large-ish items == | ||
Line 55: | Line 55: | ||
* document.domain (we currently don't revoke access to the document's original domain, we probably should do that). | * document.domain (we currently don't revoke access to the document's original domain, we probably should do that). | ||
* Error hacks? | * Error hacks? | ||
* Fix error messages for property access denied. Old message included two origins, new one doesn't, and it looks like we're not using any of the localization that the old message had. Error console should show both origins, exception message probably (?) shouldn't. | * Fix error messages for property access denied. Old message included two origins, new one doesn't, and it looks like we're not using any of the localization that the old message had. Error console should show both origins, exception message probably (?) shouldn't. | ||
* Confirm that the fix in docshell/test/chrome/test_bug454235.xul is appropriate. | * Confirm that the fix in docshell/test/chrome/test_bug454235.xul is appropriate. | ||
Line 76: | Line 75: | ||
<pre> | <pre> | ||
</pre> | </pre> | ||
Line 82: | Line 80: | ||
<pre> | <pre> | ||
</pre> | </pre> | ||
= Mochichrome = | = Mochichrome = | ||
<pre> | |||
</pre> | |||
chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | ||
Line 124: | Line 109: | ||
7269 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | iwin.eval does not throw an exception | 7269 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | iwin.eval does not throw an exception | ||
iwin.eval("'PASS'") | iwin.eval("'PASS'") is supposed to succeed, but iwin.eval is undefined. | ||
iwin.eval is undefined. | |||
7271 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | Unable to wrap a primitive, even without 'new' | 7271 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | Unable to wrap a primitive, even without 'new' | ||
Line 134: | Line 117: | ||
7276 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | XPCNativeWrappers allow expandos through | 7276 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | XPCNativeWrappers allow expandos through | ||
7284 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | delete doesn't delete underlying properties - got undefined, expected 5 | |||
let iwin = $('ifr').contentWindow; | let iwin = $('ifr').contentWindow; | ||
let (w = new XPCNativeWrapper($('ifr').contentWindow)) { | let (w = new XPCNativeWrapper($('ifr').contentWindow)) { | ||
w.foopybar = 5; | w.foopybar = 5; | ||
ok(!("foopybar" in iwin), "XPCNativeWrappers allow expandos through"); | ok(!("foopybar" in iwin), "XPCNativeWrappers allow expandos through"); | ||
... | ... | ||
iwin.foopy = 5; | iwin.foopy = 5; | ||
Line 150: | Line 127: | ||
is(iwin.foopy, 5, "delete doesn't delete underlying properties"); | is(iwin.foopy, 5, "delete doesn't delete underlying properties"); | ||
We create an explicit XPCNativeWrapper ''w'' around ''iwin'', a wrapper of an outer window. Expandos of ''w'' must not affect ''iwin'' and vice versa. | |||
I think the basic story here is "there are no same-compartment X-ray wrappers". | |||
7288 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | allowed to update iwin.__proto__ to null - got [], expected null | 7288 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/chrome/js/src/xpconnect/tests/chrome/test_wrappers-2.xul | allowed to update iwin.__proto__ to null - got [], expected null | ||
Line 164: | Line 141: | ||
-jorendorff, 10/5/2010 | -jorendorff, 10/5/2010 | ||
= Browserchrome = | = Browserchrome = | ||
Pass. | |||
= make check = | = make check = | ||
Pass. | |||
= make jstestbrowser (jsreftest) = | = make jstestbrowser (jsreftest) = | ||
Pass. | |||