Roughly, yes. Mozilla imports Google's code and adapts it to their needs. I am not sure whether the sandbox in Mozilla provides the same protections yet but the codebase is the same.
More information about formatting options
Drupal Design and Maintenance by New Eon Media
Drupal Development by Chapter Three