зеркало из https://github.com/mozilla/pjs.git
Bug 671148 - De-bogosify test_EvalInSandbox.xul's handling of iframes. r=peterv
This commit is contained in:
Родитель
939857358a
Коммит
d8cc757432
|
@ -51,6 +51,7 @@ _CHROME_FILES = \
|
|||
test_bug533596.xul \
|
||||
test_doublewrappedcompartments.xul \
|
||||
test_evalInSandbox.xul \
|
||||
file_evalInSandbox.html \
|
||||
test_sandboxImport.xul \
|
||||
test_wrappers.xul \
|
||||
test_bug484459.xul \
|
||||
|
@ -68,7 +69,7 @@ _CHROME_FILES = \
|
|||
test_bug658560.xul \
|
||||
test_APIExposer.xul \
|
||||
test_bug664689.xul \
|
||||
test_precisegc.xul \
|
||||
test_precisegc.xul \
|
||||
$(NULL)
|
||||
|
||||
# Disabled until this test gets updated to test the new proxy based
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<html><body><script>document.foo = 'bar';</script></body></html>
|
|
@ -13,12 +13,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=533596
|
|||
<!-- test results are displayed in the html:body -->
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<iframe type="content"
|
||||
src="http://example.org/tests/js/src/xpconnect/tests/mochitest/file_evalInSandbox.html"
|
||||
<iframe src="http://example.org/tests/js/src/xpconnect/tests/mochitest/file_evalInSandbox.html"
|
||||
onload="checkCrossOrigin(this)">
|
||||
</iframe>
|
||||
<iframe type="content"
|
||||
src="data:text/html,<html><body><script>document.foo %3D 'bar'%3B<%2Fscript><%2Fbody><%2Fhtml>"
|
||||
<iframe src="chrome://mochitests/content/chrome/js/src/xpconnect/tests/chrome/file_evalInSandbox.html"
|
||||
onload="checkSameOrigin(this)">
|
||||
</iframe>
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче