Closed Bug 972110 Opened 10 years ago Closed 8 years ago

Intermittent test_bug674770-1.html | The click operation worked successfully | The click operation shouldn't work in the contenteditable area

Categories

(Core :: DOM: Editor, defect, P5)

x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
e10s + ---
firefox45 --- wontfix
firefox46 --- wontfix
firefox47 --- wontfix
firefox48 --- disabled
firefox49 --- disabled
firefox50 --- fixed
firefox51 --- fixed
firefox52 --- fixed

People

(Reporter: KWierso, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

https://tbpl.mozilla.org/php/getParsedLog.php?id=34571408&tree=Mozilla-Inbound
slave: talos-r4-snow-020



11:25:05     INFO -  1073 INFO TEST-INFO | MEMORY STAT vsize after test: 3426574336
11:25:05     INFO -  1074 INFO TEST-INFO | MEMORY STAT residentFast after test: 348143616
11:25:05     INFO -  1075 INFO TEST-END | /tests/editor/libeditor/html/tests/test_bug668599.html | finished in 498ms
11:25:05     INFO -  [950] WARNING: NS_ENSURE_TRUE(mDisabledJSAndPlugins) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/composer/src/nsEditingSession.cpp, line 208
11:25:05     INFO -  ++DOMWINDOW == 44 (0x12aa0b3c8) [pid = 950] [serial = 1206] [outer = 0x128c2f3d8]
11:25:05     INFO -  1076 INFO TEST-START | /tests/editor/libeditor/html/tests/test_bug674770-1.html
11:25:05     INFO -  ++DOMWINDOW == 45 (0x1336e7b48) [pid = 950] [serial = 1207] [outer = 0x128c2f3d8]
11:25:06     INFO -  [950] WARNING: NS_ENSURE_TRUE(aSelection->GetRangeCount()) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/base/nsEditor.cpp, line 3805
11:25:06     INFO -  [950] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/base/nsEditor.cpp, line 3784
11:25:06     INFO -  [950] WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/html/nsHTMLEditRules.cpp, line 316
11:25:06     INFO -  [950] WARNING: NS_ENSURE_TRUE(aSelection->GetRangeCount()) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/base/nsEditor.cpp, line 3805
11:25:06     INFO -  [950] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/base/nsEditor.cpp, line 3784
11:25:06     INFO -  [950] WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/html/nsHTMLEditRules.cpp, line 8482
11:25:06     INFO -  [950] WARNING: NS_ENSURE_TRUE(editor) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/libeditor/base/nsEditorCommands.cpp, line 549
11:25:06     INFO -  [950] WARNING: NS_ENSURE_TRUE(rootContent) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/composer/src/nsEditorSpellCheck.cpp, line 697
11:25:06     INFO -  1077 INFO TEST-INFO | /tests/editor/libeditor/html/tests/test_bug674770-1.html | must wait for load
11:25:06     INFO -  [950] WARNING: NS_ENSURE_TRUE(rootContent) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/composer/src/nsEditorSpellCheck.cpp, line 697
11:25:06     INFO -  [950] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/m-in-osx64-d-00000000000000000/build/extensions/spellcheck/src/mozInlineSpellChecker.cpp, line 2030
11:25:06     INFO -  ++DOCSHELL 0x13cbe44f0 == 9 [pid = 950] [id = 276]
11:25:06     INFO -  ++DOMWINDOW == 46 (0x1373b9dd8) [pid = 950] [serial = 1208] [outer = 0x0]
11:25:06     INFO -  ++DOMWINDOW == 47 (0x1316bec58) [pid = 950] [serial = 1209] [outer = 0x1373b9dd8]
11:25:06     INFO -  --DOMWINDOW == 46 (0x1399b1fb8) [pid = 950] [serial = 1201] [outer = 0x13b4937c8] [url = about:blank]
11:25:07     INFO -  --DOMWINDOW == 45 (0x13b4937c8) [pid = 950] [serial = 1199] [outer = 0x0] [url = about:blank]
11:25:07     INFO -  1078 ERROR TEST-UNEXPECTED-FAIL | /tests/editor/libeditor/html/tests/test_bug674770-1.html | The click operation worked successfully
11:25:07     INFO -  [950] ###!!! ASSERTION: frame must not be dirty: '!NS_SUBTREE_DIRTY(this)', file /builds/slave/m-in-osx64-d-00000000000000000/build/layout/generic/nsFrame.cpp, line 1259
11:25:07     INFO -  JSPrincipals::dump()+0x00b3eb94 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b824b4]
11:25:07     INFO -  JSPrincipals::dump()+0x00b40dfa [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b8471a]
11:25:07     INFO -  JSPrincipals::dump()+0x00b40614 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b83f34]
11:25:07     INFO -  JSPrincipals::dump()+0x00b40155 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b83a75]
11:25:07     INFO -  JSPrincipals::dump()+0x00b40c1d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b8453d]
11:25:07     INFO -  JSPrincipals::dump()+0x00c23a1d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01c6733d]
11:25:07     INFO -  JSPrincipals::dump()+0x00c2d9df [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01c712ff]
11:25:07     INFO -  JSPrincipals::dump()+0x008d50bb [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x019189db]
11:25:07     INFO -  JSPrincipals::dump()+0x0096d0b2 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x019b09d2]
11:25:07     INFO -  JSPrincipals::dump()+0x008c8949 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x0190c269]
11:25:07     INFO -  nsHTMLEditor::InsertFromTransferable(nsITransferable*, nsIDOMDocument*, nsAString_internal const&, nsAString_internal const&, nsIDOMNode*, int, bool) [obj-firefox/dist/include/nsCOMPtr.h:515]
11:25:07     INFO -  JSPrincipals::dump()+0x009137ab [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x019570cb]
11:25:07     INFO -  nsEditorEventListener::MouseClick(nsIDOMEvent*) [obj-firefox/dist/include/nsCOMPtr.h:822]
11:25:07     INFO -  JSPrincipals::dump()+0x009711c6 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x019b4ae6]
11:25:07     INFO -  JSPrincipals::dump()+0x008e1ac4 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x019253e4]
11:25:07     INFO -  JSPrincipals::dump()+0x001bbfe4 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011ff904]
11:25:07     INFO -  JSPrincipals::dump()+0x001bc3ab [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011ffccb]
11:25:07     INFO -  JSPrincipals::dump()+0x001c5f91 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x012098b1]
11:25:07     INFO -  JSPrincipals::dump()+0x001b50ce [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011f89ee]
11:25:07     INFO -  JSPrincipals::dump()+0x001b6925 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011fa245]
11:25:07     INFO -  JSPrincipals::dump()+0x00ad1305 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b14c25]
11:25:07     INFO -  JSPrincipals::dump()+0x00ad17b1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b150d1]
11:25:07     INFO -  JSPrincipals::dump()+0x0016f2e2 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011b2c02]
11:25:07     INFO -  JSPrincipals::dump()+0x0016c77d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x011b009d]
11:25:07     INFO -  JSPrincipals::dump()+0x00ad13c1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b14ce1]
11:25:07     INFO -  JSPrincipals::dump()+0x00ad04eb [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b13e0b]
11:25:07     INFO -  JSPrincipals::dump()+0x00ad0153 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01b13a73]
11:25:07     INFO -  nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) [obj-firefox/dist/include/nsCOMPtr.h:515]
11:25:07     INFO -  JSPrincipals::dump()+0x00401669 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01444f89]
11:25:07     INFO -  mac_plugin_interposing_child_OnShowCursor+0x000412ea [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00ecddca]
11:25:07     INFO -  JSPrincipals::dump()+0x0006becc [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010af7ec]
11:25:07     INFO -  JSPrincipals::dump()+0x0006b9ce [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010af2ee]
11:25:07     INFO -  NS_InvokeByIndex+0x0000021d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x000ac3ed]
11:25:07     INFO -  DumpCompleteHeap+0x00005124 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x0101ffe4]
11:25:07     INFO -  nsCxPusher::~nsCxPusher()+0x0001265b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010092bb]
11:25:07     INFO -  nsCxPusher::~nsCxPusher()+0x000142bb [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x0100af1b]
11:25:07     INFO -  js::DeadObjectProxy::~DeadObjectProxy()+0x00005cc1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c3f7e1]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc3b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19c9b]
11:25:07     INFO -  js_ReportIsNotFunction(JSContext*, JS::Handle<JS::Value>)+0x000036bf [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02aa89af]
11:25:07     INFO -  js::DeadObjectProxy::~DeadObjectProxy()+0x00005cc1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c3f7e1]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc3b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19c9b]
11:25:07     INFO -  js_ReportIsNotFunction(JSContext*, JS::Handle<JS::Value>)+0x00002e63 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02aa8153]
11:25:07     INFO -  js::DeadObjectProxy::~DeadObjectProxy()+0x00005cc1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c3f7e1]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc3b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19c9b]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x00025501 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c13561]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0001c35d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c0a3bd]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc4f [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19caf]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x000073ed [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02bf544d]
11:25:07     INFO -  js_GetScriptLineExtent(JSScript*)+0x0002aa16 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b8b4e6]
11:25:07     INFO -  js::AppendUnique(JSContext*, JS::AutoIdVector&, JS::AutoIdVector&)+0x0000196e [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b5457e]
11:25:07     INFO -  js::proxy_Call(JSContext*, unsigned int, JS::Value*)+0x00000074 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b573f4]
11:25:07     INFO -  js::DeadObjectProxy::~DeadObjectProxy()+0x00005cc1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c3f7e1]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc3b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19c9b]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x000073ed [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02bf544d]
11:25:07     INFO -  js::BaseProxyHandler::slice(JSContext*, JS::Handle<JSObject*>, unsigned int, unsigned int, JS::Handle<JSObject*>)+0x00000af2 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b4a8d2]
11:25:07     INFO -  js::CrossCompartmentWrapper::call(JSContext*, JS::Handle<JSObject*>, JS::CallArgs const&)+0x0000019a [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02beab2a]
11:25:07     INFO -  js::AppendUnique(JSContext*, JS::AutoIdVector&, JS::AutoIdVector&)+0x0000196e [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b5457e]
11:25:07     INFO -  js::proxy_Call(JSContext*, unsigned int, JS::Value*)+0x00000074 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02b573f4]
11:25:07     INFO -  js::DeadObjectProxy::~DeadObjectProxy()+0x00005cc1 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c3f7e1]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc3b [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19c9b]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x00025501 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c13561]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0001c35d [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c0a3bd]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x0002bc4f [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02c19caf]
11:25:07     INFO -  JS::ExtractPerfMeasurement(JS::Value)+0x000073ed [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02bf544d]
11:25:07     INFO -  JS::PrepareZoneForGC(JS::Zone*)+0x00000d83 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02a88cf3]
11:25:07     INFO -  imgLoader::SupportImageWithMimeType(char const*)+0x00194a40 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00ae4a00]
11:25:07     INFO -  JSPrincipals::dump()+0x000c32e8 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x01106c08]
11:25:07     INFO -  JSPrincipals::dump()+0x000ab696 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010eefb6]
11:25:07     INFO -  JSPrincipals::dump()+0x0009e665 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010e1f85]
11:25:07     INFO -  JSPrincipals::dump()+0x000ab287 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x010eeba7]
11:25:07     INFO -  XRE_AddJarManifestLocation+0x00010379 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x000a54a9]
11:25:07     INFO -  XRE_AddJarManifestLocation+0x00010660 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x000a5790]
11:25:07     INFO -  XRE_AddJarManifestLocation+0x0000c2ef [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x000a141f]
11:25:07     INFO -  UNKNOWN [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00014f5d]
11:25:07     INFO -  mac_plugin_interposing_child_OnShowCursor+0x000bebaa [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00f4b68a]
11:25:07     INFO -  mac_plugin_interposing_child_OnShowCursor+0x000772bf [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00f03d9f]
11:25:07     INFO -  __CFRunLoopDoSources0+0x00000551 [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x0004e401]
11:25:07     INFO -  __CFRunLoopRun+0x00000369 [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x0004c5f9]
11:25:07     INFO -  CFRunLoopRunSpecific+0x0000023f [/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x0004bdbf]
11:25:07     INFO -  RunCurrentEventLoopInMode+0x0000014d [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x0002e7ee]
11:25:07     INFO -  ReceiveNextEventCommon+0x00000136 [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x0002e5f3]
11:25:07     INFO -  BlockUntilNextEventMatchingListInMode+0x0000003b [/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x0002e4ac]
11:25:07     INFO -  _DPSNextEvent+0x000002c4 [/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x00043eb2]
11:25:07     INFO -  -AppKit + 0x43801
11:25:07     INFO -  mac_plugin_interposing_child_OnShowCursor+0x00076906 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00f033e6]
11:25:07     INFO -  -[NSApplication run]+0x0000018b [/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x0000968f]
11:25:07     INFO -  mac_plugin_interposing_child_OnShowCursor+0x00077907 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x00f043e7]
11:25:07     INFO -  XRE_StartupTimelineRecord+0x00000b92 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02184db2]
11:25:07     INFO -  XRE_InitCommandLine+0x000054df [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x02113a6f]
11:25:07     INFO -  XRE_InitCommandLine+0x00005b35 [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x021140c5]
11:25:07     INFO -  XRE_main+0x000000ee [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/XUL +0x0211447e]
11:25:07     INFO -  start+0x00000b3c [/builds/slave/talos-slave/test/build/application/FirefoxNightlyDebug.app/Contents/MacOS/firefox +0x000022ac]
11:25:07     INFO -  ++DOMWINDOW == 46 (0x13b2dae28) [pid = 950] [serial = 1210] [outer = 0x1373b9dd8]
11:25:07     INFO -  1079 ERROR TEST-UNEXPECTED-FAIL | /tests/editor/libeditor/html/tests/test_bug674770-1.html | The click operation shouldn't work in the contenteditable area
11:25:07     INFO -  1080 INFO TEST-INFO | MEMORY STAT vsize after test: 3425923072
11:25:07     INFO -  1081 INFO TEST-INFO | MEMORY STAT residentFast after test: 349319168
11:25:07     INFO -  1082 INFO TEST-END | /tests/editor/libeditor/html/tests/test_bug674770-1.html | finished in 2166ms
11:25:07     INFO -  [950] WARNING: NS_ENSURE_TRUE(mDisabledJSAndPlugins) failed: file /builds/slave/m-in-osx64-d-00000000000000000/build/editor/composer/src/nsEditingSession.cpp, line 208
11:25:07     INFO -  ++DOMWINDOW == 47 (0x133ba4058) [pid = 950] [serial = 1211] [outer = 0x128c2f3d8]
11:25:08     INFO -  1083 INFO TEST-KNOWN-FAIL | /tests/editor/libeditor/html/tests/test_bug674770-1.html | Assertion count 1 within expected range 1-1 assertions.
11:25:08     INFO -  1084 INFO TEST-START | /tests/editor/libeditor/html/tests/test_bug674770-2.html
11:25:08     INFO -  ++DOMWINDOW == 48 (0x13b285368) [pid = 950] [serial = 1212] [outer = 0x128c2f3d8]
11:25:08     INFO -  ++DOCSHELL 0x1093d89a0 == 10 [pid = 950] [id = 277]
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Whiteboard: [e10s-orangeblockers]
The test here just looks crummy. I can try fixing it so it isn't as racey.
Assignee: nobody → continuation
Flags: needinfo?(continuation)
Here's a WIP. I don't know if there's a good way to asynchronously check that some event is _not_ fired.
Flags: needinfo?(continuation)
Comment on attachment 8734453 [details] [diff] [review]
Don't spin the event loop 100 times in test_bug674770-1.html.

