Closed Bug 1360121 Opened 8 years ago Closed 8 years ago

Youtube video will not appear in history list

Categories

(Firefox for iOS :: General, defect, P1)

Other
iOS
defect

Tracking

()

VERIFIED FIXED
Iteration:
1.22
Tracking Status
fxios 8.0+ ---
fxios-v7.4 --- affected
fxios-v8.0 --- verified

People

(Reporter: SimonB, Assigned: justindarc)

References

Details

(Whiteboard: [MobileCore])

Attachments

(2 files)

Build: 9b55d0fd Device: iPad Air 2 iOS: 10.3.1 Steps to reproduce: 1. Go to youtube.com 2. Play a video 3. Go to the History panel Actual results: - Visited videos do not appear in history list. The videos appear in the history list only after tapping the refresh button Note: - This issue is not reproducible in Safari or Chrome. - I was able to reproduce this issue only on youtube videos.
Priority: -- → P2
Whiteboard: [MobileCore]
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Iteration: --- → 1.22
Priority: P2 → P1
Attached file GitHub Pull Request
Attachment #8868269 - Flags: review?(fpatel)
Comment on attachment 8868269 [details] [review] GitHub Pull Request Left a comment on GH.
Attachment #8868269 - Flags: review?(fpatel) → review-
Attached file historytest.html
Minimal test case for `history.pushState` and `history.replaceState`.
Comment on attachment 8868269 [details] [review] GitHub Pull Request Farhan, I've updated the PR to the issues with the messed up project file and verified with the test case attached to this bug that we're not introducing any potential security issues with history.pushState/replaceState. I also did some testing on a new branch to see if we can observe `KVOURL` and `KVOTitle` on the webview to achieve the same result and while it does work, `KVOTitle` often times fires a change many times repeatedly for a single navigation (tested on YouTube). So, I have concerns with performance with that approach especially since there may be web content out there that abuses `document.title`. Neither approach is particularly "great", but I feel that there is less complexity and lower potential performance implications with this PR. If you have any other suggestions though, I'd be glad to hear them :-)
Attachment #8868269 - Flags: review- → review?(fpatel)
Attachment #8868269 - Flags: review?(fpatel) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [MobileCore] → [MobileCore][needsuplift]
Verifying as fix on master b3b12590b. The youtube videos are displayed in the history list.
Status: RESOLVED → VERIFIED
See Also: → 1366705
Whiteboard: [MobileCore][needsuplift] → [MobileCore]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: