epiphany r8232 - branches/gnome-2-22/embed/mozilla
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8232 - branches/gnome-2-22/embed/mozilla
- Date: Sun, 18 May 2008 21:50:32 +0000 (UTC)
Author: chpe
Date: Sun May 18 21:50:31 2008
New Revision: 8232
URL: http://svn.gnome.org/viewvc/epiphany?rev=8232&view=rev
Log:
Fix bug #453379.
Modified:
branches/gnome-2-22/embed/mozilla/mozilla-embed.cpp
Modified: branches/gnome-2-22/embed/mozilla/mozilla-embed.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/mozilla-embed.cpp (original)
+++ branches/gnome-2-22/embed/mozilla/mozilla-embed.cpp Sun May 18 21:50:31 2008
@@ -1374,8 +1374,14 @@
mozilla_embed_security_level (PRUint32 state)
{
EphyEmbedSecurityLevel level;
+ const PRUint32 mask = (nsIWebProgressListener::STATE_IS_SECURE |
+ nsIWebProgressListener::STATE_IS_BROKEN |
+ nsIWebProgressListener::STATE_IS_INSECURE |
+ nsIWebProgressListener::STATE_SECURE_HIGH |
+ nsIWebProgressListener::STATE_SECURE_MED |
+ nsIWebProgressListener::STATE_SECURE_LOW);
- switch (state)
+ switch (state & mask)
{
case nsIWebProgressListener::STATE_IS_INSECURE:
level = EPHY_EMBED_STATE_IS_INSECURE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]