mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
30ee512caa
Errors thrown by takeScreenshot used to be silently ignored. When the command started using the new dispatching technique in bug 1202663, it was surfaced we do not support taking screen captures of SVG documents. Since this is a requirement for Web Platform Tests, this patch corrects the wrong assumptions about document body and document element. This patch also significantly refactors the screen capture code, but only uses the new implementation in contnent space, since some further modifications are required to use it in chrome. r=dburns r=jgriffin --HG-- extra : commitid : DdCIEpd5PEJ extra : rebase_source : 7357010f992d7f995765c685000892cc59d9ec9a
46 lines
2.1 KiB
Plaintext
46 lines
2.1 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/.
|
|
|
|
marionette.jar:
|
|
% content marionette %content/
|
|
content/server.js (server.js)
|
|
content/driver.js (driver.js)
|
|
content/actions.js (actions.js)
|
|
content/listener.js (listener.js)
|
|
content/elements.js (elements.js)
|
|
content/sendkeys.js (sendkeys.js)
|
|
content/common.js (common.js)
|
|
content/simpletest.js (simpletest.js)
|
|
content/frame-manager.js (frame-manager.js)
|
|
content/EventUtils.js (EventUtils.js)
|
|
content/ChromeUtils.js (ChromeUtils.js)
|
|
content/error.js (error.js)
|
|
content/command.js (command.js)
|
|
content/dispatcher.js (dispatcher.js)
|
|
content/emulator.js (emulator.js)
|
|
content/modal.js (modal.js)
|
|
content/proxy.js (proxy.js)
|
|
content/capture.js (capture.js)
|
|
#ifdef ENABLE_TESTS
|
|
content/test.xul (client/marionette/chrome/test.xul)
|
|
content/test2.xul (client/marionette/chrome/test2.xul)
|
|
content/test_nested_iframe.xul (client/marionette/chrome/test_nested_iframe.xul)
|
|
content/test_anonymous_content.xul (client/marionette/chrome/test_anonymous_content.xul)
|
|
#endif
|
|
|
|
% content specialpowers %content/
|
|
content/specialpowers.js (../specialpowers/content/specialpowers.js)
|
|
content/SpecialPowersObserver.js (../specialpowers/components/SpecialPowersObserver.js)
|
|
* content/specialpowersAPI.js (../specialpowers/content/specialpowersAPI.js)
|
|
content/SpecialPowersObserverAPI.js (../specialpowers/content/SpecialPowersObserverAPI.js)
|
|
content/ChromePowers.js (../mochitest/tests/SimpleTest/ChromePowers.js)
|
|
content/MozillaLogger.js (../specialpowers/content/MozillaLogger.js)
|
|
|
|
% resource specialpowers %modules/
|
|
modules/MockFilePicker.jsm (../specialpowers/content/MockFilePicker.jsm)
|
|
modules/MockColorPicker.jsm (../specialpowers/content/MockColorPicker.jsm)
|
|
modules/MockPermissionPrompt.jsm (../specialpowers/content/MockPermissionPrompt.jsm)
|
|
modules/MockPaymentsUIGlue.jsm (../specialpowers/content/MockPaymentsUIGlue.jsm)
|
|
modules/Assert.jsm (../modules/Assert.jsm)
|