Closed Bug 1194534 Opened 4 years ago Closed 11 months ago

Make test_cocoa_focus.html pass in e10s

Categories

(Core :: Plug-ins, defect, P2)

Unspecified
macOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
e10s + ---
firefox47 --- ?
firefox48 --- ?
firefox49 --- affected

People

(Reporter: mrbkap, Assigned: mrbkap)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The two tests in the summary currently fail on try:


    Result: busted
    open raw log
    show successful steps

Job 	OS X 10.6 opt Mochitest Mochitest M(3)
Machine 	t-snow-r4-0026
Start 	Thu Aug 6, 15:03:26
End 	Thu Aug 6, 17:03:28
Revision 	6c7e57df7c7f
script_revlink: 	https://hg.mozilla.org/build/mozharness/rev/production 	
11. '/tools/buildbot/bin/python scripts/scripts/desktop_unittest.py ...' failed 2h 72ms
1985 15:06:09 INFO - 137 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_focus.html | (5) Plugin should still have focus. - got false, expected true
1992 15:06:09 INFO - 138 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 3 - got 4, expected 3
2009 15:11:26 INFO - 148 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Test timed out.
2034 15:11:27 INFO - 149 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - got 1, expected +0
2068 15:11:30 INFO - 152 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - Result logged after SimpleTest.finish()
2162 15:13:50 INFO - 205 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_painting.html | partially clipped plugin painted once (expected 1 independent paints, expected 2 logged paints, got 1 actual paints)
2182 15:13:51 INFO - 207 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_painting.html | painted after invalidate (expected 2 independent paints, expected 3 logged paints, got 2 actual paints)
2819 15:37:26 INFO - 549 INFO TEST-UNEXPECTED-FAIL | dom/svg/test/test_non-scaling-stroke.html | Test timed out.
2884 15:37:27 INFO - 550 INFO TEST-UNEXPECTED-FAIL | dom/svg/test/test_non-scaling-stroke.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - got 1, expected +0
2956 15:37:30 INFO - 553 INFO TEST-UNEXPECTED-FAIL | dom/svg/test/test_non-scaling-stroke.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - Result logged after SimpleTest.finish()
3157 15:48:27 INFO - 664 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/bugs/test_bug265203.html | Test timed out.
3222 15:48:28 INFO - 665 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/bugs/test_bug265203.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - got 1, expected +0
3294 15:48:31 INFO - 668 INFO TEST-UNEXPECTED-FAIL | dom/tests/mochitest/bugs/test_bug265203.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - Result logged after SimpleTest.finish()
5506 command timed out: 7200 seconds elapsed running ['/tools/buildbot/bin/python', 'scripts/scripts/desktop_unittest.py', '--cfg', 'unittests/mac_unittest.py', '--mochitest-suite', 'plain-chunked', '--total-chunks', '5', '--this-chunk', '3', '--blob-upload-branch', 'try', '--download-symbols', 'ondemand'], attempting to kill
14. reboot skipped 00ms
15:05:37 INFO - 51 INFO TEST-START | dom/network/tests/test_tcpsocket_enabled_no_perm.html
15:05:37 INFO - JavaScript error: jar:file:///builds/slave/test/build/application/Nightly.app/Contents/Resources/omni.ja!/components/TCPSocket.js, line 537: Error: TCPSocket does not have permission in this context.
15:05:37 INFO - MEMORY STAT | vsize 3687MB | residentFast 267MB | heapAllocated 126MB
15:05:37 INFO - 52 INFO TEST-OK | dom/network/tests/test_tcpsocket_enabled_no_perm.html | took 54ms
15:05:37 INFO - 53 INFO TEST-START | dom/network/tests/test_udpsocket.html
15:05:37 INFO - JavaScript error: , line 0: NetworkError: A network error occurred.
15:05:40 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
15:05:42 INFO - MEMORY STAT | vsize 3617MB | residentFast 198MB | heapAllocated 14MB
15:05:42 INFO - 54 INFO TEST-OK | dom/network/tests/test_udpsocket.html | took 5305ms
15:05:42 INFO - 55 INFO TEST-START | dom/permission/tests/test_alarms.html
15:05:42 INFO - MEMORY STAT | vsize 3617MB | residentFast 198MB | heapAllocated 15MB
15:05:42 INFO - 56 INFO TEST-OK | dom/permission/tests/test_alarms.html | took 186ms
15:05:42 INFO - 57 INFO TEST-START | dom/permission/tests/test_browser.html
15:05:43 INFO - ###################################### BrowserElementCopyPaste.js loaded
15:05:43 INFO - ############################### browserElementPanning.js loaded
15:05:43 INFO - ######################## BrowserElementChildPreload.js loaded
15:05:43 INFO - MEMORY STAT | vsize 3618MB | residentFast 198MB | heapAllocated 18MB
15:05:43 INFO - 58 INFO TEST-OK | dom/permission/tests/test_browser.html | took 328ms
15:05:43 INFO - 59 INFO TEST-START | dom/permission/tests/test_idle.html
15:05:43 INFO - MEMORY STAT | vsize 3618MB | residentFast 198MB | heapAllocated 18MB
15:05:43 INFO - 60 INFO TEST-OK | dom/permission/tests/test_idle.html | took 137ms
15:05:43 INFO - 61 INFO TEST-START | dom/permission/tests/test_input-manage.html
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - JavaScript error: , line 0: AbortError: The operation was aborted.
15:05:43 INFO - ###################################### forms.js loaded
15:05:43 INFO - ###################################### BrowserElementCopyPaste.js loaded
15:05:43 INFO - ############################### browserElementPanning.js loaded
15:05:43 INFO - ######################## BrowserElementChildPreload.js loaded
15:05:43 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 20MB
15:05:43 INFO - 62 INFO TEST-OK | dom/permission/tests/test_input-manage.html | took 330ms
15:05:43 INFO - 63 INFO TEST-START | dom/permission/tests/test_keyboard.html
15:05:43 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 21MB
15:05:43 INFO - 64 INFO TEST-OK | dom/permission/tests/test_keyboard.html | took 147ms
15:05:43 INFO - 65 INFO TEST-START | dom/permission/tests/test_permissions.html
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 21MB
15:05:44 INFO - 66 INFO TEST-OK | dom/permission/tests/test_permissions.html | took 147ms
15:05:44 INFO - 67 INFO TEST-START | dom/permission/tests/test_permissions_api.html
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 22MB
15:05:44 INFO - 68 INFO TEST-OK | dom/permission/tests/test_permissions_api.html | took 140ms
15:05:44 INFO - 69 INFO TEST-START | dom/permission/tests/test_power.html
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 22MB
15:05:44 INFO - 70 INFO TEST-OK | dom/permission/tests/test_power.html | took 140ms
15:05:44 INFO - 71 INFO TEST-START | dom/permission/tests/test_presentation-device-manage.html
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 23MB
15:05:44 INFO - 72 INFO TEST-OK | dom/permission/tests/test_presentation-device-manage.html | took 137ms
15:05:44 INFO - 73 INFO TEST-START | dom/permission/tests/test_systemXHR.html
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 23MB
15:05:44 INFO - 74 INFO TEST-OK | dom/permission/tests/test_systemXHR.html | took 160ms
15:05:44 INFO - 75 INFO TEST-START | dom/permission/tests/test_tcp-socket.html
15:05:44 INFO - JavaScript error: jar:file:///builds/slave/test/build/application/Nightly.app/Contents/Resources/omni.ja!/components/TCPSocket.js, line 537: Error: TCPSocket does not have permission in this context.
15:05:44 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 20MB
15:05:44 INFO - 76 INFO TEST-OK | dom/permission/tests/test_tcp-socket.html | took 213ms
15:05:44 INFO - 77 INFO TEST-START | dom/permission/tests/test_udp-socket.html
15:05:45 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 20MB
15:05:45 INFO - 78 INFO TEST-OK | dom/permission/tests/test_udp-socket.html | took 241ms
15:05:45 INFO - 79 INFO TEST-START | dom/permission/tests/test_webapps-manage.html
15:05:45 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 21MB
15:05:45 INFO - 80 INFO TEST-OK | dom/permission/tests/test_webapps-manage.html | took 153ms
15:05:45 INFO - 81 INFO TEST-START | dom/phonenumberutils/tests/test_phonenumberutils_basics.html
15:05:45 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 22MB
15:05:45 INFO - 82 INFO TEST-OK | dom/phonenumberutils/tests/test_phonenumberutils_basics.html | took 395ms
15:05:45 INFO - 83 INFO TEST-START | dom/plugins/test/mochitest/test_GCrace.html
15:05:52 INFO - MEMORY STAT | vsize 3614MB | residentFast 198MB | heapAllocated 15MB
15:05:52 INFO - 84 INFO TEST-OK | dom/plugins/test/mochitest/test_GCrace.html | took 6265ms
15:05:52 INFO - 85 INFO TEST-START | dom/plugins/test/mochitest/test_NPNVdocumentOrigin.html
15:05:52 INFO - MEMORY STAT | vsize 3615MB | residentFast 198MB | heapAllocated 17MB
15:05:52 INFO - 86 INFO TEST-OK | dom/plugins/test/mochitest/test_NPNVdocumentOrigin.html | took 348ms
15:05:52 INFO - 87 INFO TEST-START | dom/plugins/test/mochitest/test_NPPVpluginWantsAllNetworkStreams.html
15:05:52 INFO - MEMORY STAT | vsize 3615MB | residentFast 198MB | heapAllocated 17MB
15:05:52 INFO - 88 INFO TEST-OK | dom/plugins/test/mochitest/test_NPPVpluginWantsAllNetworkStreams.html | took 142ms
15:05:52 INFO - 89 INFO TEST-START | dom/plugins/test/mochitest/test_bug406541.html
15:05:52 INFO - MEMORY STAT | vsize 3623MB | residentFast 199MB | heapAllocated 18MB
15:05:52 INFO - 90 INFO TEST-OK | dom/plugins/test/mochitest/test_bug406541.html | took 326ms
15:05:53 INFO - 91 INFO TEST-START | dom/plugins/test/mochitest/test_bug532208.html
15:05:55 INFO - MEMORY STAT | vsize 3621MB | residentFast 199MB | heapAllocated 18MB
15:05:55 INFO - 92 INFO TEST-OK | dom/plugins/test/mochitest/test_bug532208.html | took 2174ms
15:05:55 INFO - 93 INFO TEST-START | dom/plugins/test/mochitest/test_bug539565-1.html
15:05:59 INFO - MEMORY STAT | vsize 3626MB | residentFast 200MB | heapAllocated 17MB
15:05:59 INFO - 94 INFO TEST-OK | dom/plugins/test/mochitest/test_bug539565-1.html | took 4170ms
15:05:59 INFO - 95 INFO TEST-START | dom/plugins/test/mochitest/test_bug539565-2.html
15:06:05 INFO - MEMORY STAT | vsize 3623MB | residentFast 199MB | heapAllocated 17MB
15:06:05 INFO - 96 INFO TEST-OK | dom/plugins/test/mochitest/test_bug539565-2.html | took 6124ms
15:06:05 INFO - 97 INFO TEST-START | dom/plugins/test/mochitest/test_bug738396.html
15:06:05 INFO - MEMORY STAT | vsize 3624MB | residentFast 199MB | heapAllocated 17MB
15:06:06 INFO - 98 INFO TEST-OK | dom/plugins/test/mochitest/test_bug738396.html | took 373ms
15:06:06 INFO - 99 INFO TEST-START | dom/plugins/test/mochitest/test_bug771202.html
15:06:06 INFO - About to call checkObjectValue
15:06:06 INFO - About to call checkObjectValue
15:06:06 INFO - MEMORY STAT | vsize 3625MB | residentFast 199MB | heapAllocated 17MB
15:06:06 INFO - 100 INFO TEST-OK | dom/plugins/test/mochitest/test_bug771202.html | took 285ms
15:06:06 INFO - 101 INFO TEST-START | dom/plugins/test/mochitest/test_bug777098.html
15:06:06 INFO - MEMORY STAT | vsize 3624MB | residentFast 199MB | heapAllocated 17MB
15:06:06 INFO - 102 INFO TEST-OK | dom/plugins/test/mochitest/test_bug777098.html | took 155ms
15:06:06 INFO - 103 INFO TEST-START | dom/plugins/test/mochitest/test_bug784131.html
15:06:06 INFO - MEMORY STAT | vsize 3618MB | residentFast 199MB | heapAllocated 18MB
15:06:06 INFO - 104 INFO TEST-OK | dom/plugins/test/mochitest/test_bug784131.html | took 282ms
15:06:06 INFO - 105 INFO TEST-START | dom/plugins/test/mochitest/test_bug813906.html
15:06:07 INFO - MEMORY STAT | vsize 3614MB | residentFast 199MB | heapAllocated 17MB
15:06:07 INFO - 106 INFO TEST-OK | dom/plugins/test/mochitest/test_bug813906.html | took 148ms
15:06:07 INFO - 107 INFO TEST-START | dom/plugins/test/mochitest/test_bug852315.html
15:06:07 INFO - MEMORY STAT | vsize 3614MB | residentFast 199MB | heapAllocated 17MB
15:06:07 INFO - 108 INFO TEST-OK | dom/plugins/test/mochitest/test_bug852315.html | took 141ms
15:06:07 INFO - 109 INFO TEST-START | dom/plugins/test/mochitest/test_bug854082.html
15:06:07 INFO - MEMORY STAT | vsize 3614MB | residentFast 199MB | heapAllocated 17MB
15:06:07 INFO - 110 INFO TEST-OK | dom/plugins/test/mochitest/test_bug854082.html | took 95ms
15:06:07 INFO - 111 INFO TEST-START | dom/plugins/test/mochitest/test_bug863792.html
15:06:07 INFO - MEMORY STAT | vsize 3613MB | residentFast 199MB | heapAllocated 15MB
15:06:07 INFO - 112 INFO TEST-OK | dom/plugins/test/mochitest/test_bug863792.html | took 235ms
15:06:07 INFO - 113 INFO TEST-START | dom/plugins/test/mochitest/test_bug967694.html
15:06:07 INFO - MEMORY STAT | vsize 3614MB | residentFast 199MB | heapAllocated 16MB
15:06:07 INFO - 114 INFO TEST-OK | dom/plugins/test/mochitest/test_bug967694.html | took 234ms
15:06:07 INFO - 115 INFO TEST-START | dom/plugins/test/mochitest/test_bug985859.html
15:06:07 INFO - MEMORY STAT | vsize 3613MB | residentFast 199MB | heapAllocated 17MB
15:06:07 INFO - 116 INFO TEST-OK | dom/plugins/test/mochitest/test_bug985859.html | took 68ms
15:06:07 INFO - 117 INFO TEST-START | dom/plugins/test/mochitest/test_bug986930.html
15:06:08 INFO - MEMORY STAT | vsize 3613MB | residentFast 199MB | heapAllocated 17MB
15:06:08 INFO - 118 INFO TEST-OK | dom/plugins/test/mochitest/test_bug986930.html | took 89ms
15:06:08 INFO - 119 INFO TEST-START | dom/plugins/test/mochitest/test_cocoa_focus.html
15:06:08 INFO - TEST-INFO | started process screencapture
15:06:09 INFO - TEST-INFO | screencapture: exit 0
15:06:09 INFO - 120 INFO must wait for load
15:06:09 INFO - 121 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 0
15:06:09 INFO - 122 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Initial state should be unknown, assumed false.
15:06:09 INFO - 123 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 124 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 125 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | (1) Plugin should have focus.
15:06:09 INFO - 126 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 1
15:06:09 INFO - 127 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | (2) Plugin should still have focus.
15:06:09 INFO - 128 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 1
15:06:09 INFO - 129 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | (3) Plugin should still have focus.
15:06:09 INFO - 130 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 1
15:06:09 INFO - 131 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 132 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 133 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | (4) Plugin should not have focus.
15:06:09 INFO - 134 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 2
15:06:09 INFO - 135 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 136 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Mouse event successfully synthesized
15:06:09 INFO - 137 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_focus.html | (5) Plugin should still have focus. - got false, expected true
15:06:09 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:277:5
15:06:09 INFO - is@dom/plugins/test/mochitest/cocoa_focus.html:10:7
15:06:09 INFO - runTests@dom/plugins/test/mochitest/cocoa_focus.html:113:1
15:06:09 INFO - continueTest@dom/plugins/test/mochitest/cocoa_focus.html:129:17
15:06:09 INFO - synthesizeNativeMouseEvent/observer.observe@dom/plugins/test/mochitest/cocoa_focus.html:21:13
15:06:09 INFO - Not taking screenshot here: see the one that was previously logged
15:06:09 INFO - 138 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 3 - got 4, expected 3
15:06:09 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:277:5
15:06:09 INFO - is@dom/plugins/test/mochitest/cocoa_focus.html:10:7
15:06:09 INFO - runTests@dom/plugins/test/mochitest/cocoa_focus.html:114:1
15:06:09 INFO - continueTest@dom/plugins/test/mochitest/cocoa_focus.html:129:17
15:06:09 INFO - synthesizeNativeMouseEvent/observer.observe@dom/plugins/test/mochitest/cocoa_focus.html:21:13
15:06:09 INFO - 139 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | (6) Plugin should not have focus.
15:06:09 INFO - 140 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_focus.html | Focus event count should be 4
15:06:09 INFO - MEMORY STAT | vsize 3616MB | residentFast 200MB | heapAllocated 17MB
15:06:09 INFO - 141 INFO TEST-OK | dom/plugins/test/mochitest/test_cocoa_focus.html | took 878ms
15:06:09 INFO - 142 INFO TEST-START | dom/plugins/test/mochitest/test_cocoa_window_focus.html
15:11:26 INFO - Not taking screenshot here: see the one that was previously logged
15:11:26 INFO - 143 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Activation state should be: activated
15:11:26 INFO - 144 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Window focus event count should be 1
15:11:26 INFO - 145 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Activation state should be: activated
15:11:26 INFO - 146 INFO TEST-PASS | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Window focus event count should be 1
15:11:26 INFO - 147 INFO must wait for focus
15:11:26 INFO - 148 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | Test timed out.
15:11:26 INFO - reportError@SimpleTest/TestRunner.js:334:7
15:11:26 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:354:7
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:26 INFO - TestRunner.runTests@SimpleTest/TestRunner.js:550:5
15:11:26 INFO - RunSet.runtests@SimpleTest/setup.js:188:3
15:11:26 INFO - RunSet.runall@SimpleTest/setup.js:167:5
15:11:26 INFO - hookupTests@SimpleTest/setup.js:260:5
15:11:26 INFO - parseTestManifest@http://mochi.test:8888/manifestLibrary.js:36:5
15:11:26 INFO - getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:49:11
15:11:26 INFO - EventHandlerNonNull*getTestManifest@http://mochi.test:8888/manifestLibrary.js:45:3
15:11:26 INFO - hookup@SimpleTest/setup.js:240:5
15:11:26 INFO - EventHandlerNonNull*@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fvar%2Ffolders%2Fgc%2Fgcl7DgosHfepA8sHeXAJ1E%2B%2B%2B-k%2F-Tmp-:10:1
15:11:27 INFO - Not taking screenshot here: see the one that was previously logged
15:11:27 INFO - 149 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - got 1, expected +0
15:11:27 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:277:5
15:11:27 INFO - SimpleTest.finish/afterCleanup@SimpleTest/SimpleTest.js:1046:1
15:11:27 INFO - SimpleTest.finish/executeCleanupFunction@SimpleTest/SimpleTest.js:1080:13
15:11:27 INFO - SimpleTest.finish/executeCleanupFunction@SimpleTest/SimpleTest.js:1095:13
15:11:27 INFO - SimpleTest.finish@SimpleTest/SimpleTest.js:1099:5
15:11:27 INFO - killTest@SimpleTest/TestRunner.js:342:7
15:11:27 INFO - delayedKillTest@SimpleTest/TestRunner.js:369:47
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:369:7
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:375:5
15:11:27 INFO - TestRunner.runTests@SimpleTest/TestRunner.js:550:5
15:11:27 INFO - RunSet.runtests@SimpleTest/setup.js:188:3
15:11:27 INFO - RunSet.runall@SimpleTest/setup.js:167:5
15:11:27 INFO - hookupTests@SimpleTest/setup.js:260:5
15:11:27 INFO - parseTestManifest@http://mochi.test:8888/manifestLibrary.js:36:5
15:11:27 INFO - getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:49:11
15:11:27 INFO - EventHandlerNonNull*getTestManifest@http://mochi.test:8888/manifestLibrary.js:45:3
15:11:27 INFO - hookup@SimpleTest/setup.js:240:5
15:11:27 INFO - EventHandlerNonNull*@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fvar%2Ffolders%2Fgc%2Fgcl7DgosHfepA8sHeXAJ1E%2B%2B%2B-k%2F-Tmp-:10:1
15:11:27 INFO - MEMORY STAT | vsize 3610MB | residentFast 200MB | heapAllocated 17MB
15:11:27 INFO - 150 INFO TEST-OK | dom/plugins/test/mochitest/test_cocoa_window_focus.html | took 318038ms
15:11:30 INFO - Not taking screenshot here: see the one that was previously logged
15:11:30 INFO - 151 INFO Error: Unable to restore focus, expect failures and timeouts.
15:11:30 INFO - 152 INFO TEST-UNEXPECTED-FAIL | dom/plugins/test/mochitest/test_cocoa_window_focus.html | [SimpleTest.finish()] waitForFocus() was called a different number of times from the number of callbacks run. Maybe the test terminated prematurely -- be sure to use SimpleTest.waitForExplicitFinish(). - Result logged after SimpleTest.finish()
I guess this bug should track turning the tests off as well as back on. I haven't debugged why they fail yet.
Attachment #8647806 - Flags: review?(wmccloskey)
Attachment #8647806 - Flags: review?(wmccloskey) → review+
Blake, how important is re-enabling these plugin tests for e10s?
Flags: needinfo?(mrbkap)
I'm not sure. Jim, would you know? Or is there someone else who knows about plugins on OSX.
Flags: needinfo?(mrbkap) → needinfo?(jmathies)
According to the spreadsheet, mccr8 already fixed test_cocoa_window_focus.html. That might be an edit error though. I looked at test_cocoa_focus.html a while back, it tests NPAPI plugin related dims and focus state in content. Neither of these tests blocks rollout, but it would be nice to get them running under e10s.

