Closed Bug 1877338 Opened 1 year ago Closed 8 months ago

Intermittent dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | single tracking bug

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: masayuki)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=445104757&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DCuKLRZEQ02LGhilMzmReg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-01-30T00:30:25.520Z] 00:30:25     INFO - TEST-START | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html
[task 2024-01-30T00:30:25.645Z] 00:30:25     INFO - TEST-INFO | started process screentopng
[task 2024-01-30T00:30:26.168Z] 00:30:26     INFO - TEST-INFO | screentopng: exit 0
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - Buffered messages logged at 00:30:25
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - must wait for load
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - Buffered messages finished
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | Adding text node to empty <textarea> should notify IME of a text change - got "{}", expected "{ offset: 0, removedLength: 0, addedLength: 3 }"
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - @chrome://mochitests/content/chrome/dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html:48:5
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - async*SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-30T00:30:26.169Z] 00:30:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-01-30T00:30:26.171Z] 00:30:26     INFO - TEST-UNEXPECTED-FAIL | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | Removing text node from <textarea> should notify IME of a text change - got "{ offset: 0, removedLength: 0, addedLength: 0 }", expected "{ offset: 0, removedLength: 3, addedLength: 0 }"
[task 2024-01-30T00:30:26.172Z] 00:30:26     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2024-01-30T00:30:26.174Z] 00:30:26     INFO - @chrome://mochitests/content/chrome/dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html:57:5
[task 2024-01-30T00:30:26.175Z] 00:30:26     INFO - async*SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-30T00:30:26.180Z] 00:30:26     INFO - TEST-PASS | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | Adding text node to empty <textarea> during reframes should notify IME of a text change 
[task 2024-01-30T00:30:26.184Z] 00:30:26     INFO - TEST-PASS | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | Removing text node from <textarea> during reframes should notify IME of a text change 
[task 2024-01-30T00:30:26.185Z] 00:30:26     INFO - TEST-PASS | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | The value should not be updated by adding text node into the dirty <textarea> 
[task 2024-01-30T00:30:26.187Z] 00:30:26     INFO - TEST-PASS | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | Adding text node to empty but dirty <textarea> should not notify IME of a text change 
[task 2024-01-30T00:30:26.188Z] 00:30:26     INFO - GECKO(3069) | MEMORY STAT | vsize 11613MB | residentFast 470MB | heapAllocated 206MB
[task 2024-01-30T00:30:26.190Z] 00:30:26     INFO - TEST-OK | dom/base/test/chrome/test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html | took 376ms
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Although I'm not sure where requires the ticks because
nsTextControlFrame::InitializeEagerlyIfNeeded() uses AddScriptRunner.
However, according to the failure log, it's caused by that the default value
change occurred before IMEContentObserver starts to observe the anonymous
content changes. Then, the second test restores the empty default value, so,
the text changes caused by both added and removed by a text node under
<textarea> is canceled.

Depends on D211709

Assignee: nobody → masayuki
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/a33b9aa1abd5 Make `test_nsITextInputProcessorCallback_at_changing_default_value_of_textarea.html` wait for initializing `TextEditor` r=smaug
Status: REOPENED → RESOLVED
Closed: 11 months ago8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: