diff options
Diffstat (limited to 'browser/components/search/test/webapi.html')
-rw-r--r-- | browser/components/search/test/webapi.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/browser/components/search/test/webapi.html b/browser/components/search/test/webapi.html new file mode 100644 index 000000000..1ef38b895 --- /dev/null +++ b/browser/components/search/test/webapi.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> + +<html> +<head> +<script> +function installEngine() { + var query = window.location.search.substring(1); + var args = JSON.parse(decodeURIComponent(query)); + + window.external.AddSearchProvider(...args); +} +</script> +</head> +<body onload="installEngine()"> +</body> +</html> |