Commit Graph

17213 Commits

Author SHA1 Message Date
Dragana Damjanovic
135d43201f Bug 1222633 - Web tests changes that incorporate new semantics of "as" attribute. r=smaug 2017-07-10 15:05:31 +02:00
Markus Hartung
817abb8ee8 Bug 1368068 - Check if sandbox' window is dead before evaluating script; r=ato
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
2017-07-09 16:42:00 +01:00
Sebastian Hengst
aca8a9ec23 Backed out changeset b72700473956 (bug 1374672) on request from whimboo for failing xpcshell's testing/marionette/test_navigate.js. r=backout 2017-07-08 10:49:55 +02:00
Sebastian Hengst
4e9f239b9f Backed out changeset 59f5bb05f3e4 (bug 1374672) 2017-07-08 10:49:18 +02:00
Sebastian Hengst
44a554344d Backed out changeset 7571a1477753 (bug 1374672) 2017-07-08 10:49:13 +02:00
Henrik Skupin
1f1de877ae Bug 1374672 - Don't wait for page load events for identical hash parameters. r=automatedtester
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
2017-07-07 17:34:27 +02:00
Henrik Skupin
1a404d9ac4 Bug 1374672 - Return early if event for page load is uninteresting. r=automatedtester
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
2017-07-07 16:38:41 +02:00
Henrik Skupin
2ae312826e Bug 1374672 - Use documentURI instead of baseURI. r=automatedtester
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
2017-07-07 15:36:08 +02:00
Wes Kocher
357d1ced36 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Fqck4FxLfLt
2017-07-07 17:35:02 -07:00
Wes Kocher
fd4857585c Merge autoland to central, a=merge
MozReview-Commit-ID: Lf7ROINgvql
2017-07-07 17:22:00 -07:00
Sebastian Hengst
49b8ee536c Backed out changeset 387e4a353e65 (bug 1376026) 2017-07-07 21:42:05 +02:00
Rajesh Kathiriya
881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Rob Wood
568d7f1706 Bug 1378139 - Add stylo-only talos test suite for perf-reftest singletons; r=igoldan
MozReview-Commit-ID: 58yFIGLxyKm

--HG--
extra : rebase_source : fe3d673afa73c46d5e2dcf564634449bec5c9f8b
2017-07-05 11:17:31 -04:00
Carsten "Tomcat" Book
b5c809a8bc merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
Wes Kocher
19d135c982 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4R4GFHPiij
2017-07-06 16:19:38 -07:00
Wes Kocher
bbb26fe90e Merge inbound to central, a=merge
MozReview-Commit-ID: 2nFzji7su8C
2017-07-06 16:10:49 -07:00
Ionut Goldan
8205e8064d Bug 1355934 - transform tpaint into a Pageloader test r=jmaher
MozReview-Commit-ID: J3iZDRp14Br

--HG--
extra : rebase_source : ab5218f0bbbd8f65a6e68219f0706c0bef0f3192
2017-06-28 11:40:38 -07:00
James Cheng
759a5057e8 Bug 1377193 - Add the m3u8 and media contents into gecko and add one general test case run only on Fennec for testing HLS. r=jwwang
MozReview-Commit-ID: 8cwQlcah2H8

--HG--
extra : rebase_source : 29398ab3557ad6f2ed6c4aafc7be6dbd8eca8cc8
2017-07-01 04:41:57 +08:00
Carsten "Tomcat" Book
2178a22de4 Merge mozilla-central to autoland 2017-07-06 11:24:24 +02:00
Carsten "Tomcat" Book
7857fa0a5e merge mozilla-inbound to mozilla-central a=merge 2017-07-06 11:18:05 +02:00
Masayuki Nakano
ef6bac5b7b Bug 1377752 - part1: Add automated test for checking scroll position and focused document when setting selection into a contenteditable element in an iframe element r=smaug
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
2017-07-05 22:21:43 +09:00
Thomas Nguyen
62625fef28 Bug 1297614 - Refactor and remove dead code in toolkit/components/url-classifier/content r=francois
MozReview-Commit-ID: GzVGS1ZTRGL

--HG--
extra : rebase_source : ee868b5fb590f4965b17535383327df98504e963
2017-06-30 13:31:03 -07:00
Sylvestre Ledru
4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Andrew Halberstadt
f85d81d30e Bug 1372263 - Add additional mochitest selftests for crashes, assertions and leaks, r=jmaher
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
2017-06-22 16:37:11 -04:00
Andrew Halberstadt
02ba790378 Bug 1372263 - Add ability to skip mochitest selftests based on mozinfo properties, r=jmaher
MozReview-Commit-ID: JTdTLOLWn5r

