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

Unified Diff: tools/dom/scripts/systemnative.py

Issue 14007012: Changes for the roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 25d33701ee38ef813ce02f7e739d23a726aa7766..698205b72670aaa69324d59799f1cffd4ec3ab7a 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -231,7 +231,7 @@ class DartiumBackend(HtmlDartGenerator):
arguments,
self._interface.id,
False,
- 'ConstructorRaisesException' in ext_attrs)
+ 'ConstructorRaisesException' in ext_attrs or 'RaisesException' in ext_attrs)
def HasSupportCheck(self):
# Need to omit a support check if it is conditional in JS.
@@ -357,7 +357,7 @@ class DartiumBackend(HtmlDartGenerator):
[],
attr.type.id,
attr.type.nullable,
- attr.get_raises)
+ attr.get_raises or 'GetterRaisesException' in attr.ext_attrs)
def _AddSetter(self, attr, html_name):
type_info = self._TypeInfo(attr.type.id)
@@ -387,7 +387,7 @@ class DartiumBackend(HtmlDartGenerator):
[attr],
'void',
False,
- attr.set_raises)
+ attr.set_raises or 'SetterRaisesException' in attr.ext_attrs)
def AddIndexer(self, element_type):
"""Adds all the methods required to complete implementation of List."""
@@ -531,7 +531,7 @@ class DartiumBackend(HtmlDartGenerator):
arguments,
operation.type.id,
operation.type.nullable,
- operation.raises)
+ operation.raises or 'RaisesException' in operation.ext_attrs)
def _GenerateNativeCallback(self,
callback_name,
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698