From 0647850ec71c0ed4a3390a1f70bcfdea0628a8ec Mon Sep 17 00:00:00 2001 From: Malini Das Date: Thu, 12 Jul 2012 11:01:20 -0400 Subject: [PATCH] Bug 771224 - use chrome:// instead of loading remote xul. r=jgriffin --- testing/marionette/Makefile.in | 4 ++++ .../marionette/client/marionette/{www => chrome}/test.xul | 4 ++-- .../marionette/client/marionette/{www => chrome}/test2.xul | 0 .../marionette/{www => chrome}/test_nested_iframe.xul | 0 testing/marionette/client/marionette/geckoinstance.py | 3 +-- .../marionette/client/marionette/tests/unit/test_click.py | 7 +------ .../client/marionette/tests/unit/test_elementState.py | 7 +------ .../client/marionette/tests/unit/test_findelement.py | 7 +------ .../client/marionette/tests/unit/test_getattr.py | 7 +------ .../client/marionette/tests/unit/test_selected.py | 7 +------ .../client/marionette/tests/unit/test_switch_frame.py | 7 +------ .../marionette/client/marionette/tests/unit/test_text.py | 7 +------ testing/marionette/jar.mn | 5 +++++ 13 files changed, 19 insertions(+), 46 deletions(-) rename testing/marionette/client/marionette/{www => chrome}/test.xul (78%) rename testing/marionette/client/marionette/{www => chrome}/test2.xul (100%) rename testing/marionette/client/marionette/{www => chrome}/test_nested_iframe.xul (100%) diff --git a/testing/marionette/Makefile.in b/testing/marionette/Makefile.in index 87715034b70c..3133f75cf6c1 100644 --- a/testing/marionette/Makefile.in +++ b/testing/marionette/Makefile.in @@ -15,4 +15,8 @@ ifdef ENABLE_MARIONETTE $(NULL) endif +ifdef ENABLE_TESTS + DEFINES += -DENABLE_TESTS +endif + include $(topsrcdir)/config/rules.mk diff --git a/testing/marionette/client/marionette/www/test.xul b/testing/marionette/client/marionette/chrome/test.xul similarity index 78% rename from testing/marionette/client/marionette/www/test.xul rename to testing/marionette/client/marionette/chrome/test.xul index 3980b3506db6..3b0203d090c1 100644 --- a/testing/marionette/client/marionette/www/test.xul +++ b/testing/marionette/client/marionette/chrome/test.xul @@ -16,6 +16,6 @@ -