Revert "Merge pull request #8915 from crdlc/bug-856584"

This reverts commit ee0bef61c0a25c806dd1eec5a4e047bc418a5f73.
Revert "Bug 853799 - [Dialer] Fixing the Facebook synchronization (regression of 845487) (r=jmcanterafonseca).(cherry picked from commit 9718acef2680ac58b83160bdb5804fcbb3993a19)"

This reverts commit 816d76e531b5ab6c15fdadcf7f1bc61e45f6ba11.
Revert "Bug 845487 - Dialer responds to cross-origin messages without verifying the source (exploitable) (r=crdlc)(cherry picked from commit 169a4bfb2e19a3f015373c059b7ff90af4965eed)"

This reverts commit 956aad060be1116c91f33295dae1910214538829.
Bug 845487 - Dialer responds to cross-origin messages without verifying the source (exploitable) (r=crdlc)(cherry picked from commit 169a4bfb2e19a3f015373c059b7ff90af4965eed)
(cherry picked from commit 226541671ecd9fbd2266af8c278b89732fce1fa3)
Bug 853799 - [Dialer] Fixing the Facebook synchronization (regression of 845487) (r=jmcanterafonseca).(cherry picked from commit 9718acef2680ac58b83160bdb5804fcbb3993a19)
(cherry picked from commit 9233eec3063dfd826efb9b59b648af1e1b53e383)
Bug 856584 - Regression 845487 - postMessage for workers does not suppor...(cherry picked from commit 4fbf53318c32e27cdbf79ee23955298860ed42e7)(cherry picked from commit da97273e1dc6bbfde20f026834bd0388cde56b91)