Commit Graph

564922 Commits

Author SHA1 Message Date
Andreas Tolfsen
b6d0e8ec91 Bug 1400256 - Add web element abstractions. r=whimboo
This patch introduces a series of web element abstraction types for
representing web element references.

Adds a series of new types for representing web element references
in Marionette: ChromeWebElement, ContentWebElement, ContentWebFrame,
and ContentWebWindow.  The last three are direct representations of
web element, web frame, and web window definitions described in the
Webdriver specification.  The first is a custom Marionette type as
we also support retrieving XUL elements from chrome space and must
be considered proprietary.

Each of the classes extend the WebElement abstract type, which is
the primary entry point when unmarshaling JSON input from the client.
Based on the characteristics of the JSON Object, one of the different
concrete types will be constructed.

The purpose of this change is to make marshaling of elements and
WindowProxies easier, both when we receive web element reference
objects from clients and when transporting them over IPC internally.

The WebElement.fromUUID function should be considered a temporary
workaround until we have fixed the current Marionette clients to send
web element reference JSON Objects as input, instead of plain {id:
<uuid>, …} fields.

MozReview-Commit-ID: FGcRq5H1Tzp

--HG--
extra : rebase_source : fe82087e8935adb519e2934fc37f1d46c21d9187
2017-10-13 19:23:45 +01:00
Nikhil Shagrithaya
751695e701 servo: Merge #18946 - Update h5e version (from cynicaldevil:update-h5e); r=nox
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 91077ee4185b4917f5f67bf7ebe7ea03ca3e7241

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8086d3b411e9c203784fd3f8b210079d3a251a3d
2017-10-20 08:49:09 -05:00
Phil Ringnalda
3e5273e92b Backed out changeset fb90c2538141 (bug 1407331) for build bustage
CLOSED TREE

MozReview-Commit-ID: 2Z6OSmyov6P
2017-10-20 08:11:49 -07:00
Tom Ritter
387fbfc8b6 Bug 1406736 Match MinGW's macro so we declare gmtime_r under MinGW too r=froydnj
MozReview-Commit-ID: 2U2ToeyVUUt

--HG--
extra : rebase_source : a4ebd43f4529cc6b815f5bb849021a994dda959f
2017-10-09 00:18:19 -05:00
Tom Prince
802c3383f3 Bug 1410203: Don't build mozharness package when in comm-topdir build, rather than any thunderbird build; r=gps
MozReview-Commit-ID: 9SBHRWQYnNU

--HG--
extra : rebase_source : 297ece28f21ffca31de439184f3287451aa72942
extra : source : 03d217fdeabdefae9cf8c15caaad31e280958952
2017-10-19 10:20:23 -06:00
Zibi Braniecki
fc54af78ae Bug 1410266 - Explicitly include locale.h in OSPreferences_gtk.cpp. r=jfkthame
MozReview-Commit-ID: 23Q7xGGBMNT

--HG--
extra : rebase_source : 6cb5bc0284f5212c1289fd5d974ad2c7219878da
2017-10-19 16:51:11 -07:00
Johan Lorenzo
a8b9bec67b Bug 1407331 - Staging releases: Remove *-dev update channel r=bhearsum
MozReview-Commit-ID: 2hevL6EQjmq

--HG--
extra : rebase_source : 458f044ba397f5857e8f6bcd378676d43d6d5729
2017-10-20 16:41:29 +02:00
Kartikaya Gupta
6c30f8962c Bug 1410239 - Ensure the mozPrintCallback gets invoked when painting canvases. r=jrmuizel
MozReview-Commit-ID: ADKQb3vVuPs

--HG--
extra : rebase_source : 1f9c4ee6ca3fbdfdb300052736e20af676df4869
2017-10-20 10:28:17 -04:00
Kartikaya Gupta
9bf3aaf099 Bug 1410239 - Remove some random-if(webrender) annotations. r=jrmuizel
MozReview-Commit-ID: CCmKRjJq4zY

