From 14b4bd8ac60280968334f0188bd6080957156925 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Wed, 4 Sep 2019 00:30:20 +0200 Subject: [PATCH] Improved test pages For #390 --- test/audioTest.html | 4 ++-- test/dataUrlTest.php | 26 +++++++++++++++++++------- test/domRectTest.html | 9 ++++++++- test/iframeTest.html | 5 ++++- test/index.html | 4 +++- test/navigatorTest.php | 9 ++++++++- test/performanceTest.html | 2 +- test/settingsLoading.php | 32 +++++++++++++++++++++++--------- test/test.html | 26 ++++++++++++++++++-------- test/webGL-Test.js | 2 +- 10 files changed, 87 insertions(+), 32 deletions(-) diff --git a/test/audioTest.html b/test/audioTest.html index 7a88b0d..9c4663b 100644 --- a/test/audioTest.html +++ b/test/audioTest.html @@ -19,7 +19,7 @@

Audio test

-Expected result: +

Expected result

- +

Tests

Hashes:
Sum: diff --git a/test/dataUrlTest.php b/test/dataUrlTest.php index 282dc51..37e4895 100644 --- a/test/dataUrlTest.php +++ b/test/dataUrlTest.php @@ -1,7 +1,10 @@ - data-URL Test + Data-URL Test + + + +

Settings loading test

+

Expected result

+ +

Test

+
\ No newline at end of file diff --git a/test/test.html b/test/test.html index ee11d49..d3dcd01 100644 --- a/test/test.html +++ b/test/test.html @@ -2,20 +2,30 @@ - Test + Canvas test +

Canvas test

+

Expected result

+ +

Tests

-

top Test

+

top Test


Hash: (isPointInPath: )
-

iFrame Test. Thanks to DocumentRoot.

+

iFrame Test. Thanks to DocumentRoot.


Hash: (isPointInPath: ) @@ -23,7 +33,7 @@
-

iFrame Test 2 - with URL

+

iFrame Test 2 - with URL


Hash: (isPointInPath: ) @@ -31,26 +41,26 @@
-

iFrame Test 3 - violating SOP

+

iFrame Test 3 - violating SOP


Hash: (isPointInPath: )
-

iFrame Test 4 - different access 1

+

iFrame Test 4 - different access 1


Hash: (isPointInPath: )
-

iFrame Test 5 - different access 2

+

iFrame Test 5 - different access 2


Hash: (isPointInPath: )
-

iFrame Test 6 - different access 3

+

iFrame Test 6 - different access 3


Hash: (isPointInPath: ) diff --git a/test/webGL-Test.js b/test/webGL-Test.js index d580292..e3ab7ea 100644 --- a/test/webGL-Test.js +++ b/test/webGL-Test.js @@ -23,7 +23,7 @@ max = Math.max(max, values[pixels[i]]); } - output.textContent = context + ": " + (max !== 3 * values[255]? "": "not ") + "faked"; + output.textContent = context + ": " + (max !== 3 * values[255]? "": "not ") + "supported"; output.title = JSON.stringify(values); } catch (e){