> The way we are exposing things right now, Crosswalk creates the object. If
> the behavior makes sense, we could simply change it to make that object
> read-only after the JS API code ran.
Do you want to mark root object read-only unconditionally? It can satisfy the
Tizen Device API needs. But I'm not sure whether all Spec define read-only of
root.
Alternatively, extension framework could offer a new api bool read_only const {
return read_only_; }
By default, return true, so that it won't break the existing extensions.
Thanks,
Halton.
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev