Hi folks,

I am writing test case to test the oop flow of some APIs with marionette. I try to implement this by opening a remote iframe (like what we do in mochitest) in a script and execute the real test script in the remote iframe, but I meet some problem: 1. test scripts cannot be stored in a separate file, because marionette client only pushes the script that opens the iframe to emulator, the real test script is not accessible if it is in another file. 2. the iframe didn't grant permission to use some API (navigator.mobileconnection for example).

Dose anyone know what is the right way to write oop tests in marionette test?

Thanks,
Patrick
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to