Closed
Bug 1338915
Opened 7 years ago
Closed 7 years ago
Compression-related error message in type.py is trimmed when it shouldn't be
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
Here is some code from type.py: if (mtype.compress and (not mtype.isAsync() or mtype.isCtor() or mtype.isDtor())): self.error( loc, "message `%s' in protocol `%s' requests compression but is not async or is special (ctor or dtor)", mname[:-len('constructor')], pname) The message name |mname| is trimmed by the length of "constructor", but mname isn't necessarily a constructor: it can also be a non-async message or a delete message (a "destructor"). In those two cases, mname should not be trimmed.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → continuation
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8837209 [details] Bug 1338915 - Print a more specific message for invalid compression. https://reviewboard.mozilla.org/r/112400/#review114130
Attachment #8837209 -
Flags: review?(kchen) → review+
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5839de2e4ec7 Print a more specific message for invalid compression. r=kanru
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5839de2e4ec7
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•