mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
c8a64b88e1
In the current tip-of-tree Firefox, document channel is enabled by default, so we have to enable it in order to roll further. This patch: 1. Removes content disposition sniffing from content process since it crashes renderer with document channel. 2. Merges all page-related handlers in a single `PageHandler` and serializes network events wrt the `Page.frameAttached` event. The serialization mentioned in (2) is necessary: frame attachment is reported from the content process, and network events are reported from the browsers process. This is an inherent race, that becomes exposed by the document channel. On a side note, (2) makes it possible to synchronously report all buffered events in `SimpleChannel` (cc offline discussion with @dgozman that highlighted an unsighty approach that we currently employ there: reporting events in a subsequent microtask.) References #3995
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
juggler.jar:
|
|
% content juggler %content/
|
|
content/Helper.js (Helper.js)
|
|
content/NetworkObserver.js (NetworkObserver.js)
|
|
content/TargetRegistry.js (TargetRegistry.js)
|
|
content/SimpleChannel.js (SimpleChannel.js)
|
|
content/protocol/PrimitiveTypes.js (protocol/PrimitiveTypes.js)
|
|
content/protocol/Protocol.js (protocol/Protocol.js)
|
|
content/protocol/Dispatcher.js (protocol/Dispatcher.js)
|
|
content/protocol/PageHandler.js (protocol/PageHandler.js)
|
|
content/protocol/BrowserHandler.js (protocol/BrowserHandler.js)
|
|
content/content/main.js (content/main.js)
|
|
content/content/FrameTree.js (content/FrameTree.js)
|
|
content/content/PageAgent.js (content/PageAgent.js)
|
|
content/content/Runtime.js (content/Runtime.js)
|
|
content/content/WorkerMain.js (content/WorkerMain.js)
|
|
content/content/hidden-scrollbars.css (content/hidden-scrollbars.css)
|
|
|