mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
This commit is contained in:
parent
b6f0383b26
commit
745e1809b0
63 changed files with 157 additions and 83 deletions
|
|
@ -32,6 +32,8 @@ support-files =
|
|||
doc_markup_void_elements.xhtml
|
||||
doc_markup_whitespace.html
|
||||
doc_markup_xul.xul
|
||||
doc_markup_update-on-navigtion_1.html
|
||||
doc_markup_update-on-navigtion_2.html
|
||||
head.js
|
||||
helper_attributes_test_runner.js
|
||||
helper_events_test_runner.js
|
||||
|
|
|
|||
|
|
@ -5,9 +5,8 @@
|
|||
|
||||
// Test that markup view handles page navigation correctly.
|
||||
|
||||
const SCHEMA = "data:text/html;charset=UTF-8,";
|
||||
const URL_1 = SCHEMA + "<div id='one' style='color:red;'>ONE</div>";
|
||||
const URL_2 = SCHEMA + "<div id='two' style='color:green;'>TWO</div>";
|
||||
const URL_1 = URL_ROOT + "doc_markup_update-on-navigtion_1.html";
|
||||
const URL_2 = URL_ROOT + "doc_markup_update-on-navigtion_2.html";
|
||||
|
||||
add_task(function* () {
|
||||
let {inspector, testActor} = yield openInspectorForURL(URL_1);
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
<div id='one' style='color:red;'>ONE</div>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<div id='two' style='color:green;'>TWO</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue