Closed
Bug 976937
Opened 11 years ago
Closed 11 years ago
Fix usage of Bareword DOM constructors in Gaia
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(1 file)
These will break with bug 916644. The solution is straightforward - we just need to add |new|.
bz found a couple of these on mxr, and I've written a hacky script to grep the gaia tree for all uses of interfaces defined in dom/webidl/* that don't use |new|. Patch coming shortly.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8383406 -
Flags: review?(felash)
Comment 2•11 years ago
|
||
Comment on attachment 8383406 [details] [review]
pull request v2
Nothing is in the app I'm the owner of :) Redirecting to the appropriate peers.
- Andrew for E-mail
- Zac for the Python Marionette tests
- Kevin for the Browser Helper
Attachment #8383406 -
Flags: review?(zcampbell)
Attachment #8383406 -
Flags: review?(kgrandon)
Attachment #8383406 -
Flags: review?(felash)
Attachment #8383406 -
Flags: review?(bugmail)
Comment 3•11 years ago
|
||
Comment on attachment 8383406 [details] [review]
pull request v2
All the files under apps/email/js/ext/ are autogenerated byproducts of gaia-email-libs-and-more and cannot be modified directly. The actual spots to fix are:
https://github.com/mozilla-b2g/jswbxml/blob/master/wbxml.js#L423
https://github.com/mozilla-b2g/gaia-email-libs-and-more/blob/master/data/lib/node-buffer.js#L106
https://github.com/mozilla-b2g/gaia-email-libs-and-more/blob/master/data/lib/node-buffer.js#L155
Of course, since you are just being a nice person and propagating these changes is a hassle, I'll take care of this now. This does need to happen in its own commit for tracking/backout/other sanity, however. So I'm going to r- the patch so it can have these lines taken out. But I'm going to go file a gaia e-mail bug to block the same bug and fix it all now with r=bholley on it through the shell game of deferring the review to you and then deciding that it counts as a review if the net effect of my changes is exactly what was in your pull request for email.
Attachment #8383406 -
Flags: review?(bugmail) → review-
Comment 4•11 years ago
|
||
(In reply to Andrew Sutherland (:asuth) from comment #3)
> Of course, since you are just being a nice person and propagating these
> changes is a hassle, I'll take care of this now.
Bug 978005 filed, fixed, and landed. I remembered I could just attribute the patchy bits to :bholley and then I got to be the reviewer, so no shell game.
It turns out that the pop3.js changes are for dead code which I discovered in the process, so bug 978012 was filed in e-mail to remove those and change the installation process to avoid that happening again in the future. Patch for that going up shortly.
Comment 5•11 years ago
|
||
Comment on attachment 8383406 [details] [review]
pull request v2
r+ for my part
Attachment #8383406 -
Flags: review?(zcampbell) → review+
Updated•11 years ago
|
Attachment #8383406 -
Flags: review?(kgrandon) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Merged. master: 9a5203ef10724f15599551a41dc28f959aca6037
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•