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

New issue 7505 by phistuck: Bad Bookmarklet Bookmarks Export\Import
http://code.google.com/p/chromium/issues/detail?id=7505

Chrome Version       : 2.0.160.0

What steps will reproduce the problem?
1. Create a bookmarklet that includes quotes (javascript:alert("wow")).
2. Export bookmarks.
3. Import bookmarks.
4. Go to the imported bookmark and activate it.

What is the expected result?
The bookmarklet will work.

What happens instead?
Nothing (JS error)

The bookmark was not exported correctly and also not imported correctly  
(and not even in the same way it was exported).
Every quote became slash-prepended (as in JavaScript syntax), but HTML does  
not support this kind of things (like the bookmark importer does not).
Changing the outer attribute quotes (href="...") to a single quote  
(href='...') makes Chrome not import the bookmarks.

Also note - the spell checker says "prepended" is not a word, it  
suggests "perpended" (and others). When searching for "perpended" Google  
suggests it should be "prepended". Am I right? Are Google and Wikitionary  
(and
others) wrong?

--
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