We currently only check that for types with value mode being value.
Created attachment 624065 [details] [diff] [review] Patch v1 Tests will come with bug 754668 (I saw that bug while writings tests for bug 754668 ;))
Comment on attachment 624065 [details] [diff] [review] Patch v1 r=me
I had to fix a test in the patch I pushed and other tests will come with bug 754668.
Please follow the tree rules when landing on inbound (posting a changeset link, setting target milestone, etc.) https://hg.mozilla.org/integration/mozilla-inbound/rev/cdf1b1234957 https://hg.mozilla.org/mozilla-central/rev/cdf1b1234957