summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorculler <culler>2019-03-04 14:47:34 (GMT)
committerculler <culler>2019-03-04 14:47:34 (GMT)
commitb3fab43c803e6cf64fd5b33e58e27d0c9b7b5936 (patch)
tree3127894724aca49c5ee0b8c41b4aee6bc9e9e101 /tests
parent5b5253e31d9f4612d08e0eca74c799c2f75b1784 (diff)
parentff204cc30af52bf00260514cc8998da8de614f5c (diff)
downloadtk-b3fab43c803e6cf64fd5b33e58e27d0c9b7b5936.zip
tk-b3fab43c803e6cf64fd5b33e58e27d0c9b7b5936.tar.gz
tk-b3fab43c803e6cf64fd5b33e58e27d0c9b7b5936.tar.bz2
Disallow transient/master cycles. Fix bgerror for Aqua to avoid hangs when an error occurs in an idle task run by [NSView drawRect].
Diffstat (limited to 'tests')
-rw-r--r--tests/wm.test14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test
index af37c80..df8d325 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -1640,14 +1640,24 @@ test wm-transient-1.7 {usage} -returnCodes error -body {
wm transient .master .master
} -cleanup {
deleteWindows
-} -result {can't make ".master" its own master}
+} -result {setting ".master" as master creates a transient/master cycle}
test wm-transient-1.8 {usage} -returnCodes error -body {
+ toplevel .t1
+ toplevel .t2
+ toplevel .t3
+ wm transient .t2 .t1
+ wm transient .t3 .t2
+ wm transient .t1 .t3
+} -cleanup {
+ deleteWindows
+} -result {setting ".t3" as master creates a transient/master cycle}
+test wm-transient-1.9 {usage} -returnCodes error -body {
toplevel .master
frame .master.f
wm transient .master .master.f
} -cleanup {
deleteWindows
-} -result {can't make ".master" its own master}
+} -result {setting ".master" as master creates a transient/master cycle}
test wm-transient-2.1 {basic get/set of master} -setup {
set results [list]