--HG--
extra : rebase_source : 0aef772f667d485c474f17d092a38c5b1e516643
2017-10-20 10:27:40 -04:00
Tom Prince
0a687f249e Bug 1404577: Actually disable loading blocklist dump in test_cert_blocklist.js. r=leplatrem
The dump file isn't in the expected location in firefox tests, but is in
thunderbird tests, so the preference to disable loading wasn't originally
implemented.

MozReview-Commit-ID: HvFqfC69yMQ

--HG--
extra : rebase_source : 1d358292f0ab94299e444f4d3e3454a2259d1a64
2017-10-19 21:26:20 -06:00
Sebastian Hengst
6a25f2d0f4 Backed out changeset 7ebddc587c82 (bug 1250793) for failing own crashtest. r=backout
--HG--
extra : amend_source : 6651a19b0b864c95b34fe332c2e7533e18dc0764
2017-10-20 16:16:00 +02:00
Andrew Halberstadt
5b3de4c37c Bug 1410250 - Stop keying entire 'mozharness' section by-test-platform, r=dustin
Many of the 'test' tasks key the entire 'mozharness' section by-test-platform.
This is bad because:

A) Configuration under 'mozharness' can't be shared across platforms
B) We can't use the 'job-defaults' simplification since merging is naive

Instead of keying the entire 'mozharness' section, this change keys only the
specific configuration that needs it.

MozReview-Commit-ID: EaPlOzsESQ3

--HG--
extra : rebase_source : 12d81013fd4e18403799c92df06f855bf7162a05
2017-10-19 14:35:04 -04:00
Andrew Halberstadt
76166f027f Bug 1410250 - Use transform for appending --mochitest-suite=<suite> et al, r=dustin
Every task that uses the desktop_unittest.py or android_emulator_unittest.py
mozharness scripts needs to pass in either --<suite>-suite=<flavor>, or
--test-suite=<flavor> respectively.

In almost all cases, <suite> and <flavor> are identical to the value that is
already specified under the test['suite'] key. This means we can use a
transform to append these command line arguments and reduce the complexity of
the yaml files.

MozReview-Commit-ID: EaPlOzsESQ3

--HG--
extra : rebase_source : 1fc5523323774ab429f1377880204df51d53ccef
2017-10-19 14:34:59 -04:00
Tom Tromey
42097bd9cb Bug 1384463 - only trim CSS-allowed whitespace in declaration parser; r=gl
MozReview-Commit-ID: 7bnu2a9G1uq

--HG--
extra : rebase_source : 32fc701fe10f44e36c88aa73d4b234b94f9990f1
2017-10-19 11:04:30 -06:00
Simon Sapin
67aa4b3be9 servo: Merge #18942 - Bootstrap from more permanent URLs (from servo:static.rlo); r=jdm,mbrubeck
The `rust-lang-ci` S3 bucket is ephemeral. `static-rust-lang-org.s3.amazonaws.com` is not going away soon, but using `static.rust-lang.org` when possible keeps things working if it ever does.

https://internals.rust-lang.org/t/updates-on-rusts-ci-uploads/6062
https://internals.rust-lang.org/t/public-stable-rust-services/6072

We’ll still need to find a solution for "alt" rustc builds. In the meantime, this is a step.

Source-Repo: https://github.com/servo/servo
Source-Revision: 041bd626ace013f93fa7fe101c70f36543fc9b0d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : af6533ade663a50e140f1630aef427666617f3ba
2017-10-20 07:44:26 -05:00
Andi-Bogdan Postelnicu
c9decadfc3 Bug 1410379 - compare uint64_t with size_t only on 32bit platforms. r=valentin
MozReview-Commit-ID: 1exUwUwaY3B

--HG--
extra : rebase_source : 83f199c92e641baa5c44fd65095a87af0528863e
2017-10-20 15:46:28 +03:00
Nicolas Chevobbe
9bf7d76660 Bug 1409836 - Fix setting filters prefs when filters are reset or cleared; r=bgrins.
We were getting the filter state after dispatching the action, which made
all the filters to have an enabled state. Getting the state before dispatching
fixes the issue.
This patch enhance the Service mock in order to have a better idea of what is going on
with prefs. This allow us to introduce some tests to make sure prefs are updated in
reaction to given actions.

MozReview-Commit-ID: Byay0TwF25I

--HG--
extra : rebase_source : fd9e022c872783e2c6baa6ee0be5bf98f7eced78
2017-10-19 10:07:54 +02:00
Erica Wright
10b5ab8130 Bug 1409757 - bookmarks menu dropdown when in bookmarks toolbar is properly aligned. r=johannh
MozReview-Commit-ID: 9P4CwhJMcvg

--HG--
extra : rebase_source : 63f7236598f2d1849694f06984c800f298763e89
2017-10-18 10:56:50 -04:00
Josh Matthews
61fae225ac servo: Merge #18955 - Set up llvm for osmesa (from servo:jdm-patch-4); r=emilio
This fixes #18954.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d16c7353a10ddf5521da7c709646d5516bf6db2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 86f666a7749302f9c08e09ad63bbd2becda57958
2017-10-20 06:30:58 -05:00
Tim Huang
e1b4f2267e Bug 1376973 - Part 2: Add test cases for making sure that favicons of allTabs popup menu is using correct originAttributes. r=arthuredelstein,baku
This patch adds test cases for testing favicons of allTabs menu in terms of originAttributes.
It adds tests in existing tests, browser_favicon_userContextId.js and browser_favicon_firstParty.js.
The test will open tabs with different originAttributes and trigger the popup of
allTabs menu. Then it will verify that whether the network requests of favicon
have correct originAttributes.

MozReview-Commit-ID: 4Aa7RDFdosA

--HG--
extra : rebase_source : 407c1c356387f9f05e2fca37cd74339521f2d2f2
2017-10-20 09:19:58 +08:00
Tim Huang
ef781411f3 Bug 1376973 - Part 1: Making the favicon of the allTabs menu obeys originAttributes and rename attribute 'iconLoadingPrincipal' to 'iconloadingprincipal'. r=arthuredelstein,dao
MozReview-Commit-ID: AqjIr7xkXs9

--HG--
extra : rebase_source : 2dc0a20df7fb8a105ff68105b8a7c7c81916f288
2017-10-20 09:19:57 +08:00
Martin Stransky
64bb4e051b Bug 1186967 - ignore double-click on WM without _NET_WM_MOVERESIZE support, r=jhorak
MozReview-Commit-ID: 2Vs6i5leero

--HG--
extra : rebase_source : d8f2bbaf9ef9b2025478f029a68ee7e87e07de79
2017-10-17 09:50:18 +02:00
Tyson Smith
3b3d19504e Bug 1393272 - Add crashtest. r=me
--HG--
extra : rebase_source : 563170306adaadf247f761fb89c18ae91142c856
2017-10-20 08:36:12 -04:00
Jason Kratzer
735da145f2 Bug 1344097 - Add crashtest. r=me
--HG--
extra : rebase_source : 9789bb530c86279907b5abbd8fd1c8e1929e5af1
2017-10-20 08:36:12 -04:00
Jesse Ruderman
0c7713af0f Bug 1250793 - Add crashtest. r=me
--HG--
extra : rebase_source : f34d92f13579eabd0c931f5be45dd77cdfe4f243
2017-10-20 08:36:12 -04:00
Jesse Ruderman
79afefd9d1 Bug 1223522 - Add crashtest. r=me
--HG--
extra : rebase_source : da35a6861db85c2e61d0d820be4dd45bfb073e20
2017-10-20 08:36:12 -04:00
Jesse Ruderman
161346d545 Bug 1153716 - Add crashtest. r=me
--HG--
extra : rebase_source : 943a3398522c8e0cadfd8bad6c036ace9ca57120
2017-10-20 08:36:11 -04:00
Jesse Ruderman
34507e5aa5 Bug 978644 - Add crashtest. r=me
--HG--
extra : rebase_source : 6493149cc6e5949bbe67f6e53a737c637bce39c4
2017-10-20 08:36:11 -04:00
Jesse Ruderman
c8d7cc2d4b Bug 809762 - Add crashtest. r=me
--HG--
extra : rebase_source : 8d1b71844bb51097b5b147217dc02c38287ed4cc
2017-10-20 08:36:11 -04:00
Cameron McCormack
c57d1b16bf Bug 1408311 - Part 4: Fix bug when serializing sanitized style rules. r=xidorn
MozReview-Commit-ID: LBfmRsYSJND

--HG--
extra : rebase_source : 07dbbf8254c7b7217f7dd794d64168f7ecaae57a
2017-10-19 16:30:35 +08:00
Cameron McCormack
17e6b3c172 Bug 1408311 - Part 3: Make nsTreeSanitizer Parse style attributes and style sheets with Servo. r=bz,xidorn
MozReview-Commit-ID: 6Frg5FZ7CyH

--HG--
extra : rebase_source : e28ffcff4732e8de43cb32fb612e28500ede2af4
2017-10-19 15:56:17 +08:00
Cameron McCormack
6e9ab08423 Bug 1408311 - Part 2: Add GetDeclarationBlock method to BindingStyleRule. r=xidorn
MozReview-Commit-ID: 5adkbeTOHQU

--HG--
extra : rebase_source : 67d196ac36b5f6daca8e20f6ec6063b3f2f8c84d
2017-10-19 15:55:42 +08:00
Cameron McCormack
bbdc9e9e0f Bug 1408311 - Part 1: Make Declaration::RemovePropertyByID return whether it did remove a property. r=xidorn
MozReview-Commit-ID: F44KrwNgYLo

--HG--
extra : rebase_source : 4d09ed37c4aa496feb7f730605f330e8ee6aaced
2017-10-19 15:51:12 +08:00
Emilio Cobos Álvarez
7a3d033bd5 Bug 1409931: nsImageControlFrame can also be using a <map> element. r=xidorn
This goes with a crashtest, as soon as I get a usable build.

MozReview-Commit-ID: LqmPWoJZ7AJ

--HG--
extra : rebase_source : a2f2e4b0b2f3cfa4c0f53bc5110d31f0fb86667f
2017-10-20 12:00:49 +02:00
Cameron McCormack
58e3d26bba servo: Merge #18963 - geckolib: Make Servo_DeclarationBlock_RemovePropertyById return whether it did remove a property (from heycam:rm-property-id); r=upsuper
From https://bugzilla.mozilla.org/show_bug.cgi?id=1408311, reviewed there by Xidorn.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b61e3b6ee62a96f151483f4fc229fa0c03a54d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c5a3d2d9b2c644c71590b08cff540e9c89095204
2017-10-20 05:26:18 -05:00
Attila Craciun
03687d95f5 Backed out 4 changesets (bug 1390694) for failing crash test and in reftest/tests/layout/reftests/xul/mac-tab-toolbar.xul r=backout on a CLOSED TREE.
Backed out changeset b9cff3469bfd (bug 1390694)
Backed out changeset e13dd2a3651f (bug 1390694)
Backed out changeset 83ff9e245757 (bug 1390694)
Backed out changeset 484a2644318f (bug 1390694)
2017-10-20 14:49:52 +03:00
Johann Hofmann
e4f49fb3e9 Bug 1408741 - Only give extra border on opened menubar menus in Windows classic. r=dao
MozReview-Commit-ID: CwRZnDKg336

