Closed Bug 1679461 Opened 4 years ago Closed 4 years ago

select() is no-op for disconnected text controls

Categories

(Core :: DOM: Selection, defect, P2)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

input = document.createElement("input");
input.value = "foo";
input.select();
input.selectionStart // expected: 0, actual: 3
Assignee: nobody → krosylight
Severity: -- → S3
Priority: -- → P2
Attachment #9190278 - Attachment description: Bug 1679461 - Always call SelectAll() regardless of focus state r=masayuki → Bug 1679461 - Use SetSelectionRange in Select(), regardless of focus state
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f4fd8e7ce93 Use SetSelectionRange in Select(), regardless of focus state r=masayuki
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26718 for changes under testing/web-platform/tests

Backed out 3 changesets (bug 1677263, bug 1679460, bug 1679461) for test_focus.xhtml failures.

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=VoM7dj7gQb6vh-xq1pB8dg.0&searchStr=os%2Cx%2C10.14%2Cwebrender%2Cdebug%2Cmochitests%2Cwithout%2Ce10s%2Ctest-macosx1014-64-qr%2Fdebug-mochitest-chrome-1proc%2Cc2&fromchange=7302ebdbaa357bc9374e2a4233300e96f8a5b3e6&tochange=cc51b2d4ae85fa2bcdc0f184d0436e806a7bcbbd

Backout link: https://hg.mozilla.org/integration/autoland/rev/12f831d0496c549f9b90146e3e941d0c9e154b25

Failure log: https://treeherder.mozilla.org/logviewer?job_id=323343469&repo=autoland&lineNumber=16160

