Closed Bug 1650163 Opened 4 years ago Closed 4 years ago

RemoteType should be nsCString

Categories

(Core :: DOM: Content Processes, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Fission Milestone M6b
Tracking Status
firefox80 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(3 files, 1 obsolete file)

We never put wide characters into RemoteType values, and most code which works with them in C++ would benefit from declaring them as narrow nsCString strings. This bug is to track switching them over.

Attachment #9161092 - Attachment description: Bug 1650163 - Part 3: Add a NOT_REMOTE_TYPE define to clarify calling code, → Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code,
Attachment #9161093 - Attachment description: Bug 1650163 - Part 4: Move REMOTE_TYPE defines to a separate header, → Bug 1650163 - Part 3: Move REMOTE_TYPE defines to a separate header,
Attachment #9161091 - Attachment is obsolete: true
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5fb444c35764 Part 1: Switch native remoteType values to nsCString, r=farre https://hg.mozilla.org/integration/autoland/rev/c41753a56f5a Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre https://hg.mozilla.org/integration/autoland/rev/4a21afb65254 Part 3: Move REMOTE_TYPE defines to a separate header, r=farre
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79141707d47b Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi https://hg.mozilla.org/integration/autoland/rev/3d2b6908447a Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre https://hg.mozilla.org/integration/autoland/rev/51d7c644a1e6 Part 3: Move REMOTE_TYPE defines to a separate header, r=farre
Backout by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee89deeb4fb6 Backed out 3 changesets for causing bustages in nsContentSecurityManager.cpp
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4203bfefb531 Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi https://hg.mozilla.org/integration/autoland/rev/31d4b51243f7 Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre https://hg.mozilla.org/integration/autoland/rev/a41eb208ee64 Part 3: Move REMOTE_TYPE defines to a separate header, r=farre
Flags: needinfo?(nika)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: