Bug 910899 Plugin placeholder XBL anonymous elements need anonids r=jaws
☠☠ backed out by 7509132548d9 ☠ ☠
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Wed, 04 Sep 2013 21:52:51 +0100
changeset 145500 365e150efda033ec762f658877354ea0622fc006
parent 145499 4a5e5f94a4f7de1fbe460620a68f5fbf6df1ee93
child 145501 b5d62f5c733c1b2da7e1f79979303c45fb37dc57
push id33300
push userneil@parkwaycc.co.uk
push dateWed, 04 Sep 2013 20:53:16 +0000
treeherdermozilla-inbound@365e150efda0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs910899
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 910899 Plugin placeholder XBL anonymous elements need anonids r=jaws
toolkit/mozapps/plugins/content/pluginProblem.xml
--- a/toolkit/mozapps/plugins/content/pluginProblem.xml
+++ b/toolkit/mozapps/plugins/content/pluginProblem.xml
@@ -17,65 +17,67 @@
               xmlns:html="http://www.w3.org/1999/xhtml">
 <binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true">
     <resources>
         <stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.css"/>
         <stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
     </resources>
 
     <content>
-        <html:div class="mainBox" chromedir="&locale.dir;">
+        <html:div class="mainBox" anonid="main" chromedir="&locale.dir;">
             <html:div class="hoverBox">
                 <html:label>
-                    <html:button class="icon"/>
+                    <html:button class="icon" anonid="icon"/>
                     <html:div class="msg msgTapToPlay">&tapToPlayPlugin;</html:div>
-                    <html:div class="msg msgClickToPlay">&clickToActivatePlugin;</html:div>
+                    <html:div class="msg msgClickToPlay" anonid="clickToPlay">&clickToActivatePlugin;</html:div>
                     <html:div class="msg msgVulnerabilityStatus" anonid="vulnerabilityStatus"><!-- set at runtime --></html:div>
                 </html:label>
 
                 <html:div class="msg msgUnsupported">&missingPlugin;</html:div>
                 <html:div class="msg msgUnsupportedPlatform">&unsupportedPlatform.pre;<html:a class="unsupportedLearnMoreLink" href="" target="_blank">&unsupportedPlatform.learnMore;</html:a>&unsupportedPlatform.post;</html:div>
                 <html:div class="msg msgDisabled">&disabledPlugin;</html:div>
                 <html:div class="msg msgBlocked">&blockedPlugin.label;</html:div>
                 <html:div class="msg msgCrashed">
-                    <html:div class="msgCrashedText"><!-- set at runtime --></html:div>
+                    <html:div class="msgCrashedText" anonid="crashedText"><!-- set at runtime --></html:div>
                     <!-- link href set at runtime -->
-                    <html:div class="msgReload">&reloadPlugin.pre;<html:a class="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div>
+                    <html:div class="msgReload">&reloadPlugin.pre;<html:a class="reloadLink" anonid="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div>
                 </html:div>
 
-                <html:div class="installStatus">
-                    <html:div class="msg msgInstallPlugin">
+                <html:div class="installStatus" anonid="installStatus">
+                    <html:div class="msg msgInstallPlugin"/>
 		        <html:a class="action-link" anonid="installPluginLink" href="">&installPlugin;</html:a>
 		    </html:div>
                 </html:div>
                 <html:div class="msg msgManagePlugins"><html:a class="action-link" anonid="managePluginsLink" href="">&managePlugins;</html:a></html:div>
-                <html:div class="submitStatus">
+                <html:div class="submitStatus" anonid="submitStatus">
                     <html:div class="msg msgPleaseSubmit">
                         <html:textarea class="submitComment"
+                                       anonid="submitComment"
                                        placeholder="&report.comment;"/>
                         <html:div class="submitURLOptInBox">
-                            <html:label><html:input class="submitURLOptIn" type="checkbox"/> &report.pageURL;</html:label>
+                            <html:label><html:input class="submitURLOptIn" anonid="submitURLOptIn" type="checkbox"/> &report.pageURL;</html:label>
                         </html:div>
                         <html:div class="submitButtonBox">
-                            <html:span class="helpIcon" role="link"/>
+                            <html:span class="helpIcon" anonid="helpIcon" role="link"/>
                             <html:input class="submitButton" type="button"
+                                        anonid="submitButton"
                                         value="&report.please;"/>
                         </html:div>
                     </html:div>
                     <html:div class="msg msgSubmitting">&report.submitting;<html:span class="throbber"> </html:span></html:div>
                     <html:div class="msg msgSubmitted">&report.submitted;</html:div>
                     <html:div class="msg msgNotSubmitted">&report.disabled;</html:div>
                     <html:div class="msg msgSubmitFailed">&report.failed;</html:div>
                     <html:div class="msg msgNoCrashReport">&report.unavailable;</html:div>
                 </html:div>
                 <html:div class="msg msgCheckForUpdates"><html:a class="action-link" anonid="checkForUpdatesLink" href="">&checkForUpdates;</html:a></html:div>
             </html:div>
             <html:button class="closeIcon" anonid="closeIcon" title="&hidePluginBtn.label;"/>
         </html:div>
-        <html:div class="previewPluginContent"><!-- iframe and its src will be set at runtime --></html:div>
+        <html:div class="previewPluginContent" anonid="previewPluginContent"><!-- iframe and its src will be set at runtime --></html:div>
         <html:div style="display:none;"><children/></html:div>
     </content>
     <implementation>
       <constructor>
         // Notify browser-plugins.js that we were attached, on a delay because
         // this binding doesn't complete layout until the constructor
         // completes.
         setTimeout(() => { this.dispatchEvent(new CustomEvent("PluginBindingAttached")) }, 0);