Bug 933883 - Only assert the length of the stored password text if the editor is able to get that information; r=roc

--HG--
extra : rebase_source : 16c72a8c46141322cf35c210e7eb10234fe292f2