New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 778301 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

"Tabs from other devices" does not open tabs with very long URLs

Project Member Reported by rajattibrewal@google.com, Oct 25 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36

Steps to reproduce the problem:
1. Open a very long (exact length is undetermined, in my case I had something about 1900 character long) URL in device 1.
2. Check "Tabs from other devices" on device 2
3. Notice that this URL does not show up

What is the expected behavior?

What went wrong?
All tabs currently open on devices synced with the same account are expected to show up in "Tabs from other devices". However, tabs with very long URLs fail to show up. 

Did this work before? N/A 

Chrome version: 62.0.3202.62  Channel: stable
OS Version: 
Flash Version:
 

Comment 1 by s...@chromium.org, Oct 25 2017

Labels: -Pri-2 Pri-3
Owner: s...@chromium.org
Status: Assigned (was: Unconfirmed)
This sounds like WAI, my understanding is that sync entities are not allowed to exceed something like 8KB each. It's a bit concerning that 1900 characters would result in >8 KB though, I'll try to investigate, time permitting.

Comment 2 by s...@chromium.org, Oct 30 2017

Labels: Needs-Feedback
Testing this, I can get a URLs significantly longer than 1,900 characters to sync, I definitely was able to get 9,000 character urls to work, and it would seen that 10,000 character urls failed. It seems my previously assumed max entity size of 8KB is slightly wrong, the actual limit is closer to 10KB. And fortunately we're not doing anything inefficient with encoding that's artificially lowering this threshold, nor are the limits applied after any sort of compression.

It seems that we claim SUCCESS on any over-sized entities, and silently fail to persist the changes. This would actually be really bad if you had a bookmark folder with a name >10000 characters long, although I have a difficult time imagining a use case for this, since that shouldn't be a URL.

It's also important to note that urls like chrome://blahblah and file:///blahblah will not sync, unless there are other more interesting/syncable navigation entries in that tab (within +/- 5).

So, back to your original problem, I'm hoping you miscounted the number of characters in your URL, or it was not syncable. Otherwise there's a different problem that's presenting here! Adding Needs-Feedback, perhaps you could try again and see if 1,900 character URLs are still causing problems? Do you think you could post a 1,900 character URL that doesn't work for you, so I could try it?

Comment 3 by s...@chromium.org, Nov 22 2017

Status: WontFix (was: Assigned)
No response to questions in c#2.

Sign in to add a comment