Services.xulStore.persist is the new document.persist

47 views
Skip to first unread message

Brian Grinstead

unread,
Jul 23, 2018, 3:26:47 PM7/23/18
to firefox-dev
Instead of calling `document.persist(id, attrName)`, please call `Services.xulStore.persist(node, attrName)` instead. The new function was added and all existing callers were migrated in Bug 1476030. I'm planning to remove document.persist from XULDocument in Bug 1476678.

This change helps reduce the differences between XULDocument and HTMLDocument, which is important for top level HTML window support (Bug 1453783).

Thanks,
Brian
_______________________________________________
firefox-dev mailing list
firef...@mozilla.org
https://mail.mozilla.org/listinfo/firefox-dev
Reply all
Reply to author
Forward
0 new messages