Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 17243 by Mark.Sandler: Broken history when using bookmarklets
http://code.google.com/p/chromium/issues/detail?id=17243

Chrome Version       : 2.0.172.37

URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
   Firefox 3.x: OK

It appears that in the dev. chrome history state is not saved whenever
one uses bookmarklets (e.g. javascript://<like>  snippets of code in
bookmark toolbar),  which direct your browser to different url, and
the last url is then not saved in the history.  This is incosistent
with past behavior.

What steps will reproduce the problem?
1. create a bookmarklet with the following url
javascript:(function() {
document.location.href="http://www.google.com";})()

2. Go to http://www.yahoo.com  page and click on the freshly created
bookmarklet, the browser goes to http://www.google.com and the history
no longer contains yahoo.com page.

What is the expected result?
The history should contain yahoo.com page as previous page, and hitting
"back" should bring me back to yahoo

What happens instead?
The history is empty, this essentially breaks 90% of existing bookmarklets.

Please provide any additional information below. Attach a screenshot if
possible.

Related bug seems to be related to this:
http://code.google.com/p/chromium/issues/detail?
id=7022&q=bookmarklet&colspec=ID%20Stars%20Pri%20Area%20Type%20Status%20Sum
mary%20Modified%20Owner%20Mstone

but the behavior is different (entry just disappears from history!)



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to