From d5958a52e0926296765ab407413604f5354f6e99 Mon Sep 17 00:00:00 2001 From: Christoph Kerschbaumer Date: Fri, 3 Nov 2017 13:27:01 +0100 Subject: [PATCH] Bug 1403870: Test toplevel data URI navigation to application/json is allowed. r=smaug --- dom/security/test/general/mochitest.ini | 2 + .../general/test_allow_opening_data_json.html | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dom/security/test/general/test_allow_opening_data_json.html diff --git a/dom/security/test/general/mochitest.ini b/dom/security/test/general/mochitest.ini index 8f69006b4c06..f3bcca0727b4 100644 --- a/dom/security/test/general/mochitest.ini +++ b/dom/security/test/general/mochitest.ini @@ -17,3 +17,5 @@ skip-if = toolkit == 'android' # intermittent failure skip-if = toolkit == 'android' # intermittent failure [test_allow_opening_data_pdf.html] skip-if = toolkit == 'android' +[test_allow_opening_data_json.html] +skip-if = toolkit == 'android' diff --git a/dom/security/test/general/test_allow_opening_data_json.html b/dom/security/test/general/test_allow_opening_data_json.html new file mode 100644 index 000000000000..1530a24e8419 --- /dev/null +++ b/dom/security/test/general/test_allow_opening_data_json.html @@ -0,0 +1,39 @@ + + + + + Bug 1403814: Allow toplevel data URI navigation data:application/json + + + + + + +