зеркало из https://github.com/mozilla/gecko-dev.git
Bug 851891. Make stringifier attributes fail to codegen. r=khuey
This commit is contained in:
Родитель
05f20089d2
Коммит
9562a762e6
|
@ -8689,6 +8689,10 @@ class CGDescriptor(CGThing):
|
|||
else:
|
||||
hasMethod = True
|
||||
elif m.isAttr():
|
||||
if m.stringifier:
|
||||
raise TypeError("Stringifier attributes not supported yet. "
|
||||
"See bug 824857.\n"
|
||||
"%s" % m.location);
|
||||
if m.isStatic():
|
||||
assert descriptor.interface.hasInterfaceObject
|
||||
cgThings.append(CGStaticGetter(descriptor, m))
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
[NoInterfaceObject]
|
||||
interface URLUtils {
|
||||
[SetterThrows]
|
||||
stringifier attribute DOMString href;
|
||||
// Bug 824857: no support for stringifier attributes yet.
|
||||
// stringifier attribute DOMString href;
|
||||
attribute DOMString href;
|
||||
readonly attribute DOMString origin;
|
||||
|
||||
attribute DOMString protocol;
|
||||
|
|
Загрузка…
Ссылка в новой задаче