mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
Sync WebIDL.py with gecko
This commit is contained in:
@@ -38,7 +38,7 @@ def WebIDLTest(parser, harness):
|
||||
""")
|
||||
|
||||
results = parser.finish()
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
harness.ok(False, "Shouldn't have thrown for [CEReactions] used on writable attribute. %s" % e)
|
||||
threw = True
|
||||
|
||||
@@ -52,7 +52,7 @@ def WebIDLTest(parser, harness):
|
||||
""")
|
||||
|
||||
results = parser.finish()
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
harness.ok(False, "Shouldn't have thrown for [CEReactions] used on regular operations. %s" % e)
|
||||
threw = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user