Skip to content

Commit

Permalink
Re-adding Firefox preferences json file for legacy anonymous profile …
Browse files Browse the repository at this point in the history
…creation
  • Loading branch information
jimevans committed Mar 16, 2020
1 parent deda399 commit 3842544
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ generated_assembly_info(
"//javascript/atoms/fragments:find-elements.js",
"//javascript/atoms/fragments:is-displayed.js",
"//javascript/webdriver/atoms:get-attribute.js",
"//third_party/js/selenium:webdriver_json",
],
target_frameworks = [
"{}".format(framework),
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Firefox/FirefoxProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private void UpdateUserPreferences()

private void ReadDefaultPreferences()
{
using (Stream defaultPrefsStream = ResourceUtilities.GetResourceStream("webdriver.json", "WebDriver.FirefoxPreferences"))
using (Stream defaultPrefsStream = ResourceUtilities.GetResourceStream("webdriver_prefs.json", "WebDriver.FirefoxPreferences"))
{
using (StreamReader reader = new StreamReader(defaultPrefsStream))
{
Expand Down

0 comments on commit 3842544

Please sign in to comment.