Changeset 1040
- Timestamp:
- 2008-08-08 05:43:05 (3 months ago)
- Files:
-
- trunk/chrome/content/dta/addurl.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/chrome/content/dta/addurl.js
r1027 r1040 117 117 function BatchGenerator(link) { 118 118 this.url = link.url; 119 let url = this.url.spec;119 let url = link.usable; 120 120 this._length = 1; 121 121 this._pats = []; … … 275 275 else if (typeof(a.url) == 'object' && 'url' in a.url) { 276 276 // we've got a DTA_URL. 277 // In this case it is not safe to modify it because of encoding issues. 277 // In this case it is not safe to modify it because of encoding 278 // issues. 278 279 address.value = a.url.usable; 279 // JS does not preserve types between windows (as each window gets an own sandbox) 280 // JS does not preserve types between windows (as each window gets an 281 // own sandbox) 280 282 // This hack makes our URL a DTA_URL again ;) 281 283 address._realURL = a.url;
