Align with chromium WebKit API.