webview: adding load-commit event

This commit is contained in:
Robo 2015-08-05 17:20:23 +05:30
parent 6b8d4a43a3
commit 0a7a4c0d0a
7 changed files with 27 additions and 4 deletions

View file

@ -120,7 +120,7 @@ class SrcAttribute extends WebViewAttribute
''
setValueIgnoreMutation: (value) ->
WebViewAttribute::setValueIgnoreMutation value
WebViewAttribute::setValueIgnoreMutation.call(this, value)
# takeRecords() is needed to clear queued up src mutations. Without it, it
# is possible for this change to get picked up asyncronously by src's
# mutation observer |observer|, and then get handled even though we do not