зеркало из https://github.com/mozilla/gecko-dev.git
5a95757626
Two about:blank codebase URI principals are only equal if their object identities are the same, but not if their string serializations happen to be equal (as they always will be.) In order to ensure that we always get this right in places where we compare the origin properties of two principals to check for their equality, we should ensure that the origin getter would throw so that we never incorrectly conclude that two such principals are equal. We will soon start returning a null principal instead of a codebase principal under this situation. |
||
---|---|---|
.. | ||
gtest | ||
mochitest | ||
unit |