gecko-dev/layout/reftests/xul-document-load
Brendan Dahl 84f1f82f3d Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron
This will have two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

One test (404149-1.xul) is now disabled, since it fails when loaded as
chrome. Bug 1557383 was filed to address this.

Differential Revision: https://phabricator.services.mozilla.com/D33986

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:33 +00:00
..
readme.txt
reference-green-window.xul
reftest.list Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron 2019-07-09 19:40:33 +00:00
test003.css
test003.xul
test004.css
test004.xul
test005.css
test005.js
test005.xul
test006-007.js
test006.css
test006.xul
test008.xul
test010.css
test010.xul
test012-1.css
test012-2.css
test012.xul
test013-1-import.css
test013-1.css
test013-2.css
test013.xul
test022.xul

readme.txt

This directory contains various XUL document (mozilla/dom/xul/document) testcases for reftest.

test003: Checks that dynamically removing the stylesheet PI from an inline
         script has expected effect.

test004: Same as test003, but removing the stylesheet PI happens from a "load"
         event handler.

test005: Same as test003, but removing the stylesheet PI happens from a top-level
         script in an external JS file.

test006: Simple <?xml-stylesheet ?> instruction in the prolog has an effect and exists
         in the DOM.

test008: Handle stylesheet PIs pointing to nonexistent resources gracefully.

test010: PIs in the master document, outside the prolog, don't have any effect but get
         added to the DOM.

test012: Tests that sheets references from <?xml-stylesheet ?> PIs are added to the
         document in the same order as the PIs themselves are in - the simple case.

test013: Tests the same thing as #012, but for the case when the first sheet contains
         an @import statement, which makes it -finish- loading earlier than the
         second sheet.

test022: (bug 369828) <html:style> works in XUL documents