Use HashMap<OwnPtr> in OriginAccessMap
Created attachment 120700 [details] Patch
Committed r103782: <http://trac.webkit.org/changeset/103782>
This patch seemed to cause crashes on the chromium bots: 2011-12-28 15:03:42,804 2698 single_test_runner.py:194 DEBUG worker/0 Stacktrace for http/tests/xmlhttprequest/origin-whitelisting-removal.html: CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/get.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. base::debug::StackTrace::StackTrace() [0x5b6fee] base::(anonymous namespace)::StackDumpSignalHandler() [0x59fe39] 0x7ffd1156eaf0 WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry() [0xd8eaea] WebKit::WebSecurityPolicy::removeOriginAccessWhitelistEntry() [0x46c50a] LayoutTestController::removeOriginAccessWhitelistEntry() [0x4335e0] CppBoundClass::invoke() [0x424548] WebCore::npObjectInvokeImpl() [0xb632e1] WebCore::npObjectMethodHandler() [0xb633ce] v8::internal::Builtin_HandleApiCall() [0x67d11d] 0x24360d20420e 2011-12-28 15:03:42,805 2673 printing.py:462 INFO http/tests/xmlhttprequest/origin-whitelisting-removal.html -> unexpected DumpRenderTree crash 2011-12-28 15:03:42,806 2698 worker.py:158 DEBUG worker/0 killing driver 2011-12-28 15:03:42,806 2698 worker.py:180 DEBUG worker/0 http/tests/xmlhttprequest/origin-whitelisting-removal.html failed: 2011-12-28 15:03:42,806 2698 worker.py:182 DEBUG worker/0 DumpRenderTree crashed
Reopening to attach new patch.
Created attachment 120732 [details] Patch
Comment on attachment 120732 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120732&action=review > Source/WebCore/page/SecurityPolicy.cpp:-164 > - delete list; I've missed removing this delete in the first patch.
Committed r103807: <http://trac.webkit.org/changeset/103807>