| Index: chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js
|
| diff --git a/ipc/ipc_message_attachment.cc b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js
|
| similarity index 50%
|
| copy from ipc/ipc_message_attachment.cc
|
| copy to chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js
|
| index 83440ae8e008847eebd411f8ffd08c69d9f529fe..ce3cdafde94a8cc72bccfbd5127426718b4656fc 100644
|
| --- a/ipc/ipc_message_attachment.cc
|
| +++ b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushStateUpdateUrl/a.js
|
| @@ -2,14 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ipc/ipc_message_attachment.h"
|
| -
|
| -namespace IPC {
|
| -
|
| -MessageAttachment::MessageAttachment() {
|
| +window.onload = function() {
|
| + // 'load' and 'complete' status is fired with the updated URL.
|
| + setTimeout(function() {
|
| + history.pushState(null, null, "#a");
|
| + }, 0);
|
| }
|
| -
|
| -MessageAttachment::~MessageAttachment() {
|
| -}
|
| -
|
| -} // namespace IPC
|
|
|