Title: [100582] trunk/Source/WebKit/chromium
Revision
100582
Author
[email protected]
Date
2011-11-17 01:27:04 -0800 (Thu, 17 Nov 2011)

Log Message

[Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
https://bugs.webkit.org/show_bug.cgi?id=72580

Reviewed by Darin Fisher.

We've removed the concept of empty security origins from WebKit because
it doesn't exist in the specs.  Now it's time to remove it from the API.

* public/WebSecurityOrigin.h:
(WebKit::WebSecurityOrigin::isUnique):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (100581 => 100582)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-11-17 09:21:46 UTC (rev 100581)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-11-17 09:27:04 UTC (rev 100582)
@@ -1,3 +1,16 @@
+2011-11-17  Adam Barth  <[email protected]>
+
+        [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
+        https://bugs.webkit.org/show_bug.cgi?id=72580
+
+        Reviewed by Darin Fisher.
+
+        We've removed the concept of empty security origins from WebKit because
+        it doesn't exist in the specs.  Now it's time to remove it from the API.
+
+        * public/WebSecurityOrigin.h:
+        (WebKit::WebSecurityOrigin::isUnique):
+
 2011-11-15  Pavel Feldman  <[email protected]>
 
         Web Inspector: introduce Debugger domain capabilities concept.

Modified: trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h (100581 => 100582)


--- trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h	2011-11-17 09:21:46 UTC (rev 100581)
+++ trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h	2011-11-17 09:27:04 UTC (rev 100582)
@@ -69,7 +69,10 @@
     WEBKIT_EXPORT WebString host() const;
     WEBKIT_EXPORT unsigned short port() const;
 
-    // The empty WebSecurityOrigin is the least privileged WebSecurityOrigin.
+    // A unique WebSecurityOrigin is the least privileged WebSecurityOrigin.
+    bool isUnique() const { return isEmpty(); }
+
+    // FIXME: Remove this function once there are no more callers.
     WEBKIT_EXPORT bool isEmpty() const;
 
     // Returns true if this WebSecurityOrigin can script objects in the given
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to