Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/objectTabs.js

Issue 29329450: Issue 3208 - Don`t use numerical content types outside nsIContentPolicy.shouldLoad (Closed)
Patch Set: Removed unrelated change Created Nov. 4, 2015, 9:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/elemHide.js ('k') | lib/requestNotifier.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/objectTabs.js
===================================================================
--- a/lib/objectTabs.js
+++ b/lib/objectTabs.js
@@ -196,17 +196,17 @@ var objTabs =
this.objtabElement.style.setProperty("opacity", "1", "important");
if (this.currentElement != element)
{
this._hideTab();
let {Policy} = require("contentPolicy");
let {RequestNotifier} = require("requestNotifier");
- let data = RequestNotifier.getDataForNode(element, true, Policy.type.OBJECT);
+ let data = RequestNotifier.getDataForNode(element, true, "OBJECT");
if (data)
{
if (this.initialized)
this._showTab(element, data[1]);
else
this._initCSS(element, data[1]);
}
}
« no previous file with comments | « lib/elemHide.js ('k') | lib/requestNotifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld