Because of bug 1376795 minidump files seem to get created with a slight
delay. As such these are not present at the time when the application
process is gone. Mozcrash currently doesn't detect those crashes, which
causes test failures to happen in our crash unit tests.
Also the tests should only run for those builds with the crash reporter
enabled. If that's not the case, like for code-coverage builds, mark
the test as skipped in setUp.
MozReview-Commit-ID: 9VqFuLX5NHl
--HG--
extra : rebase_source : dfed5d5a9527010f7838420b630c60fc2831f682
Since we make grid-template-areas/columns/rows properties animatable,
will remove test fail annotations.
MozReview-Commit-ID: FurGVlvNNQP
--HG--
extra : rebase_source : b4ce8391b6e6ec4709420d5a157013e01f3f54d9
This is tested more extensively with the new * window rect tests.
MozReview-Commit-ID: 3Ks3lq5oX8m
--HG--
extra : rebase_source : 300c8023513c664b96e0e0b3821708490a9fd08e
When a new session is created the server returns a few details of the
remote end. It replaces the contents of the capabilities variable with
what is returned so that it can be used when accessing it from the
session object.
MozReview-Commit-ID: DB4iMpYMKXU
--HG--
extra : rebase_source : 304ebd534403cf2dc471fb322fe9285a3e1f3588
This is tested more extensively with the new * window rect tests.
MozReview-Commit-ID: 3Ks3lq5oX8m
--HG--
extra : rebase_source : 31b552ae71597db923e235f96957cdb9dfb90ee2
When a new session is created the server returns a few details of the
remote end. It replaces the contents of the capabilities variable with
what is returned so that it can be used when accessing it from the
session object.
MozReview-Commit-ID: DB4iMpYMKXU
--HG--
extra : rebase_source : 393c52469c2598cbcc5f9c9d7f793a2f0e0d6cd3
This allows syntax like --try-test-paths web-platform-tests-reftests:path/to/test
MozReview-Commit-ID: uAet1ilPVy
--HG--
extra : rebase_source : 447277e47701435186ad87dfc089bd21f2bd1907
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
MozReview-Commit-ID: IvA2ySPPmeJ
--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
The |mach try| implementation isn't really testing specific so figured while doing this refactor
anyway we could take the opportunity to move it to /tools. This renames the "autotry" module to
"syntax" as one of the 'selectors' under the newly created tryselect module.
MozReview-Commit-ID: DmnGU5sKuCk
--HG--
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : 52f2a61d97107b8d50e3894ea0f5cd9c24d4108d
Implements PerformanceTiming, nsITimedChannel, and devtools 'tls setup'
Also captures telemetry on this as we do for all other attributes of timedChannel
Also propogates some null transaction timings onto first real
transaction of a connection
MozReview-Commit-ID: 47TQJYVHnKC
--HG--
extra : rebase_source : a7723962986de0c2ab00d479a22c3f5fd185c8b2
Like we do for mochitests, set the MOZ_DEVELOPER_REPO_DIR and
MOZ_DEVELOPER_OBJ_DIR environment variables when running talos
tests so that the content sandbox permits access to test files
that are symlinks from the .app/ directory to the repo or
object directory.
MozReview-Commit-ID: J1bRqoB8a2i
--HG--
extra : rebase_source : 18f0bafa53dcd872d9bd647fc2e5ce143f5887bd
Test harnesses may use STYLO_FORCE_ENABLED, so we need to check this value when
building WPT test conditions.
MozReview-Commit-ID: HXZZqBkRdOv
--HG--
extra : rebase_source : e928c9181497246532a7aa82c3c3d3b3d6d242c0
Test harnesses may use STYLO_FORCE_ENABLED, so we need to fold this into mozinfo
for mochitest annotations.
MozReview-Commit-ID: JyadTE7apX6
--HG--
extra : rebase_source : 4eda1f150c012a8f5c0a58fdc921d8a6e03c4e68
The NetUtils sync I/O shows up in the profile logs, so we want to switch the
function that loads `update.locale` file to be async.
MozReview-Commit-ID: AEYKiivsNl0
--HG--
extra : rebase_source : 3784a3d40d48e81df41d10eb92b35e1656a0305b
365731510976 (bug 1380391) added index routes for decision tasks by
pushlog id. This is a good idea. The pushlog id is guaranteed to always
be incrementing (except for repos that are periodically reset, which
we don't care about). It is useful to provide strict ordering for
pushes and is simpler for machines to consume and sort than dates.
So let's index all tasks by pushlog id.
MozReview-Commit-ID: BPqx4ARza1c
--HG--
extra : rebase_source : e952c636e5fcd2a0ddb5e14a0faaccb3761298bf
It be ideal to have |mach test {findbugs,test}| and |mach lint
{lint,checkstyle}|, but the |mach test| command is very difficult to
extend in a direction orthogonal to the existing direction. The
existing |mach test| is built around in-tree manifests, tagged and
divided into suites, intended to support |mach test
path/to/arbitrary/test|. The Android findbugs task is a global static
analysis that doesn't fit into the path/manifest model. The Android
test task is based on JUnit and not easy to build manifest support
for. The |mach lint| command is intended to be extended, but the
effort to extend it is non-trivial and not worth the effort (at this
time).
Therefore, I've taken the existing, little used |mach android| command
and added subcommands for use by local developers and automation. If
nothing else, this reduces the number of "special Gradle targets" --
the equivalent of "special Make targets" -- sprinkled throughout the
tree, which can only be a good thing!
MozReview-Commit-ID: 24b1vbgykpN
--HG--
extra : rebase_source : 8843a6e3840586fe05a1434484a848d48b2a6e8b
This adds the mozconfigs, mozharness configs and taskcluster changes required
to create optimized DMD builds for linux64, win32, win64 and macosx64.
These builds will happen nightly on mozilla-central
We also add support for custom build variants on Windows (or other generic
worker environments).
MozReview-Commit-ID: HrVT9PLSWVx
--HG--
extra : rebase_source : 39ac752a312afe04187728da82a4a7f722634811
If the previous sandbox has a dead WindowProxy reference, we should blow
away the sandbox.
This can be reproduced when a sandbox persists across multiple invocations
of the Execute Script or Execute Async Script commands, but a window is
closed in between. This will normally produce a TypeError: can't access
dead object error.
Signed-off-by: Andreas Tolfsen <ato@sny.no>
MozReview-Commit-ID: 2xdSnKV4YHI
If the target URL has the exact same hash parameter as the current URL no
page load will happen. As such Marionette should not wait for the appropriate
events.
MozReview-Commit-ID: LNbGJQgChya
--HG--
extra : rebase_source : cd8ddbad4ac10ed67d001797d31b3b868255f546
While observing page loads the only interesting events are for the
current browsing context, and its document. While most events have
the document as target, and bubble up, the hashchange event only
fires for the window.
MozReview-Commit-ID: CiqkV4DuH48
--HG--
extra : rebase_source : b7bb9c2b3e4d591cbe700f627cdadd9a232ddbf5
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.
MozReview-Commit-ID: CDhOZ8lU2qJ
--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
If the target URL has the exact same hash parameter as the current URL no
page load will happen. As such Marionette should not wait for the appropriate
events.
MozReview-Commit-ID: LNbGJQgChya
--HG--
extra : rebase_source : a775f090c9c4e558803af80078c3eb3bf79fa583
While observing page loads the only interesting events are for the
current browsing context, and its document. While most events have
the document as target, and bubble up, the hashchange event only
fires for the window.
MozReview-Commit-ID: CiqkV4DuH48
--HG--
extra : rebase_source : b7bb9c2b3e4d591cbe700f627cdadd9a232ddbf5
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.
MozReview-Commit-ID: CDhOZ8lU2qJ
--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
The canonical geckodriver source code no longer lives on GitHub, but
in mozilla-central's testing/geckodriver directory. Linking through
searchfox.org because it provides a better UI than hg.mozilla.org.
MozReview-Commit-ID: LmnviuC7Z9Y
--HG--
extra : rebase_source : 23f0e669bd719c595300d4e7ac38bc12f4937f57
Upgrades the mozrunner crate dependency by pinning it to 0.4.1. With `./mach vendor rust' I could not find any other way to force a new version to be downloaded because cargo, as far as I understand, does not yet support using crates.io as a fallback.
This patch also pins the mozprofile and mozversion dependencies exactly, although this is strictly not needed yet because they we have the latest versions vendored in-tree.
MozReview-Commit-ID: 8emDKbiYd0S
--HG--
extra : rebase_source : c153506f481255b2f9362e94da3254013ad522ab
Overhaul of geckodriver's README to include more detailed information
about picking up prepared profiles from the filesystem using the args
capability in moz:firefoxOptions. It also includes a short example
on running Firefox in headless mode, which is available on some modern
Firefoxen on certain systems.
Also updates build instructions now that geckodriver lives in-tree.
MozReview-Commit-ID: AoJtpULBctH
--HG--
extra : rebase_source : 3697262f7050778ee1bc81ff4c26d51bf2cf86d4
Removes .version file ignore from .gitignore and creates a
testing/geckodriver/.hgignore rule file for parity with git.
MozReview-Commit-ID: HXgbLxeleAl
--HG--
extra : rebase_source : 8c1f919a77351378a580ab161e9660c5868e881f
When an iframe doesn't have focus, moving selection into a contenteditable element in it shouldn't cause moving focus to the document, moving focus to the editable element nor scrolling to the editor but the editor should become active element.
When an iframe has focus, moving selection into a contenteditable element in it should cause moving focus to the editor and scroll it into the view.
MozReview-Commit-ID: 1ZDPj6UotLn
--HG--
extra : rebase_source : c407e41f7f6ad771d25a5085786b94dd1bd99792
This also starts running the selftests on linux debug builds, since that's the only place that we
can test assertions and leaks.
MozReview-Commit-ID: JTdTLOLWn5r
--HG--
extra : rebase_source : 340aca0c4e5f9697b1d652fd192332e47a1acab9
extra : histedit_source : 2d4b542d2122b4c6d2d48fc9c49848d5453e4533
With multi-processes for content reloads of the frame script
can happen at any time, and not only for remoteness changes.
As such the current browser has to be re-registered with the
new id of the listener.
MozReview-Commit-ID: 48MOZfuPTR9
--HG--
extra : rebase_source : 60e91ae7e1cdc942d0ac9a9dd3aac3baeccc5ddf
This wrapper just calls back into the MarionetteDriver, and
doesn't have any value. Removing it simplifies the call stack.
MozReview-Commit-ID: GH1xUHX12Xi
--HG--
extra : rebase_source : a3b9e57e63809c9936fdb2686ad6016339ea7bf7
The macro simultaneously declares an enumeration and a count of its
enumerators.
A few variants of the macro are also provided to handle things like
enum classes, underlying types, and enumerations declared at class
scope.
MozReview-Commit-ID: 3z6yHnfXbLj
--HG--
extra : rebase_source : 92c333693e4bbf85b89cd3d7ac5b31f4b5434367
This patch renames the mozinfo flag 'coverage' to 'ccov' to avoid ambiguity in whether a test is being skipped for linux64-ccov or for linux64-jsdcov. It also removes the 'runtests.py' mozinfo hack and renames all occurrences of 'coverage' that are used for skipping tests in linux64-ccov.
MozReview-Commit-ID: IF2640bDQP7
--HG--
extra : rebase_source : 614020325e30d1ca9e01aaf08479b8a4ffaec888
By not using the JSON format when sending the capabilities to the
frame script, the values cannot be correctly decoded. As result
the capabilities will be reset to their default values for the
listener, and can cause various failures.
MozReview-Commit-ID: KaryoJiyd30
--HG--
extra : rebase_source : 206e45755d3ea9b6cbf2f2022a9a364dcf22d78e
For debugging purposes it would be useful to see which observer
notifications have been received and handled by the Marionette
component.
MozReview-Commit-ID: 1EucCEjOXhu
--HG--
extra : rebase_source : 09864144c4b92d1652aee6b62c72b29d692bd2ce
It is helpful to let the user know how Marionette get started. So
INFO log lines have to be added for the command line argument and
the environment variable.
This is especially helpful to get in case of missing observer
notifications, under which the server socket is not getting
created, and the client just hangs.
MozReview-Commit-ID: 4TEF33CDJKP
--HG--
extra : rebase_source : 3246fbcce4a3db2beddf82fa7b62ac482f37dcb1
This patch adds a flag to the 'mozinfo.json' that can be used to disable tests when they are running on linux64-ccov. Then, this flag is used to prevent the marionnette test 'test_crash.py' from running on linux64-ccov.
MozReview-Commit-ID: 9IHMiZHxcMK
--HG--
extra : rebase_source : ec690cb3ffa27d3e88d2c0b8c5d510e72a5c5079
We need a top-level package for tests and support files so that
support modules are importable from subpackages. For example,
previously webdriver/support/inline.py could not be imported from
webdriver/actions/mouse.py.
I'm creating the package in a subdirectory under webdriver in
order to avoid a name-clash with webdriver, the WebDriver client
library. Part of the motivation for adding the subdirectory rather
than renaming the client library is that it's a relatively
isolated change.
MozReview-Commit-ID: BihAKcNLbXK
--HG--
rename : testing/web-platform/meta/webdriver/contexts.py.ini => testing/web-platform/meta/webdriver/tests/contexts.py.ini
rename : testing/web-platform/meta/webdriver/navigation.py.ini => testing/web-platform/meta/webdriver/tests/navigation.py.ini
rename : testing/web-platform/tests/webdriver/actions/__init__.py => testing/web-platform/tests/webdriver/tests/actions/__init__.py
rename : testing/web-platform/tests/webdriver/actions/conftest.py => testing/web-platform/tests/webdriver/tests/actions/conftest.py
rename : testing/web-platform/tests/webdriver/actions/key.py => testing/web-platform/tests/webdriver/tests/actions/key.py
rename : testing/web-platform/tests/webdriver/actions/mouse.py => testing/web-platform/tests/webdriver/tests/actions/mouse.py
rename : testing/web-platform/tests/webdriver/actions/sequence.py => testing/web-platform/tests/webdriver/tests/actions/sequence.py
rename : testing/web-platform/tests/webdriver/actions/special_keys.py => testing/web-platform/tests/webdriver/tests/actions/special_keys.py
rename : testing/web-platform/tests/webdriver/actions/support/__init__.py => testing/web-platform/tests/webdriver/tests/actions/support/__init__.py
rename : testing/web-platform/tests/webdriver/actions/support/keys.py => testing/web-platform/tests/webdriver/tests/actions/support/keys.py
rename : testing/web-platform/tests/webdriver/actions/support/refine.py => testing/web-platform/tests/webdriver/tests/actions/support/refine.py
rename : testing/web-platform/tests/webdriver/actions/support/test_actions_wdspec.html => testing/web-platform/tests/webdriver/tests/actions/support/test_actions_wdspec.html
rename : testing/web-platform/tests/webdriver/conftest.py => testing/web-platform/tests/webdriver/tests/conftest.py
rename : testing/web-platform/tests/webdriver/contexts.py => testing/web-platform/tests/webdriver/tests/contexts.py
rename : testing/web-platform/tests/webdriver/cookies.py => testing/web-platform/tests/webdriver/tests/cookies.py
rename : testing/web-platform/tests/webdriver/navigation.py => testing/web-platform/tests/webdriver/tests/navigation.py
rename : testing/web-platform/tests/webdriver/support/__init__.py => testing/web-platform/tests/webdriver/tests/support/__init__.py
rename : testing/web-platform/tests/webdriver/support/asserts.py => testing/web-platform/tests/webdriver/tests/support/asserts.py
rename : testing/web-platform/tests/webdriver/support/fixtures.py => testing/web-platform/tests/webdriver/tests/support/fixtures.py
rename : testing/web-platform/tests/webdriver/support/http_request.py => testing/web-platform/tests/webdriver/tests/support/http_request.py
rename : testing/web-platform/tests/webdriver/support/inline.py => testing/web-platform/tests/webdriver/tests/support/inline.py
rename : testing/web-platform/tests/webdriver/support/merge_dictionaries.py => testing/web-platform/tests/webdriver/tests/support/merge_dictionaries.py
rename : testing/web-platform/tests/webdriver/window_maximizing.py => testing/web-platform/tests/webdriver/tests/window_maximizing.py
extra : rebase_source : cb2aed22a39fc5b720c70e4b9864ebe20ee8ce40
To retrieve the title of the currently selected content browser
it is not necessary to call into the frame script. Instead just
take the value from the parent process directly.
MozReview-Commit-ID: KEpYKLIydrJ
--HG--
extra : rebase_source : 8b179de7057f8655a81656bd4d95b1562edb9f54
The current webextension in Marionette harness tests doesn't have an
addon id and as such will not be able to be installed outside of
about:debugging. This patch synchronizes the updated webextension
from Puppeteer with Marionette harness.
MozReview-Commit-ID: AjdDQpySnBl
--HG--
extra : rebase_source : c9a498aee2f9ade6dee31971a3b4889d63b19ec6
To support webextensions in Puppeteer the current restartless
extension gets replaced by a webextension. It allow us to test
at least the permission notification. This patch only adds basic
support.
MozReview-Commit-ID: FKq76qcOxKu
--HG--
extra : rebase_source : 1dc81e80c43d3ec61f3ff405fa7807a08ab1d45e
This patch upgrades the GRCOV version being used and changes how it is used in 'codecoverage.py'.
MozReview-Commit-ID: 6fjUB6sV3gy
--HG--
extra : histedit_source : 419133ee55f9a37725845994e0ff16a9c59b2bad
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.
MozReview-Commit-ID: zehcGJrUQX
--HG--
extra : rebase_source : e9ce75ecf18e7d4c829e369f5fbd1df8d6449edf
Unlike python 3, python 2 doesn't have a proper implementation of realpath or
samefile for Windows. However there is a function convert_path in FixTk.py that
was added to python 2 to fix an issue with tcl installations and symlinks, so
we use that as this is just for testing.
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.
MozReview-Commit-ID: 3uOxkgWYWEz
--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
Support OSX Signed nightlies (in the complete.mar too)
MozReview-Commit-ID: 6iPrPhjj34g
--HG--
extra : rebase_source : 55a6bcf1910f1cae084cf32f6cf47ecf44b500aa
The mochitest harness uses testEnd multiple times to log various failures. This can result
in several testEnd messages, which will soon cause mozlog to spit out an error. Instead,
these should be testStatus.
This also starts using mozlog's assertion_count log action to log test assertions (again,
instead of testEnd).
MozReview-Commit-ID: FFsyicSso5Y
--HG--
extra : rebase_source : 5e8d02714fcf24f2b86a9867b0403bbda0d00f91
"Automation Error" is not sufficient to turn a mozharness job orange.
mochitest-plain failures of this type normally cause job failure by not
printing out the test suite summary. This patch uses the same technique
for geckoview tests: If a crash is detected, do not print a test summary,
so that mozharness will subsequently fail the job.
In some cases the click command can trigger the closing of the
currently selected tab or window. To not cause a hang when waiting
for a response from the removed framescript, the tab and window
closing events have to be observed. Also the command has to return
immediately.
MozReview-Commit-ID: 9WeXryrKEJr
--HG--
extra : rebase_source : a7a23cf19e55eecbf957d48c2182a601d63d0909
Beside Errno 57 there is also Errno 107 (Transport endpoint is not
connected) which can happen in case of an unexpected crash/shutdown
of Firefox. Then calling shutdown() on the socket to stop the
communication will fail.
This is most likely a race and can happen after receiving a reply
from the server, and before sending another command.
MozReview-Commit-ID: 3S5Ko4XVUAJ
--HG--
extra : rebase_source : 59d79ab5da2c4e67b64bc90501660a7603a993c8
Tests are causing issues for us due to slow running builds and
delayed creation of minidump files. Also we don't see a value
yet to have those tests running for ASAN. Once bug 1348961 is
fixed we could re-evaluate.
MozReview-Commit-ID: BZHa1O5F6ep
--HG--
extra : rebase_source : 28e1977607eb803c4167315cf32f56e5b2e0ba31
In case of delayed shutdowns of Firefox we currently miss to detect the
created minidump files because the mozcrash mock gets removed right after
the crash causing command has been executed. To prevent this the mock
has to be active from setUp until tearDown.
Also we should not silently ignore the case that the minidump folder
cannot be deleted. Because it means no crash happened, or the folder
has not been created.
MozReview-Commit-ID: KncJ5BHi7M5
--HG--
extra : rebase_source : 63c947b0a7fe16de0eed19a8e0359721d9f4051d
This also adds a utility function for synthesizing native touch
events to Eventutils.js.
I did not add a test for searchbar because of intermittent issues
with showing the contextmenu (that are not reproducible manually).
I believe this is rather related to searchbar functionality than
my patches.
MozReview-Commit-ID: Dqm92Saosxz
--HG--
extra : rebase_source : d5c4333609b68773e62447bd3158cadfa89b803b
This is faster and works better in some cases (e.g. with SVG). However
it doesn't work correctly on Windows yet, so remains disabled there by default.
MozReview-Commit-ID: AXyeFUGfVgx
The internal reftest harness changes some results, but it's not clear
that it's overall better or worse than the old one, so just update the
expectation metadata for now.
MozReview-Commit-ID: KSE2z1Ct72t
This adds a metadata object associated with each test queue, and uses
it to pass cache information into the marionette internal reftest
implementation so that we are able to cache only those canvases that
will be reused.
MozReview-Commit-ID: zASrlvnri3
Initially wptrunner had a single test queue that was shared between
all processes. Then for --run-by-dir it changed to a queue of
queues. This change makes it a queue of deques, which is simpler,
since the test queues themselves are no longer shared between
processes. It also changes the implementation when we aren't using
--run-by-dir but are using multiple processes to pre-group the tests
into N queues rather than sharing a single queue between all
processes. This is necessary to use the deque of course, but
importantly anticipates a change in which we will pre-compute per
queue metdata for each queue; that doesn't work well with one shared
queue. The downside of this change is that there is no work stealing,
so it may be less efficient if we randomly assign many slow jobs to
one particular process.
MozReview-Commit-ID: 7e0Odk7yDwr
Add an InternalReftestImplmentation that runs reftests using the
built-in Marionette reftest primitives rather than screenshots. This
is actiivated using the --internal-reftest switch, although that may
become the default in the future.
MozReview-Commit-ID: 6HxGuBsTITf
This adds commands to start a reftest session, run a test, and end the
session. It as assumed that after you start a reftest session you will
just run reftests until you end the session. When starting a session
the user provides a string indicating when screenshots should be
taken, and an object mapping urls to a count of the number of times
that url is expected to be used in the session, to help with
caching. Running the tests takes a url to a test, an expected status,
a timeout, and a nested list of possible references, in which each
entry at a specific level is combined by OR and nested references are
combined by AND.
The implementation is heavilly inspired by the existing reftest
harness, starting a minimal window with no tabs, and loading the urls
directly in there. In order to get a screenshot in the e10s case we
have to pass the DRAW_VIEW and USE_WIDGET_LAYERS flags when taking the
screenshot.
For performance we heavily cache canvases; for references that will be
repeated we cache the full canvas with image, and we also cache a
single canvas to use for all other screenshots to avoid the overhead
of repeatedly creating a new canvas element.
MozReview-Commit-ID: JOFvtmH7tg
Because this window is a normal Firefox window but doesn't contain any
tabs, the normal Marionette functions for iterating over windows don't
work well. As a sort of hack, identify this window by the id of its
root element, and special case it when finding windows in Marionette.
MozReview-Commit-ID: LxPv13YDXDu
This allows other commands to implicitly change the window handle, by
calling findWindow with appropriate arguments to get a window
properties object and then passing that to setWindowHandle.
MozReview-Commit-ID: 4NpYxjsMM4T
This uses os.path.normcase to fix the current issue on automation.
Ideally we would use os.path.samefile but that's not available in python 2.
os.path.realpath is implemented in python 2, but it doesn't resolve symlinks and junction points
and doesn't normalise case.
This is faster and works better in some cases (e.g. with SVG). However
it doesn't work correctly on Windows yet, so remains disabled there by default.
MozReview-Commit-ID: AXyeFUGfVgx
--HG--
extra : rebase_source : c7d33dc0c92624e05e9e62109606f1ca32bdd288
The internal reftest harness changes some results, but it's not clear
that it's overall better or worse than the old one, so just update the
expectation metadata for now.
MozReview-Commit-ID: KSE2z1Ct72t
--HG--
extra : rebase_source : f1810dd4b9f8dcc115528ceaac4894408d85f935
Reorder imports so that global ones are done before local imports.
MozReview-Commit-ID: 7xA9XQlxlj4
--HG--
extra : rebase_source : b144401c5c6c47e87beab669f76f2b61fb79e5b6
It will help a lot for debugging when the outer window id of the
content window gets logged when the frame script gets registered.
MozReview-Commit-ID: D64A1nPEs6l
--HG--
extra : rebase_source : 0e592e10cb1a0979f4331b92dbfcfc905e737120
The testcase file clicks.html contains a couple of elements which are
not in use, and makes it hard to keep an overview what's actually used.
Lets refactor it to only keep what's really needed.
MozReview-Commit-ID: D9PVWUSmOHr
--HG--
extra : rebase_source : 0ecc3400c7e291f7923db1e93884b1d279a5e6e9
- Set the extensions.legacy.enabled pref for mochitests etc
- Skip a plugin-inside-xpi test for now if legacy extensions
are force-disabled. That test can just be removed once we
get to 57.
MozReview-Commit-ID: As9LtkQTcTS
--HG--
extra : rebase_source : fcc84daef95c453e893cc3b98498fdb87f54b1bb
In bug 1338306, support for optional default values was added to the various
get*Pref APIs on the prefs service. This change exposes that to SpecialPowers
as well.
MozReview-Commit-ID: 6hU73CrQBZQ
--HG--
extra : rebase_source : 316ae4492a61d13ad4717160e97856960679123d
When we get the usre's frequent visting site from UnifiedComplete.js,
and then open a network connection for it before the user hits
the enter key.
MozReview-Commit-ID: 36moBeeUnyZ
--HG--
extra : rebase_source : 4122534b2d21d2a959fd8dbb8533dd3e0ef75621
In safe mode the command line hander arguments are getting parsed
after the safe mode dialog has been closed. As such Marionette is
not getting enabled before, and cannot close the dialog.
To workaround the problem the "command-line-startup" observer
notification can be used, which allows to parse the given
arguments before the dialog.
MozReview-Commit-ID: LWzUKCnM0YK
--HG--
extra : rebase_source : d0113a202c64c1766955d6effd1cdf1af96773c0