mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1005245 Remove now redundant test harness code. r=nperriault
This commit is contained in:
parent
1b9e04b658
commit
4367fa8b0c
@ -15,28 +15,6 @@
|
||||
<div id="messages"></div>
|
||||
<div id="fixtures"></div>
|
||||
<!-- libs -->
|
||||
<script>
|
||||
// Components won't load in unprivileged space, faking this one.
|
||||
var FirefoxCom = {
|
||||
requestSync: function(action) {
|
||||
if (action === 'getLocale')
|
||||
return "en-US";
|
||||
|
||||
if (action === 'getStrings')
|
||||
return '{}';
|
||||
},
|
||||
getLocale: function() {
|
||||
return "en-US";
|
||||
},
|
||||
getStrings: function() {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
window.Components = {fake: true, utils: {import: function(){}}};
|
||||
window.Services = {fake: true, prefs: {getCharPref: function() {
|
||||
return "http://example.com";
|
||||
}}};
|
||||
</script>
|
||||
<script src="../../content/libs/l10n.js"></script>
|
||||
<script src="../../content/shared/libs/jquery-2.1.0.js"></script>
|
||||
<script src="../../content/shared/libs/lodash-2.4.1.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user