Ehsan, you wrote this test. Does this look reasonable? I'm concerned that for the "The click operation shouldn't work in the contenteditable area" test that it won't actually fail if the page goes away too quickly or something.
Attachment #8734453 - Flags: feedback?(ehsan)
(In reply to Andrew McCreight [:mccr8] from comment #30)
> Comment on attachment 8734453 [details] [diff] [review]
> Don't spin the event loop 100 times in test_bug674770-1.html.
> 
> Ehsan, you wrote this test. 

No, I reviewed it.  :-)  Masayuki is the author.

> Does this look reasonable? I'm concerned that
> for the "The click operation shouldn't work in the contenteditable area"
> test that it won't actually fail if the page goes away too quickly or
> something.

We set the local storage before closing the window, so I don't think that's an issue.
Attachment #8734453 - Flags: feedback?(ehsan) → feedback+
Assignee: continuation → nobody
Intermittent e10s test failure
Priority: -- → P5
Masayuki, it seems the frequency of this failure is increasing recently. Can you take a quick look and see what we should do? Thank you.
Flags: needinfo?(masayuki)
Oh, "part.1" remains...
Assignee: nobody → masayuki
Status: REOPENED → ASSIGNED
Flags: needinfo?(masayuki)
Comment on attachment 8793338 [details]
Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure

