Revision 593dea5f1b8e9d90bbcc20adcafe370e8f0b0564 authored by James Graham on 12 April 2018, 12:48:29 UTC, committed by James Graham on 12 April 2018, 12:48:29 UTC
Firefox requires a prefs file to be loaded to ensure that it doesn't make external network connections, and to make sure that other settings are appropriate for testing. Previously we always used the version of the prefs file from master, which is usually fine for nightly builds, but doesn't work with release builds if it happens that a pref changed. This change uses the correct release version of the prefs file for firefox releases and beta versions. It continues to use the master version for any nightly build; this could be fixed in some cases if we are able to access the actual commit hash used to build Firefox, but probably isn't too bad an approximation. The caching algorithm was changed so that release versions of the prefs are cached forever, and the nightly version is updated once per day (although this doesn't quite match the nightly release cadence, it's only going to fail in edge cases where the prefs were changed in the file, but the nightly version was not yet updated, of vice-versa.)
1 parent e504871
aria-relevant-manual.html
<!doctype html>
<html>
<head>
<title>aria-relevant</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
<script>
setup({explicit_timeout: true, explicit_done: true });
var theTest = new ATTAcomm(
{
"steps" : [
{
"element" : "test",
"test" : {
"ATK" : [
[
"property",
"objectAttributes",
"contains",
"relevant:additions"
],
[
"property",
"objectAttributes",
"contains",
"container-relevant:additions"
]
],
"AXAPI" : [
[
"property",
"AXARIARelevant",
"is",
"additions"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"relevant:additions"
],
[
"property",
"objectAttributes",
"contains",
"container-relevant:additions"
]
],
"UIA" : [
[
"property",
"AriaProperties.relevant",
"is",
"additions"
]
]
},
"title" : "step 1",
"type" : "test"
},
{
"element" : "child",
"test" : {
"ATK" : [
[
"property",
"objectAttributes",
"contains",
"container-relevant:additions"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"container-relevant:additions"
]
]
},
"title" : "step 2",
"type" : "test"
}
],
"title" : "aria-relevant"
}
) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-relevant.</p>
<div role='group' id='test' aria-relevant='additions' aria-live='polite'>
<div role='group' id='child'>content</div>
</div>
<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
Computing file changes ...