Firefox uses a special copying method to share data between different places safely. If something can't be copied safely or looks risky, it becomes a restricted object.
This keeps important information safe and also from being changed, making sure extensions don’t share secure data with web pages.