Per-extension behavior history deletion.

Fix a type in parentNode.

review @adrifelt