support for shadow memory in the "inbrowser" mode