Title: [221194] trunk/LayoutTests
- Revision
- 221194
- Author
- [email protected]
- Date
- 2017-08-25 10:31:35 -0700 (Fri, 25 Aug 2017)
Log Message
Add flag allow-modals to iframe sandbox
https://bugs.webkit.org/show_bug.cgi?id=171321
Patch by Frederic Wang <[email protected]> on 2017-07-25
Reviewed by Brent Fulgham.
The allow-modals flag is added to tests trying to open modal dialogs in sandboxed frames, now
that the default behavior has changed. New tests are also added to verify that the dialogs
are allowed or blocked according to the value of the allow-modals flag.
* fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame.html: Add allow-modals.
* fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2.html: Ditto.
* fast/forms/autofocus-in-sandbox-with-allow-scripts.html: Ditto.
* fast/frames/sandboxed-iframe-navigation-top-by-name-denied.html: Ditto.
* fast/frames/sandboxed-iframe-parsing-space-characters.html: Ditto.
* fast/frames/sandboxed-iframe-scripting-02.html: Ditto.
* http/tests/security/contentSecurityPolicy/resources/sandboxed-eval.php: Ditto.
* http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header-control.html: Ditto.
* http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html: Ditto.
* http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header2.php: Ditto.
* http/tests/security/drag-drop-same-unique-origin.html: Ditto.
* http/tests/security/no-indexeddb-from-sandbox.html: Ditto.
* http/tests/security/no-popup-from-sandbox-top.html: Ditto.
* http/tests/security/no-popup-from-sandbox.html: Ditto.
* http/tests/security/popup-allowed-by-sandbox-is-sandboxed-control.html: Ditto.
* http/tests/security/popup-allowed-by-sandbox-when-allowed.html: Ditto.
* http/tests/security/xss-DENIED-window-name-alert.html: Ditto.
* http/tests/security/sandboxed-iframe-ALLOWED-modals.html: Added. Verify that alert,
confirm, prompt and print dialogs are allowed when the allow-modals flag is set.
* http/tests/security/sandboxed-iframe-ALLOWED-modals-expected.txt: Added.
* http/tests/security/sandboxed-iframe-DENIED-modals.html: Added. Verify that alert,
confirm, prompt and print dialogs are denied when the allow-modals flag not set. The returned
values are also verified.
* http/tests/security/sandboxed-iframe-DENIED-modals-expected.txt: Added.
* http/tests/misc/iframe-beforeunload-dialog-allow-modals.html: Added. Verify that the
confirm dialog for beforeunload is displayed when allow-modals is set.
* http/tests/misc/iframe-beforeunload-dialog-allow-modals-expected.txt: Added.
* http/tests/misc/iframe-beforeunload-dialog-block-modals.html: Added. Verify that the
confirm dialog for beforeunload is not displayed when allow-modals is unset.
* http/tests/misc/iframe-beforeunload-dialog-block-modals-expected.txt: Added.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (221193 => 221194)
--- trunk/LayoutTests/ChangeLog 2017-08-25 17:28:53 UTC (rev 221193)
+++ trunk/LayoutTests/ChangeLog 2017-08-25 17:31:35 UTC (rev 221194)
@@ -42,6 +42,18 @@
2017-08-25 Jonathan Bedard <[email protected]>
+ Moving iOS 11 test expectations
+ <rdar://problem/31587826>
+
+ Unreviewed test gardening.
+
+ These iOS 11 test expectations were for Simulator, but on-device
+ testing has the same failures.
+
+ * platform/ios-11/TestExpectations:
+
+2017-08-25 Jonathan Bedard <[email protected]>
+
Manage tests which require different device types better
<https://bugs.webkit.org/show_bug.cgi?id=175987>
<rdar://problem/34082632>
Modified: trunk/LayoutTests/platform/ios-11/TestExpectations (221193 => 221194)
--- trunk/LayoutTests/platform/ios-11/TestExpectations 2017-08-25 17:28:53 UTC (rev 221193)
+++ trunk/LayoutTests/platform/ios-11/TestExpectations 2017-08-25 17:31:35 UTC (rev 221194)
@@ -123,3 +123,23 @@
imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.html [ Failure ]
imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker.html [ Failure ]
imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type.html [ Failure ]
+
+# <rdar://problem/33602192> Text rendering issues in iOS 11
+fast/text/international/complex-character-based-fallback.html [ Failure ]
+
+# <rdar://problem/33250084> Text rendering issues in iOS 11
+fast/writing-mode/border-vertical-lr.html [ Failure ]
+fast/writing-mode/japanese-lr-text.html [ Failure ]
+fast/writing-mode/japanese-rl-text.html [ Failure ]
+fast/writing-mode/japanese-ruby-horizontal-bt.html [ Failure ]
+fast/writing-mode/japanese-ruby-vertical-lr.html [ Failure ]
+fast/writing-mode/japanese-ruby-vertical-rl.html [ Failure ]
+fast/writing-mode/vertical-align-table-baseline.html [ Failure ]
+fast/writing-mode/vertical-baseline-alignment.html [ Failure ]
+
+# <rdar://problem/33630526> http/tests/websocket/tests/hybi/deflate-frame-parameter.html is failing on iOS 11
+http/tests/websocket/tests/hybi/deflate-frame-parameter.html [ Failure ]
+
+# <rdar://problem/33630063> Multiple platform/ios/ios/fast/text/ are failing on iOS 11.
+platform/ios/ios/fast/text/opticalFontWithTextStyle.html [ Failure ]
+platform/ios/ios/fast/text/opticalFontWithWeight.html [ Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes