Closed Bug 837152 Opened 11 years ago Closed 11 years ago

Console doesn't see video network request that did happen

Categories

(DevTools :: Console, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 764958

People

(Reporter: bjacob, Unassigned)

References

()

Details

STR:

1. open web console
2. go to http://people.mozilla.org/~bjacob/video-cors.html
3. it loads a webm video and logs a message in its 'canplay' event listener:

  [12:03:19.945] loaded video http://kammerl.de/threejs/three.js/examples/textures/kinect.webm

4. So by the time we see this message in the console, we have definitely loaded that video. But here, I don't see the network request for that video in the console.

5. The *first time* I ever loaded that page, I did see it. Not subsequent times. I have cleared my browser cache and ctrl-shift-reloaded many times. I've also enabled all logging checkboxes under 'Net' in the console.
Blocks: 837153
Benoit: thanks for the bug report.

I tested in the latest Firefox nightly (local build from fx-team) and I get:

[19:20:20.487] GET http://people.mozilla.org/~bjacob/video-cors.html [HTTP/1.1 200 OK 781ms]
[19:20:21.509] GET http://kammerl.de/threejs/three.js/examples/textures/kinect.webm [HTTP/1.1 206 Partial Content 5297ms]
[19:20:22.188] NS_ERROR_FAILURE: Failure @ http://people.mozilla.org/~bjacob/video-cors.html:27
[19:20:22.244] GET http://kammerl.de/threejs/three.js/examples/textures/kinect.webm [HTTP/1.1 206 Partial Content]
[19:20:22.187] loaded video http://kammerl.de/threejs/three.js/examples/textures/kinect.webm

... which seems right for me. The GET request shows up for the video. I also tested with Firefox 19 beta - I get the same log.

Is this still an issue? Which Firefox version and OS did you try with? I tested on Ubuntu 12.04.
Flags: needinfo?(bjacob)
I'm seeing:

--
[12:25:35.999] GET http://people.mozilla.org/~bjacob/video-cors.html [HTTP/1.1 200 OK 309ms]
[12:25:36.286] The Components object is deprecated. It will soon be removed. @ resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/loader.js -> resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/sandbox.js -> resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/content/content-proxy.js:13
[12:25:36.416] NS_ERROR_FAILURE: Failure @ http://people.mozilla.org/~bjacob/video-cors.html:27
[12:25:36.415] loaded video http://kammerl.de/threejs/three.js/examples/textures/kinect.webm

need more info. Benoit?
Sorry about the long delay.

I get the same thing as you on first try, but if I then reload or force-reload or even clear the cache and reload, I never get it again. Is there a special caching going on there that's separate from what force-reload and clearing cache can help with?
Flags: needinfo?(bjacob)
Now I see, on first load:

[23:13:20.899] GET http://people.mozilla.org/~bjacob/video-cors.html [HTTP/1.1 200 OK 980ms]
[23:13:22.027] NS_ERROR_FAILURE: Failure @ http://people.mozilla.org/~bjacob/video-cors.html:27
[23:13:22.026] loaded video http://kammerl.de/threejs/three.js/examples/textures/kinect.webm


Refresh shows:

[23:13:57.019] GET http://people.mozilla.org/~bjacob/video-cors.html [HTTP/1.1 304 Not Modified 565ms]
[23:13:57.649] NS_ERROR_FAILURE: Failure @ http://people.mozilla.org/~bjacob/video-cors.html:27
[23:13:57.648] loaded video http://kammerl.de/threejs/three.js/examples/textures/kinect.webm

Shift-Click-Reload shows the same as first load (as expected).

If I reopen the page (Ctrl-L, press Enter, without asking for reload from network), I get no network request. This happens because we do not track loads from cache, only network requests - see bug 764958.
Ah, OK. Then resolve this as a dupe of 764958 IIUC.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.