--HG--
extra : rebase_source : 4b709c731f43e00dbc0e6596287811b739a3556c
extra : histedit_source : 71938673eecdb975e930d3b305433b3528acf7c7
2017-06-22 16:36:15 -04:00
Christoph Kerschbaumer
8c2c44531e Bug 1377557 - follow up: Update manifest.json. r=me 2017-07-06 12:21:51 +02:00
Carsten "Tomcat" Book
3f89ce0b43 Merge mozilla-central to mozilla-inbound 2017-07-06 11:21:11 +02:00
Anne van Kesteren
9992048e01 Bug 1377557 - Web platform tests update to comply with data: URI inheritance model: Update send-content-type-string.htm, contenttype_datauri_02.html and remove contenttype_datauri_01.html. r=jdm 2017-07-05 15:38:24 +02:00
Lee Salzman
43d7ac3f7d Bug 1376026 - fix tests to assume that Windows 7 always uses DWrite. r=jrmuizel
MozReview-Commit-ID: DQ3VHS7bDIp
2017-07-07 13:51:54 -04:00
Christoph Kerschbaumer
742c78d27d Bug 1377747 - Update web platform tests for workers to comply with data: URI inheritance model. r=bkelly 2017-07-07 11:34:00 +02:00
Andrew McCreight
1b0c3c5f57 Bug 1100635 - Fix strict warning in xpcshell/head.js. r=cmanchester+432261
MozReview-Commit-ID: 3KktUF0n5GB

--HG--
extra : rebase_source : 8a560a3ebc3ad56c6011c01c0b8df71184887af6
2017-06-16 15:30:47 -07:00
Henrik Skupin
94ab53b2b8 Bug 1332122 - Add unit tests for navigating to file:// URLs. r=automatedtester
MozReview-Commit-ID: 7GAHkfuvMcB

--HG--
extra : rebase_source : 2ffa548b36c5411e1b62b2ab28d0b2b14fc05701
2017-07-05 20:24:48 +02:00
Henrik Skupin
618082fc0c Bug 1332122 - Re-register the browser for frame script reloads. r=automatedtester
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
2017-07-06 18:02:19 +02:00
Henrik Skupin
d373a550b4 Bug 1332122 - Remove unnecessary wrapper browser.startSession(). r=automatedtester
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
2017-07-04 10:27:54 +02:00
Brian Birtles
bf19615984 Bug 1377053 - Add test for discrete interpolation of stroke-dasharray with 'none'; r=hiro
MozReview-Commit-ID: MuxvAeVwes

--HG--
extra : rebase_source : 6837b4273abee1f2c600524dd376c5e4698a691b
2017-07-05 21:48:02 +09:00
Brian Birtles
1e2aae7454 Bug 1377053 - Update test expectations based in fixed interpolation fallback behavior; r=hiro
MozReview-Commit-ID: LcHuXa3dTpZ

--HG--
extra : rebase_source : ba24aa7856e41463c3cf6f986d762fa385d2905c
2017-07-06 06:31:39 +09:00
Botond Ballo
2c2d3ded79 Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj
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
2017-06-30 19:58:11 -04:00
Greg Mierzwinski
1a2d6fd412 Bug 1378239 - Change mozinfo 'coverage' flag to 'ccov' to avoid ambiguity. r=ahal
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
2017-07-04 21:18:19 -04:00
Henrik Skupin
c9b6fbb461 Bug 1378191 - Use JSON to send capabilities in "Marionette:listenersAttached" r=automatedtester
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
2017-07-04 21:03:36 +02:00
Henrik Skupin
be27f8498f Bug 1378209 - Add DEBUG log line for received observer notifications. r=automatedtester
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
2017-07-05 10:35:28 +02:00
Henrik Skupin
dccfbfd03e Bug 1378209 - Add INFO log lines for how Marionette got started. r=automatedtester
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
2017-07-05 10:33:23 +02:00
Carsten "Tomcat" Book
b72c4833d5 merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
Daisuke Akatsuka
4565764d92 Bug 1371115 - Part 15: Remove test fail annotations from meta in wpt. r=hiro
Since we make following properties animatable in this bug,
remove test fail annotations from meta in wpt.

* background-image
* background-repeat
* border-image-outset
* border-image-slice
* border-image-source
* border-image-width
* counter-increment
* counter-reset
* font-family
* font-feature-settings
* grid-auto-columns
* grid-auto-rows
* grid-column-end
* grid-column-start
* grid-row-end
* grid-row-start
* list-style-image
* marker-end
* marker-mid
* marker-start
* mask-image
* mask-repeat
* quotes
* scroll-snap-points-x
* scroll-snap-points-y
* text-emphasis-style
* text-overflow
* will-change

MozReview-Commit-ID: Fq6I59b2fNm

--HG--
extra : rebase_source : 0392dddbe0a9608514d6f0d4dd2fa48c43ffa7d4
2017-07-05 14:12:59 +09:00
Phil Ringnalda
22cb9f77bb Merge m-c to m-i
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Florian Quèze
afec05d535 Bug 1378171 - add a test preventing us from loading scripts unintentionally during content process startup, r=mconley. 2017-07-04 22:48:15 +02:00
Carsten "Tomcat" Book
75c2b6acd0 Merge mozilla-central to mozilla-inbound 2017-07-04 11:09:13 +02:00
Carsten "Tomcat" Book
8e3fa527c9 merge mozilla-inbound to mozilla-central a=merge 2017-07-04 10:48:33 +02:00
Greg Mierzwinski
3daf739be1 Bug 1377876 - Disable 'test_crash.py' when running on linux64-ccov. r=whimboo
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
2017-06-30 16:30:59 -04:00
Wes Kocher
fe8f466015 Merge m-c to autoland a=merge
MozReview-Commit-ID: 3aVeSLStD5W
2017-07-03 17:42:41 -07:00
Carsten "Tomcat" Book
2aefedb342 Merge mozilla-central to mozilla-inbound 2017-07-03 11:01:38 +02:00