tracy, would you mind taking these two mochitest-plain tests for a run to see if they work with e10s currently?
Flags: needinfo?(jmathies) → needinfo?(twalker)
Yeah, test_cocoa_window_focus.html is enabled with e10s, looking at the mochitest.ini.
Summary: Make test_cocoa_focus.html and test_cocoa_window_focus.html pass in e10s → Make test_cocoa_focus.html pass in e10s
Though it looks like I failed to remove the bug reference for it:
49 [test_cocoa_focus.html]
50 skip-if = toolkit != "cocoa" || e10s # Bug 1194534
51 support-files = cocoa_focus.html
52 [test_cocoa_window_focus.html]
53 skip-if = toolkit != "cocoa" # Bug 1194534
test_cocoa_window_focus.html:
Passed: 12
Failed: 0
Todo: 0

test_cocoa_focus.html:
Passed: 15
Failed: 5
Todo: 0
failed | (4) Plugin should not have focus. - got true, expected false
failed | Focus event count should be 2 - got 1, expected 2
failed | (5) Plugin should still have focus. - got false, expected true
failed | Focus event count should be 3 - got 2, expected 3
failed | Focus event count should be 4 - got 2, expected 4

note/question: Both tests failed to close down the browser upon completion. Is that expected when running a single mochitest plain test locally?
Flags: needinfo?(twalker)
(In reply to Andrew McCreight [:mccr8] from comment #7)
> Yeah, test_cocoa_window_focus.html is enabled with e10s, looking at the
> mochitest.ini.
> Though it looks like I failed to remove the bug reference for it:
> 49 [test_cocoa_focus.html]
> 50 skip-if = toolkit != "cocoa" || e10s # Bug 1194534
                                  ^^^^^^^

Andrew, doesn't this skip-if mean test_cocoa_focus.html is disabled for e10s?
Flags: needinfo?(continuation)
(In reply to Chris Peterson [:cpeterson] from comment #10)
> Andrew, doesn't this skip-if mean test_cocoa_focus.html is disabled for e10s?

Yes. I was pointing out that the other test, test_cocoa_window_focus.html, is enabled with e10s.
Flags: needinfo?(continuation)
(In reply to Tracy Walker [:tracy] from comment #9)
> note/question: Both tests failed to close down the browser upon completion.
> Is that expected when running a single mochitest plain test locally?

That is normal, unfortunately. I think there's some option to make it close the browser.
(In reply to Tracy Walker [:tracy] from comment #9)
> test_cocoa_focus.html:
> Passed: 15
> Failed: 5
> Todo: 0
> failed | (4) Plugin should not have focus. - got true, expected false

This looks like an real focus bug, the test runs and legitimately fails.

> failed | (5) Plugin should still have focus. - got false, expected true

another failure.

> failed | Focus event count should be 2 - got 1, expected 2
> failed | Focus event count should be 3 - got 2, expected 3
> failed | Focus event count should be 4 - got 2, expected 4

probably passive errors we don't need to worry about.

Tracy, can you take a look?
those focus problems might be timing related.. we might be using cpows here.
Renominating this unprioritized bug for triage because this looks like a real test failure.
OS: Unspecified → Mac OS X
Flags: needinfo?(twalker)
I'll see if I can figure out what's going on with this test.
Assignee: nobody → twalker
Flags: needinfo?(twalker)
Priority: -- → P2
Assignee: twalker → nobody
The leave-open keyword is there and there is no activity for 6 months.
:jimm, maybe it's time to close this bug?
Flags: needinfo?(jmathies)
Status: NEW → RESOLVED
Closed: 11 months ago
Flags: needinfo?(jmathies)
Resolution: --- → FIXED
Assignee: nobody → mrbkap
You need to log in before you can comment on or make changes to this bug.