pageshow - not from cache | |
RUN(video.src = URL.createObjectURL(source)) | |
EVENT(sourceopen) | |
RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock")) | |
EXPECTED (source.sourceBuffers[0] == '[object SourceBuffer]') OK | |
pagehide - entering cache | |
pageshow - from cache | |
PASS: Page was restored from Page Cache | |
END OF TEST | |