Title: [201427] trunk/LayoutTests
- Revision
- 201427
- Author
- [email protected]
- Date
- 2016-05-26 12:29:02 -0700 (Thu, 26 May 2016)
Log Message
Sites served over insecure connections should not be allowed to use geolocation.
https://bugs.webkit.org/show_bug.cgi?id=157423
<rdar://problem/23751632>
Patch by Pranjal Jumde <[email protected]> on 2016-05-26
Reviewed by Brent Fulgham.
Add missing test content from r201423.
* http/tests/security/resources/geolocation-over-insecure-content.html: Added.
* http/tests/security/resources/geolocation-over-mixed-content-block.html: Added.
* http/tests/security/resources/geolocation-over-mixed-content.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (201426 => 201427)
--- trunk/LayoutTests/ChangeLog 2016-05-26 19:12:37 UTC (rev 201426)
+++ trunk/LayoutTests/ChangeLog 2016-05-26 19:29:02 UTC (rev 201427)
@@ -1,3 +1,17 @@
+2016-05-26 Pranjal Jumde <[email protected]>
+
+ Sites served over insecure connections should not be allowed to use geolocation.
+ https://bugs.webkit.org/show_bug.cgi?id=157423
+ <rdar://problem/23751632>
+
+ Reviewed by Brent Fulgham.
+
+ Add missing test content from r201423.
+
+ * http/tests/security/resources/geolocation-over-insecure-content.html: Added.
+ * http/tests/security/resources/geolocation-over-mixed-content-block.html: Added.
+ * http/tests/security/resources/geolocation-over-mixed-content.html: Added.
+
2016-05-26 Per Arne Vollan <[email protected]>
[Win] Update test expectation for imported blink test.
Added: trunk/LayoutTests/http/tests/security/resources/geolocation-over-insecure-content.html (0 => 201427)
--- trunk/LayoutTests/http/tests/security/resources/geolocation-over-insecure-content.html (rev 0)
+++ trunk/LayoutTests/http/tests/security/resources/geolocation-over-insecure-content.html 2016-05-26 19:29:02 UTC (rev 201427)
@@ -0,0 +1,14 @@
+<body _onload_="loaded()">
+ <script>
+ if (navigator.geolocation) {
+ navigator.geolocation.getCurrentPosition(showPosition);
+ }
+ function showPosition(position) {
+ console.log("Latitude: " + position.coords.latitude + "Longitude: " + position.coords.longitude);
+ }
+ function loaded() {
+ if (window.opener)
+ window.opener.postMessage('done', '*');
+ }
+ </script>
+</body>
Added: trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content-block.html (0 => 201427)
--- trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content-block.html (rev 0)
+++ trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content-block.html 2016-05-26 19:29:02 UTC (rev 201427)
@@ -0,0 +1,15 @@
+<body _onload_="loaded()">
+ <script>
+ if (navigator.geolocation) {
+ navigator.geolocation.getCurrentPosition(showPosition);
+ }
+ function showPosition(position) {
+ console.log("Latitude: " + position.coords.latitude + "Longitude: " + position.coords.longitude);
+ }
+ function loaded() {
+ if (window.opener)
+ window.opener.postMessage('done', '*');
+ }
+ </script>
+ <img src=""
+</body>
Added: trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content.html (0 => 201427)
--- trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content.html (rev 0)
+++ trunk/LayoutTests/http/tests/security/resources/geolocation-over-mixed-content.html 2016-05-26 19:29:02 UTC (rev 201427)
@@ -0,0 +1,15 @@
+<body _onload_="loaded()">
+ <img src=""
+ <script>
+ if (navigator.geolocation) {
+ navigator.geolocation.getCurrentPosition(showPosition);
+ }
+ function showPosition(position) {
+ console.log("Latitude: " + position.coords.latitude + "Longitude: " + position.coords.longitude);
+ }
+ function loaded() {
+ if (window.opener)
+ window.opener.postMessage('done', '*');
+ }
+ </script>
+</body>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes