| Index: bindings/tests/idls/TestInterfaceCheckSecurity.idl
|
| diff --git a/core/clipboard/Clipboard.idl b/bindings/tests/idls/TestInterfaceCheckSecurity.idl
|
| similarity index 59%
|
| copy from core/clipboard/Clipboard.idl
|
| copy to bindings/tests/idls/TestInterfaceCheckSecurity.idl
|
| index 695f70d48666d0b6be10e489f134f66b75975dde..0d20eb941e71af21e3e9719fb030675aa4825618 100644
|
| --- a/core/clipboard/Clipboard.idl
|
| +++ b/bindings/tests/idls/TestInterfaceCheckSecurity.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2008 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2011 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -27,17 +27,19 @@
|
| */
|
|
|
| [
|
| -] interface Clipboard {
|
| - [TreatReturnedNullStringAs=Undefined] attribute DOMString dropEffect;
|
| - [TreatReturnedNullStringAs=Undefined] attribute DOMString effectAllowed;
|
| - readonly attribute DOMString[] types;
|
| - readonly attribute FileList files;
|
| + CheckSecurity=Frame,
|
| +] interface TestInterfaceCheckSecurity {
|
| + readonly attribute long longAttribute;
|
| + void voidMethod();
|
|
|
| - void clearData(optional DOMString type);
|
| - DOMString getData(DOMString type);
|
| - boolean setData(DOMString type, DOMString data);
|
| - [RaisesException] void setDragImage(Element image, long x, long y);
|
| + [DoNotCheckSecurity] attribute long doNotCheckSecurityLongAttribute;
|
| + [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLongAttribute; // Separate read only attribute to check attribute configuration
|
| + [DoNotCheckSecurity=Setter] attribute long doNotCheckSecurityOnSetterLongAttribute;
|
| + [DoNotCheckSecurity, Replaceable] readonly attribute long doNotCheckSecurityReplaceableReadonlyLongAttribute;
|
|
|
| - readonly attribute DataTransferItemList items;
|
| + [DoNotCheckSecurity] void doNotCheckSecurityVoidMethod();
|
| + [DoNotCheckSecurity, DoNotCheckSignature] void doNotCheckSecurityDoNotCheckSignatureVoidMethod();
|
| + [DoNotCheckSecurity, PerWorldBindings] void doNotCheckSecurityPerWorldBindingsVoidMethod();
|
| + [DoNotCheckSecurity, ReadOnly] void doNotCheckSecurityReadOnlyVoidMethod();
|
| + [DoNotCheckSecurity, Unforgeable] void doNotCheckSecurityUnforgeableVoidMethod();
|
| };
|
| -
|
|
|