Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

545 B
Raw Blame
use super::*;

#[test]
fn shell_video_codecs_preserves_native_identity_and_callee_error_realms() {
    for url in [
        "https://shell-interfaces.test/",
        "http://shell-interfaces.test/",
        "http://localhost/",
    ] {
        let mut vm = new_storage_page_task_executor_test_vm(url);
        vm.eval("document.body.innerHTML = '<iframe id=child></iframe>'")
            .unwrap();
        assert_eq!(
            vm.eval(include_str!("video_codecs_shell.js")).unwrap(),
            "ok",
            "{url}"
        );
    }
}