New issue
Advanced search Search tips

Issue 873035 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Add some sort of Mojo attribute to document when an interface/struct needs to be backwards compatible

Project Member Reported by dcheng@chromium.org, Aug 10

Issue description

I think we talked about this a long time ago when page_state.mojom was in the works. I guess we'd implement this as a PRESUBMIT check, and an IDL parser would verify that the before and the after are written in a backwards compatible way?

I'm not sure if we want those for both interfaces and structs, but probably? Enums and unions as well.

To start the naming bikeshed:
StableForSerialization?
Serializable?
Serialized?
BackAndForwardsCompatible?
 
I thought I had filed a bug to track this already, but I can't find it. There's some discussion here:

https://groups.google.com/a/chromium.org/forum/m/#!topic/chromium-mojo/2uZsP1hNrHQ
Cc: -roc...@chromium.org rockot@google.com
Cc: -lhchavez@chromium.org

Sign in to add a comment