Update test_bug379959.html, meanwhile also added test_bug379959_legacy.html to test the old behavior.