Closed
Bug 978030
Opened 10 years ago
Closed 10 years ago
Fix browser_pluginnotification.js test (use "anonid" to access plugin placeholder element, Port Bug 967694)
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.27
People
(Reporter: mcsmurf, Assigned: mcsmurf)
Details
Attachments
(1 file)
17.08 KB,
patch
|
mcsmurf
:
review+
|
Details | Diff | Splinter Review |
Currently browser_pluginnotification.js still uses the old way to access plugin content in a test: doc.getAnonymousElementByAttribute(plugin, "class", "mainBox"); This no longer seems to work, you now need to use doc.getAnonymousElementByAttribute(plugin, "anonid", "main"); See Bug 853973 for the Firefox fix for this and Bug 914611 for the actual code fix in SeaMonkey plugin placeholder code. Also Bug 967694 needs to be ported to fix test 22 in that file as currently without the fix the test fails with TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | uncaught exception - TypeError: pluginNode.getObjectValue is not a function at chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js:1035
Assignee | ||
Comment 1•10 years ago
|
||
This fixes the plugin tests, I tested it locally, I think this one is trivial enough that no further review is needed. So far these two tests (still) fail, I'll investigate that: TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Test 3, Should not be a missing plugin list TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/suite/browser/test/browser_pluginnotification.js | Test 13b, Plugin should not have visible overlay
Assignee | ||
Comment 2•10 years ago
|
||
Pushed: https://hg.mozilla.org/comm-central/rev/51dbd2928576
Assignee | ||
Comment 3•10 years ago
|
||
Doh, forgot about my patch in Attachment 8351462 [details] [diff] :o I've already written that patch over there.
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.27
You need to log in
before you can comment on or make changes to this bug.
Description
•