Title: [201409] trunk/Source/WebCore
Revision
201409
Author
[email protected]
Date
2016-05-25 16:18:29 -0700 (Wed, 25 May 2016)

Log Message

REGRESSION (r191531): Web Inspector: WebSQL databases are no longer shown when first opening Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=158096
<rdar://problem/26454671>

Patch by Joseph Pecoraro <[email protected]> on 2016-05-25
Reviewed by Brian Burg.

* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didOpenDatabase):
Remove the fast return errantly added in r191531. InspectorDatabaseAgent
wants to track databases, even before a frontend may be open, so that
on first open it can inform the frontend about open databases.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201408 => 201409)


--- trunk/Source/WebCore/ChangeLog	2016-05-25 23:11:56 UTC (rev 201408)
+++ trunk/Source/WebCore/ChangeLog	2016-05-25 23:18:29 UTC (rev 201409)
@@ -1,3 +1,17 @@
+2016-05-25  Joseph Pecoraro  <[email protected]>
+
+        REGRESSION (r191531): Web Inspector: WebSQL databases are no longer shown when first opening Web Inspector
+        https://bugs.webkit.org/show_bug.cgi?id=158096
+        <rdar://problem/26454671>
+
+        Reviewed by Brian Burg.
+
+        * inspector/InspectorInstrumentation.h:
+        (WebCore::InspectorInstrumentation::didOpenDatabase):
+        Remove the fast return errantly added in r191531. InspectorDatabaseAgent
+        wants to track databases, even before a frontend may be open, so that
+        on first open it can inform the frontend about open databases.
+
 2016-05-25  Zalan Bujtas  <[email protected]>
 
         Setting overflow:hidden does not always repaint clipped content.

Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.h (201408 => 201409)


--- trunk/Source/WebCore/inspector/InspectorInstrumentation.h	2016-05-25 23:11:56 UTC (rev 201408)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.h	2016-05-25 23:18:29 UTC (rev 201409)
@@ -1040,7 +1040,6 @@
 
 inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, RefPtr<Database>&& database, const String& domain, const String& name, const String& version)
 {
-    FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didOpenDatabaseImpl(*instrumentingAgents, WTFMove(database), domain, name, version);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to