Fix #13993. Save result of native inline handlers. Close gh-1368.