Explorar o código

Add todo for merging preferences with user's

Daniel Gempesaw %!s(int64=10) %!d(string=hai) anos
pai
achega
f2b954316c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/Selenium/Firefox/Profile.pm

+ 2 - 0
lib/Selenium/Firefox/Profile.pm

@@ -198,6 +198,8 @@ sub add_webdriver {
     }
     my $webdriver_prefs = decode_json($json);
 
+    # TODO: Let the user's mutable preferences persist instead of
+    # overwriting them here.
     $self->set_preference(%{ $webdriver_prefs->{mutable} });
     $self->set_preference(%{ $webdriver_prefs->{frozen} });