[task 2020-12-02T18:53:44.487Z] 18:53:44     INFO - TEST-START | dom/tests/mochitest/chrome/test_focus.xhtml
[task 2020-12-02T18:53:44.630Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-02T18:53:44.747Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glBlendBarrierKHR" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glBufferStorage" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glBufferStorageEXT" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glColorP3ui" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glColorP3uiv" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glColorP4ui" by glcontext
[task 2020-12-02T18:53:44.748Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glColorP4uiv" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glCopyImageSubData" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glCopyImageSubDataEXT" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glCopyImageSubDataOES" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageCallback" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageCallbackARB" by glcontext
[task 2020-12-02T18:53:44.749Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageCallbackKHR" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageCallbackKHR" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageControl" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageControlARB" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageControlKHR" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageControlKHR" by glcontext
[task 2020-12-02T18:53:44.750Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageInsert" by glcontext
[task 2020-12-02T18:53:44.751Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageInsertARB" by glcontext
[task 2020-12-02T18:53:44.751Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageInsertKHR" by glcontext
[task 2020-12-02T18:53:44.751Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glDebugMessageInsertKHR" by glcontext
[task 2020-12-02T18:53:44.751Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetDebugMessageLog" by glcontext
[task 2020-12-02T18:53:44.751Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetDebugMessageLogARB" by glcontext
[task 2020-12-02T18:53:44.752Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetDebugMessageLogKHR" by glcontext
[task 2020-12-02T18:53:44.752Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetDebugMessageLogKHR" by glcontext
[task 2020-12-02T18:53:44.752Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectLabel" by glcontext
[task 2020-12-02T18:53:44.752Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectLabelKHR" by glcontext
[task 2020-12-02T18:53:44.752Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectLabelKHR" by glcontext
[task 2020-12-02T18:53:44.757Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectPtrLabel" by glcontext
[task 2020-12-02T18:53:44.757Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectPtrLabelKHR" by glcontext
[task 2020-12-02T18:53:44.757Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetObjectPtrLabelKHR" by glcontext
[task 2020-12-02T18:53:44.757Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glGetPointervKHR" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateBufferData" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateBufferSubData" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateFramebuffer" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateSubFramebuffer" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateTexImage" by glcontext
[task 2020-12-02T18:53:44.758Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glInvalidateTexSubImage" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP1ui" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP1uiv" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP2ui" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP2uiv" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP3ui" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP3uiv" by glcontext
[task 2020-12-02T18:53:44.759Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP4ui" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glMultiTexCoordP4uiv" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glNormalP3ui" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glNormalP3uiv" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectLabel" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectLabelKHR" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectLabelKHR" by glcontext
[task 2020-12-02T18:53:44.760Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectPtrLabel" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectPtrLabelKHR" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glObjectPtrLabelKHR" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPopDebugGroup" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPopDebugGroupKHR" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPopDebugGroupKHR" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPushDebugGroup" by glcontext
[task 2020-12-02T18:53:44.761Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPushDebugGroupKHR" by glcontext
[task 2020-12-02T18:53:44.762Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glPushDebugGroupKHR" by glcontext
[task 2020-12-02T18:53:44.762Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glSecondaryColorP3ui" by glcontext
[task 2020-12-02T18:53:44.762Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glSecondaryColorP3uiv" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glShaderStorageBlockBinding" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP1ui" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP1uiv" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP2ui" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP2uiv" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP3ui" by glcontext
[task 2020-12-02T18:53:44.765Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP3uiv" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP4ui" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glTexCoordP4uiv" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP2ui" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP2uiv" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP3ui" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP3uiv" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP4ui" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender_bindings::bindings] Could not find symbol "glVertexP4uiv" by glcontext
[task 2020-12-02T18:53:44.766Z] 18:53:44     INFO - GECKO(1563) | [WARN  webrender::device::gl] Missing optimized shader source for gpu_cache_update
[task 2020-12-02T18:53:44.781Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4289
[task 2020-12-02T18:53:44.782Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-02T18:53:44.782Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4289
[task 2020-12-02T18:53:44.798Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1132
[task 2020-12-02T18:53:44.802Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1132
[task 2020-12-02T18:53:44.812Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1132
[task 2020-12-02T18:53:44.817Z] 18:53:44     INFO - GECKO(1563) | Chrome file doesn't exist: /Users/cltbld/tasks/task_1606934750/build/tests/mochitest/chrome/dom/tests/mochitest/chrome/happy.png
[task 2020-12-02T18:53:44.891Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4289
[task 2020-12-02T18:53:44.914Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1132
[task 2020-12-02T18:53:44.916Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4289
[task 2020-12-02T18:53:44.932Z] 18:53:44     INFO - GECKO(1563) | [1563, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1132
[task 2020-12-02T18:53:45.396Z] 18:53:45     INFO - GECKO(1563) | [1563, Main Thread] WARNING: aTargetFrame should be related with aTargetContent: '!aTargetFrame || !aTargetFrame->GetContent() || aTargetFrame->GetContent() == aTargetContent || aTargetFrame->GetContent()->GetFlattenedTreeParent() == aTargetContent || aTargetFrame->IsGeneratedContentFrame()', file /builds/worker/checkouts/gecko/dom/events/EventStateManager.cpp:478
[task 2020-12-02T18:53:45.397Z] 18:53:45     INFO - GECKO(1563) | [1563, Main Thread] WARNING: aTargetFrame should be related with aTargetContent: '!aTargetFrame || !aTargetFrame->GetContent() || aTargetFrame->GetContent() == aTargetContent || aTargetFrame->GetContent()->GetFlattenedTreeParent() == aTargetContent || aTargetFrame->IsGeneratedContentFrame()', file /builds/worker/checkouts/gecko/dom/events/EventStateManager.cpp:478
[task 2020-12-02T18:53:45.427Z] 18:53:45     INFO - TEST-INFO | started process screencapture
[task 2020-12-02T18:53:45.527Z] 18:53:45     INFO - TEST-INFO | screencapture: exit 0
[task 2020-12-02T18:53:45.527Z] 18:53:45     INFO - <snipped 518 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2020-12-02T18:53:45.528Z] 18:53:45     INFO - Buffered messages logged at 18:53:45
...
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | input focused from tab key selectionEnd 
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - Buffered messages finished
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 events - got "", expected "commandupdate: cu blur: t3"
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - is@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:42:55
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - compareEvents@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:192:5
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - expectFocusShift@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:182:16
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - mouseOnElement@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:312:21
[task 2020-12-02T18:53:45.557Z] 18:53:45     INFO - startTest@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:443:19
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 focusedElement - got "t3", expected "none"
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - is@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:42:55
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - compareEvents@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:207:5
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - expectFocusShift@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:182:16
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - mouseOnElement@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:312:21
[task 2020-12-02T18:53:45.558Z] 18:53:45     INFO - startTest@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:443:19
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 focusedWindow 
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 getFocusedElementForWindow - got [object XULElement], expected null
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - is@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:42:55
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - compareEvents@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:211:5
[task 2020-12-02T18:53:45.559Z] 18:53:45     INFO - expectFocusShift@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:182:16
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - mouseOnElement@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:312:21
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - startTest@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:443:19
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 getFocusedElementForWindow frame 
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 hasFocus 
[task 2020-12-02T18:53:45.560Z] 18:53:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 activeElement - got "t3", expected "outer-document"
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - is@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:42:55
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - compareEvents@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:215:5
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - expectFocusShift@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:182:16
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - mouseOnElement@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:312:21
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - startTest@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:443:19
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 commandDispatcher focusedWindow 
[task 2020-12-02T18:53:45.561Z] 18:53:45     INFO - TEST-PASS | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 commandDispatcher focusedElement 
[task 2020-12-02T18:53:45.562Z] 18:53:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-02T18:53:45.563Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 lastFocusMethod null - got 8192, expected +0
[task 2020-12-02T18:53:45.563Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - is@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:42:55
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - compareEvents@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:224:7
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - expectFocusShift@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:182:16
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - mouseOnElement@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:312:21
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - startTest@chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/window_focus.xhtml:443:19
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-02T18:53:45.564Z] 18:53:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/chrome/test_focus.xhtml | mouse on element t38 lastFocusMethod window - got 8192, expected +0
[task 2020-12-02T18:53:45.565Z] 18:53:45     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
...
Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/510a46e365e0 Use SetSelectionRange in Select(), regardless of focus state r=masayuki
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(krosylight)
Regressions: 1680951
Regressions: 1699863
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: