| <!DOCTYPE html> | |
| <script> | |
| 'use strict' | |
| // Sends true to its creator iff storageFoundation is not null. | |
| function post_message(data) { | |
| if (window.parent !== null) { | |
| window.parent.postMessage(data, { targetOrigin: '*' }); | |
| } | |
| if (window.opener !== null) { | |
| window.opener.postMessage(data, { targetOrigin: '*' }); | |
| } | |
| } | |
| const is_interface_defined = (storageFoundation !== null); | |
| post_message(is_interface_defined); | |
| </script> |