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

Side by Side Diff: webkit/port/bindings/v8/v8_custom.cpp

Issue 18651: Fix the regression in Yahoo! Mail... (Closed) Base URL: svn://chrome-svn/chrome/branches/release_154.next/src/
Patch Set: Created 11 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file is part of the KDE libraries 2 * This file is part of the KDE libraries
3 * Copyright (C) 2000 Harri Porten (porten@kde.org) 3 * Copyright (C) 2000 Harri Porten (porten@kde.org)
4 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 4 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
5 * Copyright (C) 2004-2006 Apple Computer, Inc. 5 * Copyright (C) 2004-2006 Apple Computer, Inc.
6 * Copyright (C) 2006 James G. Speth (speth@end.com) 6 * Copyright (C) 2006 James G. Speth (speth@end.com)
7 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org) 7 * Copyright (C) 2006 Samuel Weinig (sam@webkit.org)
8 * Copyright 2007 Google Inc. All Rights Reserved. 8 * Copyright 2007 Google Inc. All Rights Reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 for (int i = 0; i < args.Length(); ++i) { 2444 for (int i = 0; i < args.Length(); ++i) {
2445 str += ToWebCoreString(args[i]); 2445 str += ToWebCoreString(args[i]);
2446 } 2446 }
2447 return str; 2447 return str;
2448 } 2448 }
2449 2449
2450 2450
2451 CALLBACK_FUNC_DECL(HTMLDocumentWrite) { 2451 CALLBACK_FUNC_DECL(HTMLDocumentWrite) {
2452 INC_STATS(L"DOM.HTMLDocument.write()"); 2452 INC_STATS(L"DOM.HTMLDocument.write()");
2453 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder()); 2453 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder());
2454 Frame* frame = V8Proxy::retrieveActiveFrame();
2455 ASSERT(frame);
2456 imp->write(WriteHelper_GetString(args)); 2454 imp->write(WriteHelper_GetString(args));
2457 return v8::Undefined(); 2455 return v8::Undefined();
2458 } 2456 }
2459 2457
2460 2458
2461 CALLBACK_FUNC_DECL(HTMLDocumentWriteln) { 2459 CALLBACK_FUNC_DECL(HTMLDocumentWriteln) {
2462 INC_STATS(L"DOM.HTMLDocument.writeln()"); 2460 INC_STATS(L"DOM.HTMLDocument.writeln()");
2463 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder()); 2461 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder());
2464 Frame* frame = V8Proxy::retrieveActiveFrame();
2465 ASSERT(frame);
2466 imp->writeln(WriteHelper_GetString(args)); 2462 imp->writeln(WriteHelper_GetString(args));
2467 return v8::Undefined(); 2463 return v8::Undefined();
2468 } 2464 }
2469 2465
2470 2466
2471 CALLBACK_FUNC_DECL(HTMLDocumentOpen) { 2467 CALLBACK_FUNC_DECL(HTMLDocumentOpen) {
2472 INC_STATS(L"DOM.HTMLDocument.open()"); 2468 INC_STATS(L"DOM.HTMLDocument.open()");
2473 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder()); 2469 HTMLDocument* imp = V8Proxy::DOMWrapperToNode<HTMLDocument>(args.Holder());
2474 2470
2475 if (args.Length() > 2) { 2471 if (args.Length() > 2) {
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
3392 #undef MAKE_CASE 3388 #undef MAKE_CASE
3393 3389
3394 default: 3390 default:
3395 return V8ClassIndex::INVALID_CLASS_INDEX; 3391 return V8ClassIndex::INVALID_CLASS_INDEX;
3396 } 3392 }
3397 } 3393 }
3398 3394
3399 #endif // ENABLE(SVG) 3395 #endif // ENABLE(SVG)
3400 3396
3401 } // namespace WebCore 3397 } // namespace WebCore
OLDNEW
« no previous file with comments | « webkit/data/layout_tests/chrome/fast/dom/wrapper-context-expected.txt ('k') | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698