зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1246667, properly enable browser_clearplugindata.js in e10s, r=mak
This commit is contained in:
Родитель
fc459911d3
Коммит
7ce3ec5e44
|
@ -2,4 +2,4 @@
|
|||
support-files = browser_clearplugindata.html
|
||||
|
||||
[browser_clearplugindata.js]
|
||||
skip-if = buildapp == 'mulet' || e10s # Bug ?????? - test touches content (gBrowser.selectedBrowser.contentWindow.wrappedJSObject.testFinishedCallback = function() {...})
|
||||
skip-if = buildapp == 'mulet'
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="testSteps();"></body>
|
||||
<body></body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -56,8 +56,13 @@ add_task(function* setup() {
|
|||
});
|
||||
|
||||
add_task(function* () {
|
||||
// Load page to set data for the plugin.
|
||||
yield BrowserTestUtils.openNewForegroundTab(gBrowser, testURL);
|
||||
|
||||
// Set data for the plugin after the page load.
|
||||
yield ContentTask.spawn(gBrowser.selectedBrowser, null, function*() {
|
||||
content.wrappedJSObject.testSteps();
|
||||
});
|
||||
|
||||
ok(stored(["192.168.1.1","foo.com","nonexistent.foo.com","bar.com","localhost"]),
|
||||
"Data stored for sites");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче