mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-01 16:58:12 +02:00
As per comments on this diff about getTaskbarTabShortcutPath () I added validation on the C++ side to ensure that the shortcut name passed in can be used as a filename. Tested the changes in the browser console window and confirmed that regular names "abcd" work and confirmed that bad names ("..\\something", ".\\s", ".s", "some?") failed and generated an exception in Javascript.
Differential Revision: https://phabricator.services.mozilla.com/D199590
|
||
|---|---|---|
| .. | ||
| content | ||
| search-provider-files | ||
| test | ||
| HeadlessShell.sys.mjs | ||
| jar.mn | ||
| moz.build | ||
| nsGNOMEShellDBusHelper.cpp | ||
| nsGNOMEShellDBusHelper.h | ||
| nsGNOMEShellSearchProvider.cpp | ||
| nsGNOMEShellSearchProvider.h | ||
| nsGNOMEShellService.cpp | ||
| nsGNOMEShellService.h | ||
| nsIGNOMEShellService.idl | ||
| nsIMacShellService.idl | ||
| nsIShellService.idl | ||
| nsIWindowsShellService.idl | ||
| nsMacShellService.cpp | ||
| nsMacShellService.h | ||
| nsShellService.h | ||
| nsToolkitShellService.h | ||
| nsWindowsShellService.cpp | ||
| nsWindowsShellService.h | ||
| ScreenshotChild.sys.mjs | ||
| ShellService.sys.mjs | ||
| WindowsDefaultBrowser.cpp | ||
| WindowsDefaultBrowser.h | ||
| WindowsUserChoice.cpp | ||
| WindowsUserChoice.h | ||