| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 } | 291 } |
| 292 | 292 |
| 293 if (m_frame->domWindow()->isInsecureScriptAccess(*currentWindow, | 293 if (m_frame->domWindow()->isInsecureScriptAccess(*currentWindow, |
| 294 completedURL)) | 294 completedURL)) |
| 295 return; | 295 return; |
| 296 | 296 |
| 297 V8DOMActivityLogger* activityLogger = | 297 V8DOMActivityLogger* activityLogger = |
| 298 V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld(); | 298 V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld(); |
| 299 if (activityLogger) { | 299 if (activityLogger) { |
| 300 Vector<String> argv; | 300 Vector<String> argv; |
| 301 argv.append("LocalDOMWindow"); | 301 argv.push_back("LocalDOMWindow"); |
| 302 argv.append("url"); | 302 argv.push_back("url"); |
| 303 argv.append(enteredDocument->url()); | 303 argv.push_back(enteredDocument->url()); |
| 304 argv.append(completedURL); | 304 argv.push_back(completedURL); |
| 305 activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data()); | 305 activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data()); |
| 306 } | 306 } |
| 307 m_frame->navigate(*currentWindow->document(), completedURL, | 307 m_frame->navigate(*currentWindow->document(), completedURL, |
| 308 locationPolicy == SetLocation::ReplaceThisFrame, | 308 locationPolicy == SetLocation::ReplaceThisFrame, |
| 309 UserGestureStatus::None); | 309 UserGestureStatus::None); |
| 310 } | 310 } |
| 311 | 311 |
| 312 } // namespace blink | 312 } // namespace blink |
| OLD | NEW |