https://reviewboard.mozilla.org/r/80092/#review78788

r+ with the name changed and the comment explained (given that this is just a test).

::: editor/libeditor/tests/test_bug674770-1.html:60
(Diff revision 2)
> -
> -    hitEventLoop(function() {
> -      ok(!window.linkWasClicked, "The click operation shouldn't work in the contenteditable area");
>  
> -      localStorage.removeItem("clicked");
> -      SimpleTest.finish();
> +  SpecialPowers.addSystemEventListener(window, "click", function (aEvent) {
> +    // If the click event should cause default action, e.g., opening the link, it shouldn't have been consumed by the editor in e10s mode.

I don't understand this comment. What here is e10s specific code? We run this all in both e10s and non-e10s. 
Why do we have different default-prevented handling in e10s?

::: testing/specialpowers/content/specialpowersAPI.js:1600
(Diff revision 2)
>        removeSystemEventListener(target, type, listener, useCapture);
>    },
>  
> +  // helper method to check if the event is consumed by either default group's
> +  // event listener or system group's event listener.
> +  defaultPreventedInAnyGroups: function(event) {

I think this should be *AnyGroup, not *AnyGroups.
Attachment #8793338 - Flags: review?(bugs) → review+
Comment on attachment 8793338 [details]
Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure

https://reviewboard.mozilla.org/r/80092/#review78944

::: editor/libeditor/tests/test_bug674770-1.html:60
(Diff revision 2)
> -
> -    hitEventLoop(function() {
> -      ok(!window.linkWasClicked, "The click operation shouldn't work in the contenteditable area");
>  
> -      localStorage.removeItem("clicked");
> -      SimpleTest.finish();
> +  SpecialPowers.addSystemEventListener(window, "click", function (aEvent) {
> +    // If the click event should cause default action, e.g., opening the link, it shouldn't have been consumed by the editor in e10s mode.

I don't know how we can detect if it's running in e10s mode or not. Therefore, I made it run always same path. 

if (currentTest.linkShouldWork) {
  return;
}

This is what is the hack (older patch checks Event.defaultPrevented when currentTest.linkShouldWork is true, but it causes permanent failure in non-e10s mode).

And I'm not familiar with link click handling though, I guess that it's performed in chrome.  Then, e10s needs extra event loop after the propagation.
Comment on attachment 8793338 [details]
Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure

https://reviewboard.mozilla.org/r/80092/#review78788

> I think this should be *AnyGroup, not *AnyGroups.

Fixed.
Comment on attachment 8793338 [details]
Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure

https://reviewboard.mozilla.org/r/80092/#review78944

> I don't know how we can detect if it's running in e10s mode or not. Therefore, I made it run always same path. 
> 
> if (currentTest.linkShouldWork) {
>   return;
> }
> 
> This is what is the hack (older patch checks Event.defaultPrevented when currentTest.linkShouldWork is true, but it causes permanent failure in non-e10s mode).
> 
> And I'm not familiar with link click handling though, I guess that it's performed in chrome.  Then, e10s needs extra event loop after the propagation.

New comment:

    // When the click event should cause default action, e.g., opening the link,
    // the event shouldn't have been consumed except the link handler.
    // However, in e10s mode, it's not consumed during propagating the event but
    // in non-e10s mode, it's consumed during the propagation.  Therefore,
    // we cannot check defaultPrevented value when the link should work as is
    // if there is no way to detect if it's running in e10s mode or not.
    // So, let's skip checking Event.defaultPrevented value when the link should
    // work.  In such case, we should receive "storage" event later.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/6aa8b6ad3d29
Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure r=smaug
Status: ASSIGNED → RESOLVED
Closed: 9 years ago8 years ago
Keywords: leave-open
Resolution: --- → FIXED
Whiteboard: [test disabled on Linux debug e10s]
Target Milestone: --- → mozilla52
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/60cc643978c7
fix test_bug674770-1.html after merge conflict a=me
Hi Masayuki, i had to fix a merge conflict when merging this to m-c - can you check if http://hg.mozilla.org/mozilla-central/rev/60cc643978c7 is the expected result.

Thanks!
Flags: needinfo?(masayuki)
Yeah, looks like the fix is correct. Thank you for your work!
Flags: needinfo?(masayuki)
I wonder if this test even needs to force single-process mode now that it was rewritten.
You need to log in before you can comment on or make changes to this bug.