Enable copypaste mochitests on b2g and Android

RESOLVED INCOMPLETE

Status

()

Core
Serializers
RESOLVED INCOMPLETE
4 years ago
7 days ago

People

(Reporter: adw, Assigned: adw)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(In reply to :Ms2ger from bug 888839 comment #38)
> Can we have a bug to enable those tests on b2g/android, and can we have that
> bug listed in the manfiests?

content/base/test/{test_copypaste.html,test_copypaste.xhtml,test_copypaste.xul} are disabled on b2g [1] and Android [2,3].  Bug 817638 disabled test_copypaste.html on b2g for throwing this exception [4]:

> an unexpected uncaught JS exception reported through window.onerror -
> TypeError: Components.classes['@mozilla.org/widget/clipboard;1'] is
> undefined at http://mochi.test:8888/tests/content/base/test/test_copypaste.html:56

And bug 761125 apparently disabled test_copypaste.html on Android, reason unknown.

Bug 888839 added the other two tests and at the same time disabled them on b2g because test_copypaste.xhtml failed with the same exception, and because test_copypaste.html was already disabled on b2g.  It also disabled them on Android because test_copypaste.html was already disabled on Android.

This here bug is about enabling these tests on b2g on Android, although @mozilla.org/widget/clipboard;1 not being available on b2g sounds like a pretty fundamental problem.

[1] http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/b2g.json
[2] http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/android.json
[3] http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/androidx86.json
[4] https://bug817638.bugzilla.mozilla.org/attachment.cgi?id=687817
The values in the JSON files are used for bug numbers / references, fwiw.
Created attachment 789194 [details] [diff] [review]
reference this bug in mochitest manifests

Oh.  I'm not sure where to post this patch, but bug 888839's closed now, and it doesn't seem worth a new bug, so this seems like an OK place.
Attachment #789194 - Flags: review?(Ms2ger)
Comment on attachment 789194 [details] [diff] [review]
reference this bug in mochitest manifests

Review of attachment 789194 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you, much appreciated.
Attachment #789194 - Flags: review?(Ms2ger) → review+
Comment on attachment 789194 [details] [diff] [review]
reference this bug in mochitest manifests

https://hg.mozilla.org/integration/mozilla-inbound/rev/38d9c5223a20
Whiteboard: [leave open]
https://hg.mozilla.org/mozilla-central/rev/38d9c5223a20
Assignee: nobody → adw
Whiteboard: [leave open]
Depends on: 952456
Status: NEW → RESOLVED
Last Resolved: 7 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.