Bug 889602 - Set ProfD directory within b2g. r=dhylands

This commit is contained in:
David Clarke 2013-07-09 08:57:26 -04:00
Родитель 5c9f52adb2
Коммит f0f30baa1f
2 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -61,6 +61,13 @@ DirectoryProvider.prototype = {
persistent.value = true;
return file;
}
if (prop == "ProfD") {
let file = Cc["@mozilla.org/file/local;1"]
.createInstance(Ci.nsILocalFile);
file.initWithPath(LOCAL_DIR+"/tests/profile");
persistent.value = true;
return file;
}
if (prop == "coreAppsDir") {
let file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsIFile)
file.initWithPath("/system/b2g");

Просмотреть файл

@ -53,10 +53,6 @@
"content/events/test/test_continuous_wheel_events.html":"",
"content/events/test/test_dom_wheel_event.html":"",
"content/html/content/test/forms/test_input_file_picker.html":"",
"content/html/content/test/forms/test_max_attribute.html":"",
"content/html/content/test/forms/test_min_attribute.html":"",
"content/html/content/test/forms/test_required_attribute.html":"",
"content/html/content/test/forms/test_step_attribute.html":"",
"content/html/content/test/forms/test_validation.html":"",
"content/html/content/test/test_bug209275.xhtml":"",
"content/html/content/test/test_bug430351.html":"",
@ -64,8 +60,6 @@
"content/html/content/test/test_bug481335.xhtml":"",
"content/html/content/test/test_bug523771.html":"",
"content/html/content/test/test_bug561636.html":"",
"content/html/content/test/test_bug590353-2.html":"",
"content/html/content/test/test_bug598643.html":"",
"content/html/content/test/test_bug612730.html":"",
"content/html/content/test/test_bug613113.html":"",
"content/html/content/test/test_bug615833.html":"",
@ -102,7 +96,6 @@
"content/base/test/test_bug166235.html":"",
"content/base/test/test_bug326337.html":"",
"content/base/test/test_bug330925.xhtml":"",
"content/base/test/test_bug403852.html":"",
"content/base/test/test_bug419527.xhtml":"",
"content/base/test/test_bug422403-1.html":"",
"content/base/test/test_bug422537.html":"",
@ -122,7 +115,6 @@
"content/base/test/test_child_process_shutdown_message.html":"",
"content/base/test/test_copypaste.html":"",
"content/base/test/test_csp_redirects.html":"",
"content/base/test/test_fileapi.html":"",
"content/base/test/test_fileapi_slice.html":"",
"content/base/test/test_messagemanager_assertpermission.html":"",
"content/base/test/test_mixed_content_blocker.html":"",