From e778dd0ac9a67fa9f5b89be85fb969fea993fe70 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 18 Nov 2005 19:27:28 +0000 Subject: Add chrome: and resource: to the safe list; otherwise forms and scrollbars 2005-11-18 Christian Persch * embed/mozilla/EphyContentPolicy.cpp: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * src/epiphany.defs: Add chrome: and resource: to the safe list; otherwise forms and scrollbars break. Fixes bug #316498. --- ChangeLog | 1 + src/epiphany.defs | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d9a60405..ed22a2e17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * embed/mozilla/EphyContentPolicy.cpp: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: + * src/epiphany.defs: Add chrome: and resource: to the safe list; otherwise forms and scrollbars break. Fixes bug #316498. diff --git a/src/epiphany.defs b/src/epiphany.defs index 3c15006a9..c4349ba9b 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -245,22 +245,6 @@ ) ) -(define-enum ContentCheckType - (in-module "Ephy") - (c-name "EphyContentCheckType") - (gtype-id "EPHY_TYPE_CONTENT_CHECK_TYPE") - (values - '("other" "EPHY_CONTENT_CHECK_TYPE_OTHER") - '("script" "EPHY_CONTENT_CHECK_TYPE_SCRIPT") - '("image" "EPHY_CONTENT_CHECK_TYPE_IMAGE") - '("stylesheet" "EPHY_CONTENT_CHECK_TYPE_STYLESHEET") - '("object" "EPHY_CONTENT_CHECK_TYPE_OBJECT") - '("document" "EPHY_CONTENT_CHECK_TYPE_DOCUMENT") - '("subdocument" "EPHY_CONTENT_CHECK_TYPE_SUBDOCUMENT") - '("refresh" "EPHY_CONTENT_CHECK_TYPE_REFRESH") - ) -) - (define-flags EmbedNetState (in-module "Ephy") (c-name "EphyEmbedNetState") -- cgit v1.2.3