Closed Bug 761871 Opened 12 years ago Closed 11 years ago

B2G: test_sanitySimpletest.html | TEST-UNEXPECTED-FAIL | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes['@mozilla.org/widget/clipboardhelper;1'] is undefined

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

We have mochitest-plain running on B2G arm emulators.  test_sanitySimpletest.html fails with the following:

E/GeckoConsole(  713): [JavaScript Error: "Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information." {file: "http://mochi.test:8888/tests/Harness_sanity/test_sanitySimpletest.html" line: 0}]
I/GeckoDump(  713): 105 ERROR TEST-UNEXPECTED-FAIL | /tests/Harness_sanity/test_sanitySimpletest.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes['@mozilla.org/widget/clipboardhelper;1'] is undefined at chrome://specialpowers/content/specialpowersAPI.js:989
E/GeckoConsole(  713): [JavaScript Error: "TypeError: Components.classes['@mozilla.org/widget/clipboardhelper;1'] is undefined" {file: "chrome://specialpowers/content/specialpowersAPI.js" line: 989}]

Full log:  http://brasstacks.mozilla.com/autologserver/showlog?file=924f8a24-af64-11e1-ba42-000c29d18787.txt.gz

Test link: http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/tests/test_sanitySimpletest.html?force=1

If the functionality that this test verifies is not supported in B2G, assign this to me and I'll exclude this test from the B2G test set.
Looks like this test is already disabled on android per bug 688052, although the current failure is different than the timeout reported there.
Jonathan,  We do not support clipboard right now -- I don't think it's going to be implemented soon.  Lets disable for now.
Assignee: nobody → jgriffin
We're not running these any longer.  WONTFIXing since we're not actually changing the tests.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.