mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
move DOM viewer into chrome so that DOM security doesn't f us up again
only a test, not part of the product
This commit is contained in:
parent
1a87908390
commit
a4175fe8a8
@ -5,13 +5,14 @@
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="dialog"
|
||||
onload="onSrcLoaded();"
|
||||
alignment="horizontal"
|
||||
title="DOM Viewer">
|
||||
|
||||
<html:script language="JavaScript" src="DOMDataSourceViewer.js"/>
|
||||
<box align="vertical" flex="30%">
|
||||
<html:input value="resource:/res/samples/rdf/domviewer.html" type="text" name="url" id="url" onkeyup="if (event.which == 13) loadUrl();"/>
|
||||
<html:input value="chrome://domviewer/content/domviewer.html" type="text" name="url" id="url" onkeyup="if (event.which == 13) loadUrl();"/>
|
||||
<html:div>
|
||||
Show:
|
||||
<html:input type="checkbox" onclick="setMode('content', event.target.checked);"/>
|
||||
@ -61,6 +62,6 @@
|
||||
|
||||
</box>
|
||||
<splitter collapse="before" persist="state hidden" chromeclass="extrachrome"/>
|
||||
<html:iframe onload="onSrcLoaded();" name="srcdoc" src="resource:/res/samples/rdf/domviewer.html" flex="73%"/>
|
||||
<html:iframe onload="onSrcLoaded();" name="srcdoc" src="chrome://domviewer/content/domviewer.html" flex="73%"/>
|
||||
|
||||
</window>
|
||||
|
@ -24,7 +24,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = rdfdomds
|
||||
|
||||
SAMPLES_DIR = $(DIST)/bin/res/samples/rdf
|
||||
SAMPLES_DIR = $(DIST)/bin/chrome/domviewer/content/default
|
||||
|
||||
RESOURCE_SAMPLES = \
|
||||
DOMDataSourceViewer.xul \
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
DEPTH=..\..\..\..
|
||||
MODULE=rdfdomds
|
||||
SAMPLES_DIR = $(DIST)/bin/res/samples/rdf
|
||||
SAMPLES_DIR = $(DIST)/bin/chrome/domviewer/chrome/content/default
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user