Open Bug 1627089 Opened 5 years ago Updated 2 years ago

Truncated multipart/x-mixed-replace page with developer tools pane open

Categories

(DevTools :: General, defect, P2)

75 Branch
defect

Tracking

(firefox76 affected, firefox77 affected)

Tracking Status
firefox76 --- affected
firefox77 --- affected

People

(Reporter: dleborgne, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

  1. Open Firefox
  2. Load https://bz.apache.org/bugzilla/buglist.cgi?bug_status=NEW&product=JMeter
  3. Press F12
  4. Press F5 in the Firefox window

Actual results:

  1. Page is truncated

Expected results:

  1. Page should be displayed as in step 2

This bug is a follow-up for bug 1611081

Component: Untriaged → General
Product: Firefox → DevTools

Browser console(incl. content messages):

    onPacket resource://devtools/shared/protocol/Front.js:319
    DevTools RDP*request resource://devtools/shared/protocol/Front.js:256
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    detach resource://devtools/client/fronts/targets/browsing-context.js:136
    _destroyTarget resource://devtools/client/fronts/targets/target-mixin.js:461
    destroy resource://devtools/client/fronts/targets/target-mixin.js:422
    destroy resource://devtools/client/fronts/targets/browsing-context.js:150
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    onPacket resource://devtools/shared/protocol/Front.js:294
    onPacket resource://devtools/client/devtools-client.js:493
    send resource://devtools/shared/transport/local-transport.js:68
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
browsing-context.js:138:15
Error while detaching the worker target front: Error: "Protocol error (noSuchActor): No such actor for ID: server1.conn0.workerTarget81 from: server1.conn0.workerTarget81"
    onPacket resource://devtools/shared/protocol/Front.js:319
    DevTools RDP*request resource://devtools/shared/protocol/Front.js:256
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    detach resource://devtools/client/fronts/targets/worker.js:92
    _destroyTarget resource://devtools/client/fronts/targets/target-mixin.js:461
    destroy resource://devtools/client/fronts/targets/target-mixin.js:422
    _workerListChanged resource://devtools/shared/resources/target-list.js:193
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    onPacket resource://devtools/shared/protocol/Front.js:294
    onPacket resource://devtools/client/devtools-client.js:493
    send resource://devtools/shared/transport/local-transport.js:68
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
worker.js:94:15
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). panel.js:62:24
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.layerManagerType]", result: 2147500037, filename: "resource://devtools/server/actors/utils/accessibility.js", lineNumber: 96, columnNumber: 0, data: null, stack: "isWebRenderEnabled@resource://devtools/server/actors/utils/accessibility.js:96:5\ngetSimulator@resource://devtools/server/actors/accessibility/accessibility.js:107:10\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/devtools-server-connection.js:380:58\nreceiveMessage@resource://devtools/shared/transport/child-transport.js:66:16\nMessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14\nready@resource://devtools/shared/transport/child-transport.js:57:10\n_onConnection@resource://devtools/server/devtools-server.js:471:15\nconnectToParent@resource://devtools/server/devtools-server.js:345:17\nonConnect<@resource://devtools/server/startup/frame.js:62:35\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nMessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:95:23\n@resource://devtools/server/startup/frame.js:177:5\n", location: XPCWrappedNative_NoHelper }
accessibility.js:100:13
Some cookies are misusing the “sameSite“ attribute, so it won’t work as expected 2
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. 2 node.js:413:6
TypeError: "can't access property "channel", this.httpActivity is null"
    _getSecurityInfo resource://devtools/server/actors/network-monitor/network-response-listener.js:327
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    onStartRequest resource://devtools/server/actors/network-monitor/network-response-listener.js:225
ThreadSafeDevToolsUtils.js:90:13
TypeError: can't access property "fromServiceWorker", this.httpActivity is null network-response-listener.js:272:7
Some cookies are misusing the “sameSite“ attribute, so it won’t work as expected 3
Error while calling actor 'pagestyle's method 'isPositionEditable' getComputedStyle(...) is null Actor.js:91:13
getDefinedGeometryProperties@resource://devtools/server/actors/highlighters/geometry-editor.js:175:40
isPositionEditable@resource://devtools/server/actors/styles.js:624:47
handler@resource://devtools/shared/protocol/Actor.js:154:37
onPacket@resource://devtools/server/devtools-server-connection.js:380:58
receiveMessage@resource://devtools/shared/transport/child-transport.js:66:16
MessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14
ready@resource://devtools/shared/transport/child-transport.js:57:10
_onConnection@resource://devtools/server/devtools-server.js:471:15
connectToParent@resource://devtools/server/devtools-server.js:345:17
onConnect<@resource://devtools/server/startup/frame.js:62:35
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
MessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:95:23
@resource://devtools/server/startup/frame.js:177:5
Actor.js:96:15
Some cookies are misusing the “sameSite“ attribute, so it won’t work as expected 3
Error: "Protocol error (unknownError): getComputedStyle(...) is null from: server0.conn1.child2/pagestyle25"
    onPacket resource://devtools/shared/protocol/Front.js:319
    DevTools RDP*request resource://devtools/shared/protocol/Front.js:256
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    lastRequest resource://devtools/client/inspector/boxmodel/box-model.js:190
    updateBoxModel resource://devtools/client/inspector/boxmodel/box-model.js:218
    onNewSelection resource://devtools/client/inspector/boxmodel/box-model.js:296
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    setNodeFront resource://devtools/client/framework/selection.js:161
    onNodeSelected resource://devtools/client/inspector/inspector.js:1340
