Closed Bug 1389244 Opened 3 years ago Closed 3 years ago

TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/mozmill/message-header/test-message-header.js | test-message-header.js::<TOP_LEVEL>

Categories

(Thunderbird :: General, defect)

Unspecified
Windows
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 57.0

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

(Whiteboard: [Thunderbird-testfailure: Z all])

Attachments

(1 file)

TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/mozmill/message-header/test-message-header.js | test-message-header.js::<TOP_LEVEL>
TEST-UNEXPECTED-FAIL | /builds/slave/test/build/tests/mozmill/message-header/test-message-header.js | test-message-header.js::test_a11y_attrs

First seen: Thu Aug 10, 2017, 19:43:04

M-C last good: 4d54ac07b8c97f0e6713dab2ba694023b5
M-C first bad: 5322c03f4c8587fe526172d3f87160031f
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4d54ac07b8c97f0e6713dab2ba694023b5&tochange=5322c03f4c8587fe526172d3f87160031f

Log says:
https://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-win32/1502387034/comm-central_win7_ix_test-mozmill-bm112-tests1-windows-build2.txt.gz


INFO -  SUMMARY-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\message-header\test-message-header.js | test-message-header.js::<TOP_LEVEL>
INFO -    EXCEPTION: Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.getService]
INFO -      at: nonesuch line 243
INFO -  SUMMARY-PASS | test-header-toolbar.js::setupModule
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_get_msg_button_customize_header_toolbar
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_check_default
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_reorder_buttons
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_separate_window
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_remove_buttons
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_dialog_style
INFO -  SUMMARY-PASS | test-header-toolbar.js::test_customize_header_toolbar_change_button_style
INFO -  SUMMARY-PASS | test-header-toolbar.js::teardownModule
INFO -  SUMMARY-PASS | test-message-header.js::setupModule
INFO -  SUMMARY-PASS | test-message-header.js::test_add_tag_with_really_long_label
INFO -  SUMMARY-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\message-header\test-message-header.js | test-message-header.js::test_a11y_attrs
INFO -    EXCEPTION: can't access lexical declaration `gAccRetrieval' before initialization
INFO -      at: test-message-header.js line 258
INFO -         verify_header_a11y test-message-header.js:258 7
INFO -         test_a11y_attrs test-message-header.js:302 3
INFO -         Runner.prototype.wrapper frame.js:585 9
INFO -         Runner.prototype._runTestModule frame.js:655 9
INFO -         Runner.prototype.runTestModule frame.js:701 3
INFO -         Runner.prototype.runTestDirectory frame.js:525 7
INFO -         runTestDirectory frame.js:707 3
INFO -         Bridge.prototype._execFunction server.js:179 10
INFO -         Bridge.prototype.execFunction server.js:183 16
INFO -         Session.prototype.receive server.js:282 3
INFO -         AsyncRead.prototype.onDataAvailable server.js:88 3
Version: 52 Branch → Trunk
Looking at the test, this becomes clearer now, the line in question is:

let gAccRetrieval = Cc["@mozilla.org/accessibleRetrieval;1"].
                    getService(Ci.nsIAccessibleRetrieval);

So therefore comes from:
2e37a43d33d3 Masatoshi Kimura Bug 1387832 Remove @deprecated nsIAccessibleRetrieval. r=surkov
https://hg.mozilla.org/mozilla-central/rev/2e37a43d33d3

Looks like we need to use nsIAccessibilityService instead. I'll try that.
Test passed with this change.
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/6a4a1b59421c
replace deprecated nsIAccessibleRetrieval with nsIAccessibilityService. rs=bustage-fix
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 57.0
You need to log in before you can comment on or make changes to this bug.