Hi, thanks for replying, Andrew.
yeah, i remembered shortly after i sent that why the CSP tests are disabled. They use an observer notification to detect if things are appropriately blocked/allowed which doesn't work properly in an e10s world, AIUI. This doesn't apply to my CSP inline styles tests which uses getComputedStyle() instead to check if styles are blocked/applied. so back to trying to get my test to run in the emulator ! pushing to try doesn't give me enough info about what's going wrong unfortunately. thanks for the help ! ian ----- Original Message ----- From: "Andrew Halberstadt" <[email protected]> To: [email protected] Sent: Thursday, March 28, 2013 8:30:51 AM Subject: Re: [b2g] running mochitests in B2G desktop build I'm not sure why you're getting that error, but don't assume that if the CSP tests are disabled it's because they are supposed to be. Likely the only reason they're disabled was that they originally failed and we didn't know why. If you do get your test to run, and it fails, maybe the cause would be more apparent to you and we could turn all the CSP tests back on. As for trying the test out, maybe you could do a push to try? (try: -b o -p ics_armv7a_gecko -u mochitest -t none) Cheers, Andrew On 03/28/2013 11:00 AM, Ian Melven wrote: > > following up to myself, i realized from looking at b2g.json that the other > CSP tests are all disabled on B2G, so > my new one likely should be as well anyways. > > thanks, > ian > > ----- Original Message ----- > From: "Ian Melven" <[email protected]> > To: [email protected] > Sent: Wednesday, March 27, 2013 3:13:19 PM > Subject: running mochitests in B2G desktop build > > > Hi all, > > i followed the directions at > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_B2G_desktop_client > and > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Mochitests > to run a mochitest in the B2G desktop build (on linux) for something i'm > trying to land that's having issues > on B2G. > > i'm hitting this error : JavaScript error: > http://mochi.test:8888/tests/content/base/test/test_CSP_inlinestyle.html?autorun=1&closeWhenDone=1&logFile=%2Fhome%2Fimelven%2Fsrc%2Fmozilla-central%2Fobjdir-dbg%2F_tests%2Ftesting%2Fmochitest%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO, > line 23: SimpleTest.waitForExplicitFinish is not a function > > should this be working ? > > thanks, > ian > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
