Andrew McCreight
1abf078154
Bug 1917892, part 3 - Use SpecialPower.spawn in browser_remoteTroubleshoot.js. r=mconley
...
This is a test of the remote trouble shooting API, which uses a
permission-based WebChannel to allow a website to request about:support
information. The test uses the WebChannelMessageToContent feature of
WebChannels to initiate a request for support information in the webpage,
which then gets the information from the parent and sends it back for
checking.
Before this patch, the information was sent back via a new WebChannel,
test-remote-troubleshooting-backchannel, which has access based on a
principal rather than a permission. This is a problem because the final
subtest checks that the trouble shooting request won't work on an http
webpage, so if we want to block principal-based WebChannels on http
sites as well as permission-based WebChannels, then we won't be able
to report the result.
Therefore, this patch replaces the WebChannel-based backchannel with
a more conventional SpecialPowers.spawn()-based result retrieval. The
web page requests the information, sticks it on a global variable
(behind a promise that waits for the result) and then the parent
process uses SpecialPowers.spawn() to pass it back to the parent.
Before the landing of bug 1275612, there was an additional subtest
that was checking certain properties of the backchannel itself,
so it had to be a WebChannel, but that is removed so now it doesn't
matter how it is implemented.
Differential Revision: https://phabricator.services.mozilla.com/D221694
2024-09-12 20:25:48 +00:00
..
2024-03-19 14:59:20 +00:00
2024-03-19 14:59:20 +00:00
2024-04-08 17:21:01 +00:00
2024-03-19 14:59:20 +00:00
Bug 747301 - remove about:plugins and some other unused plugin-related code, r=mossop,handyman,fluent-reviewers,extension-reviewers,desktop-theme-reviewers,bolsson,dao,geckoview-reviewers,owlish,robwu
2023-10-31 09:11:30 +00:00
2024-03-19 14:59:20 +00:00
2023-09-15 09:16:34 +00:00
2023-09-15 09:16:34 +00:00
2023-09-15 09:16:34 +00:00
2024-03-19 14:59:20 +00:00
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
2024-04-03 10:32:27 +00:00
2024-03-19 14:59:20 +00:00
2023-09-15 09:16:34 +00:00
2024-03-19 14:59:20 +00:00
2024-03-19 14:59:20 +00:00
2023-09-15 09:16:34 +00:00
2024-04-04 15:02:34 +00:00
2023-09-15 09:16:34 +00:00
2024-03-19 14:59:20 +00:00
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
2024-04-03 10:32:27 +00:00
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
2024-04-03 10:32:27 +00:00
2024-03-19 14:59:20 +00:00
2023-06-19 16:12:53 +00:00
2024-02-13 11:26:48 +00:00
2024-03-19 14:59:20 +00:00
2024-03-19 14:59:20 +00:00
2024-01-31 14:52:03 +00:00
2024-05-03 15:20:15 +00:00
2024-04-08 17:21:02 +00:00
2024-03-19 14:59:20 +00:00
Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
2024-01-24 17:03:13 +00:00
2023-09-15 09:16:34 +00:00
2024-03-19 14:59:20 +00:00
2024-04-08 17:21:02 +00:00
Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
2024-01-24 17:03:13 +00:00
2023-10-09 18:20:12 +00:00
2024-03-19 14:59:20 +00:00
Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
2024-01-24 17:03:13 +00:00
2024-02-29 16:30:13 +00:00
2024-09-04 08:18:46 +00:00
2024-03-19 14:59:20 +00:00
2024-03-19 14:59:20 +00:00
Bug 1875090 - Rename BrowserTestUtils.is_visible() to isVisible() r=Gijs,settings-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,sgalich,bytesized,sfoster
2024-01-19 02:15:33 +00:00
2024-04-08 17:21:01 +00:00
2024-01-10 18:55:29 +00:00
2024-09-12 20:25:48 +00:00
Bug 1837176 - Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
2023-07-12 13:38:34 +00:00
2023-09-15 09:16:34 +00:00
2024-04-18 17:20:00 +02:00
2024-04-18 17:20:00 +02:00
2024-03-19 14:59:20 +00:00
Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley
2024-02-28 21:29:39 +00:00
2024-04-18 17:20:00 +02:00
2023-09-15 09:16:34 +00:00
2023-09-15 09:16:34 +00:00
2023-10-09 18:20:12 +00:00
2023-09-15 09:16:34 +00:00
2023-11-22 01:01:25 +00:00
2024-03-19 14:59:20 +00:00
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
2024-04-03 10:32:27 +00:00
2023-09-15 09:16:34 +00:00
2023-09-15 09:16:34 +00:00
2023-09-15 09:16:34 +00:00
2024-03-19 14:59:20 +00:00
2024-03-07 05:11:52 +00:00
2024-03-19 14:59:20 +00:00
2024-09-06 03:23:25 +00:00
2024-04-04 15:02:34 +00:00
Bug 1880914 - Move BrowserOpenTab. r=Gijs,webdriver-reviewers,perftest-reviewers,extension-reviewers,sessionstore-reviewers,tabbrowser-reviewers,home-newtab-reviewers,thecount,whimboo,dao,afinder,omc-reviewers,aminomancer
2024-04-03 10:32:27 +00:00
2024-04-18 17:20:00 +02:00
2023-10-10 21:38:57 +00:00
Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin
2023-11-04 09:29:27 +00:00
2024-09-12 20:25:48 +00:00
2024-04-04 15:02:34 +00:00
2024-04-04 15:02:34 +00:00
2024-04-04 15:02:34 +00:00
2024-04-04 15:02:34 +00:00