The changes mostly affect the update process - events are sent at different time, and caches are associated with documents differently.
Created attachment 27102 [details]
Comment on attachment 27102 [details]
> + it = m_pendingMasterResourceLoaders.find(loader);
> + if (it != m_pendingMasterResourceLoaders.end())
> + m_pendingMasterResourceLoaders.remove(it);
This could just be m_pendingMasterResourceLoaders.remove(loader);
Looks great otherwise! r=me
Committed revision 40354.