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

Unified Diff: chrome/test/data/extensions/api_test/extension_options/embed_self/test.js

Issue 480243003: Implement smoother autosizing of the extension options overlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 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 | « chrome/renderer/resources/extensions/extension_options_events.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/extension_options/embed_self/test.js
diff --git a/chrome/test/data/extensions/api_test/extension_options/embed_self/test.js b/chrome/test/data/extensions/api_test/extension_options/embed_self/test.js
index 6c0e3a436221107b5a9a8e5546f7c7bdac5c05d0..d2f10653a01186f542b0c397485201a48526076c 100644
--- a/chrome/test/data/extensions/api_test/extension_options/embed_self/test.js
+++ b/chrome/test/data/extensions/api_test/extension_options/embed_self/test.js
@@ -125,10 +125,10 @@ chrome.test.runTests([
extensionoptions.onsizechanged = function(evt) {
try {
- chrome.test.assertTrue(evt.width >= 499);
- chrome.test.assertTrue(evt.height >= 499);
- chrome.test.assertTrue(evt.width <= 501);
- chrome.test.assertTrue(evt.height <= 501);
+ chrome.test.assertTrue(evt.newWidth >= 499);
+ chrome.test.assertTrue(evt.newHeight >= 499);
+ chrome.test.assertTrue(evt.newWidth <= 501);
+ chrome.test.assertTrue(evt.newHeight <= 501);
done();
} finally {
document.body.removeChild(extensionoptions);
« no previous file with comments | « chrome/renderer/resources/extensions/extension_options_events.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698