| <!-- |
| @AURALINUX-DENY:STATE-CHANGE:DEFUNCT:TRUE* |
| @AURALINUX-DENY:CHILDREN-CHANGED:* |
| # Deflake -- load start can be in same serialization as the load complete. |
| # The load start is fired as a state-change:busy:true. However, if it occurs |
| # in the same serialization as load complete, busy will already be false. |
| # In any case, the load-complete event is the important event for Linux/ATK. |
| @AURALINUX-DENY:STATE-CHANGE:BUSY:TRUE* |
| --> |
| <!DOCTYPE html> |
| <html> |
| <head><title>Outer Document</title></head> |
| <body> |
| <iframe id="iframe"></iframe> |
| <script> |
| var go_passes = [ |
| () => document.getElementById("iframe").srcdoc = |
| "<head><title>Inner Document 1</title></head><body>foo</body>", |
| () => document.getElementById("iframe").srcdoc = |
| "<head><title>Inner Document 2</title></head><body>bar</body>", |
| ]; |
| |
| var current_pass = 0; |
| function go() { |
| go_passes[current_pass++].call(); |
| return current_pass < go_passes.length; |
| } |
| </script> |
| </body> |
| </html> |