--HG--
extra : rebase_source : ec1447add616bcc17aec1588d8f9914c233823c4
2017-10-17 15:15:43 +02:00
Xidorn Quan
712cec8d27 Bug 1397644 part 2 - Remove test annotations for this bug. r=emilio
MozReview-Commit-ID: 3JbqY0UMTuh

--HG--
extra : source : c7eff47660a88d702a3c8daea692faadac95e024
2017-10-20 21:31:13 +11:00
Xidorn Quan
e175680895 Bug 1397644 part 1 - Implement XUL tree pseudo style resolution for stylo. r=emilio
MozReview-Commit-ID: 5JqvLv3tt5m

--HG--
extra : source : 23a7db4b7938b095947abeb41edb0cb6375f95da
2017-10-20 21:31:13 +11:00
Xidorn Quan
0acfc35aa7 servo: Merge #18962 - Support matching for ::-moz-tree-* pseudo-elements (from upsuper:tree-pseudos); r=emilio
This is the Servo side change of [bug 1397644](https://bugzilla.mozilla.org/show_bug.cgi?id=1397644).

Source-Repo: https://github.com/servo/servo
Source-Revision: b1e6f05ae455748f6091ddf81c1c0488e09546a1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bccb30f361f44fe3da55d5f4fe7c0cde61550524
2017-10-20 04:18:53 -05:00
Cameron McCormack
69e0d28ede Bug 1410281 - Use GetBaseURIForStyleAttr for style attribute base URI in nsTreeSanitizer. r=xidorn
MozReview-Commit-ID: IBc7zEHTDAQ

--HG--
extra : rebase_source : da7c116d3443d41e58eb90acdce0560a41a38f9c
2017-10-20 09:58:57 +08:00
Julian Descottes
b6c8ab7cc9 Bug 1408330 - remove mentions about styleeditor, webaudio and scratchpad;r=nchevobbe
MozReview-Commit-ID: 5QZDZb39cYV

--HG--
extra : rebase_source : c88f33d768101fd7825b26fd5d513e7b32e4f630
2017-10-18 12:33:32 +02:00
Julian Descottes
325c347f6c Bug 1408330 - UI polish on DevTools onboarding page;r=nchevobbe
MozReview-Commit-ID: 5JE7ZErxCxG

--HG--
extra : rebase_source : 448dbd30a273169685880362622ab27985ef7e7b
2017-10-16 16:53:55 +02:00
Emilio Cobos Álvarez
8a2e749556 Bug 1408702: Don't honor privacy.resistFingerprinting for media features that aren't accessible to content pages. r=xidorn
This is kind of a band-aid because not all the media features chrome code uses
happen to be banned from content pages. But I'll change that soon.

Meanwhile this fixes scrollbars and such.

MozReview-Commit-ID: IVHljzpxc2z

--HG--
extra : rebase_source : 89329ad8b9991057e906b2d21a8120ed0c1e2b7d
2017-10-19 15:06:38 +02:00
Sebastian Hengst
2592ce224a merge mozilla-central to autoland. r=merge a=merge 2017-10-20 11:45:03 +02:00
Sebastian Hengst
bc6dddb88b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BY4c5BIOF81
2017-10-20 11:37:54 +02:00
Attila Craciun
ef42dced12 Merge inbound to mozilla-central r=merge a=merge 2017-10-20 12:03:48 +03:00
ffxbld
dec4e39e21 No bug, Automated HPKP preload list update from host bld-linux64-spot-326 - a=hpkp-update 2017-10-19 22:45:36 -07:00
ffxbld
e46be631b4 No bug, Automated HSTS preload list update from host bld-linux64-spot-326 - a=hsts-update 2017-10-19 22:45:32 -07:00
Stephen A Pohl
e1f60b66e6 Bug 1406032: Backout 096247c952ea (bug 1324892) to fix popup tests because popups now work correctly again on macOS. r=mstange 2017-10-19 23:42:29 -04:00