[whatwg] Fixing undo on the Web - UndoManager and Transaction

Ryosuke Niwa rniwa at webkit.org
Wed Sep 21 13:35:55 PDT 2011


On Wed, Sep 21, 2011 at 1:30 PM, timeless <timeless at gmail.com> wrote:

> There's nothing wrong with the idl specifying apply(DOMString reason);
>
> Reason will be "" for normal applications and "reapply" for reapply cases.
>
> That still gives you a truth value, and it gives something more
> meaningful to callees.
>

I rather not use string for this argument. If you think boolean argument is
confusing, then the right approach is to get rid of this argument
altogether.

- Ryosuke



More information about the whatwg mailing list