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

Side by Side Diff: chrome/test/data/extensions/api_test/bindings/handler_function_type_checking.html

Issue 1422383003: [Extensions] Make handler_function a hidden property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <body>
3 <span id="status">success</span>
4 <script>
5 iframe = document.body.appendChild(document.createElement("iframe"));
6 obj = iframe.contentWindow.Object;
7 app = iframe.contentWindow.chrome.app;
8 iframe.remove();
9 obj.prototype.__defineGetter__("handler_function", function() {
10 document.getElementById('status').textContent = 'FAILED';
11 return 0xBADDEAD;
12 });
13 app.getDetails();
14 </script>
15 </body>
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_bindings_apitest.cc ('k') | extensions/renderer/object_backed_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698