Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: lib/html/scripts/systemnative.py

Issue 11175014: Use CheckSecurityForNode to filter out insecure calls (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/html/scripts/htmlrenamer.py ('K') | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemnative.py
diff --git a/lib/html/scripts/systemnative.py b/lib/html/scripts/systemnative.py
index 125ee4c0d1ebd5216cff1fe612d2142d2cca4959..724595cfdaec4cf61c0b027f7118551a57e4272d 100644
--- a/lib/html/scripts/systemnative.py
+++ b/lib/html/scripts/systemnative.py
@@ -274,10 +274,6 @@ class DartiumBackend(object):
TO_DART=to_dart_emitter.Fragments())
def AddAttribute(self, attribute, html_name, read_only):
- if 'CheckSecurityForNode' in attribute.ext_attrs:
- # FIXME: exclude from interface as well.
- return
-
self._AddGetter(attribute, html_name)
if not read_only:
self._AddSetter(attribute, html_name)
@@ -445,10 +441,6 @@ class DartiumBackend(object):
operation = info.operations[0]
- if 'CheckSecurityForNode' in operation.ext_attrs:
- # FIXME: exclude from interface as well.
- return
-
is_custom = 'Custom' in operation.ext_attrs
has_optional_arguments = any(self._IsArgumentOptionalInWebCore(operation, argument) for argument in operation.arguments)
needs_dispatcher = not is_custom and (len(info.operations) > 1 or has_optional_arguments)
« lib/html/scripts/htmlrenamer.py ('K') | « lib/html/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698