box-model.js:222:19
Error while calling actor 'pagestyle's method 'getLayout' can't access dead object Actor.js:91:13
getLayout@resource://devtools/server/actors/styles.js:951:24
handler@resource://devtools/shared/protocol/Actor.js:154:37
onPacket@resource://devtools/server/devtools-server-connection.js:380:58
receiveMessage@resource://devtools/shared/transport/child-transport.js:66:16
MessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14
ready@resource://devtools/shared/transport/child-transport.js:57:10
_onConnection@resource://devtools/server/devtools-server.js:471:15
connectToParent@resource://devtools/server/devtools-server.js:345:17
onConnect<@resource://devtools/server/startup/frame.js:62:35
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
MessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:95:23
@resource://devtools/server/startup/frame.js:177:5
Actor.js:96:15
Error: "Protocol error (unknownError): can't access dead object from: server0.conn1.child2/pagestyle25"
    onPacket resource://devtools/shared/protocol/Front.js:319
    DevTools RDP*request resource://devtools/shared/protocol/Front.js:256
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    lastRequest resource://devtools/client/inspector/boxmodel/box-model.js:178
    updateBoxModel resource://devtools/client/inspector/boxmodel/box-model.js:218
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    onReflowInSelection resource://devtools/client/inspector/inspector.js:1572
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    onPacket resource://devtools/shared/protocol/Front.js:294
    onPacket resource://devtools/client/devtools-client.js:493
    send resource://devtools/shared/transport/local-transport.js:68
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
box-model.js:222:19
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 2 buglist.cgi
Use of nsIFile in content process is deprecated. 2 NetUtil.jsm:253:8
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”). panel.js:62:24

I think that this is dup of bug 1622490
Honza

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

The problem described here can be reproduced using Firefox 75.0b7 and a clean profile while the problem described in bug 1622490 is fixed

That is correct, bug 1622490 was fixed in Firefox 77.

Can you please try to test this in Firefox Nightly?
https://www.mozilla.org/en-US/firefox/channel/desktop/

Honza

Flags: needinfo?(dleborgne)

The problem described here can be reproduced with a clean profile using Firefox 76.0 or Firefox 77.0b2

Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---

Thanks for testing this!

Yes, there is one more bug that needs to be fixed: Bug 1622209

I am adding a dependency.

Honza

Status: UNCONFIRMED → NEW
Depends on: 1622209
Ever confirmed: true
Priority: -- → P2
Flags: needinfo?(dleborgne)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.