Title: [106064] trunk/Source/WebCore
Revision
106064
Author
[email protected]
Date
2012-01-26 16:54:30 -0800 (Thu, 26 Jan 2012)

Log Message

The registration of schemes is currently racey as they are not registered from the main thread. 
Getting rid of the assert that ensures that we are registering from the main thread until we can fix this.

Thank you ap@webkit for helping us identify this.

https://bugs.webkit.org/show_bug.cgi?id=77160

Reviewed by Adam Barth.

* platform/SchemeRegistry.cpp:
(WebCore::CORSEnabledSchemes):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (106063 => 106064)


--- trunk/Source/WebCore/ChangeLog	2012-01-27 00:42:49 UTC (rev 106063)
+++ trunk/Source/WebCore/ChangeLog	2012-01-27 00:54:30 UTC (rev 106064)
@@ -1,3 +1,17 @@
+2012-01-26  Cris Neckar  <[email protected]>
+
+        The registration of schemes is currently racey as they are not registered from the main thread. 
+        Getting rid of the assert that ensures that we are registering from the main thread until we can fix this.
+
+        Thank you ap@webkit for helping us identify this.
+
+        https://bugs.webkit.org/show_bug.cgi?id=77160
+
+        Reviewed by Adam Barth.
+
+        * platform/SchemeRegistry.cpp:
+        (WebCore::CORSEnabledSchemes):
+
 2012-01-26  Anders Carlsson  <[email protected]>
 
         We don't need to always repaint overlay scrollbars if they're in layers

Modified: trunk/Source/WebCore/platform/SchemeRegistry.cpp (106063 => 106064)


--- trunk/Source/WebCore/platform/SchemeRegistry.cpp	2012-01-27 00:42:49 UTC (rev 106063)
+++ trunk/Source/WebCore/platform/SchemeRegistry.cpp	2012-01-27 00:54:30 UTC (rev 106064)
@@ -155,7 +155,7 @@
 
 static URLSchemesMap& CORSEnabledSchemes()
 {
-    ASSERT(isMainThread());
+    // FIXME: http://bugs.webkit.org/show_bug.cgi?id=77160  
     DEFINE_STATIC_LOCAL(URLSchemesMap, CORSEnabledSchemes, ());
 
     if (CORSEnabledSchemes.isEmpty()) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to