Commit Graph

504929 Commits

Author SHA1 Message Date
Henrik Skupin
f68eddf3dd Bug 1243415 - Check for a valid DOMWindow for screenshot in chrome scope. r=automatedtester
By the webdriver spec the code has to fail with a NoSuchWindowError if the
active window is no longer present.

MozReview-Commit-ID: HFl7yO5ErRn

--HG--
extra : rebase_source : d170e400c1624e680745e7023041413055ef9bd0
2016-12-07 21:47:44 +01:00
Henrik Skupin
c4fb446f19 Bug 1243415 - Add support to take full screenshots in chrome scope. r=automatedtester
MozReview-Commit-ID: 1FmWTEZzt7

--HG--
extra : rebase_source : 34ba86cdfcd400eb4f268a0b3d17be95b2f71c3d
2016-12-07 17:38:14 +01:00
Henrik Skupin
e4153d09c5 Bug 1243415 - Add hash format support for screenshots in chrome scope. r=automatedtester
MozReview-Commit-ID: Dp0vDyYTzX1

--HG--
extra : rebase_source : cf24b8e2a0768d65b420ebeef7ef08e1d553f4f8
2016-12-05 23:06:36 +01:00
Henrik Skupin
31b8911b4b Bug 1243415 - Add highlighting of elements for screenshots in chrome scope. r=ato,automatedtester
MozReview-Commit-ID: 317tqZWwdQf

--HG--
extra : rebase_source : 8e2af4bd68d619ee3e8f19e68dc8e07119d923c4
2016-12-05 21:19:46 +01:00
Henrik Skupin
260407fb18 Bug 1243415 - Make use of capture.js in chrome scope. r=automatedtester
The screenshot code in chrome scope is updated to use the generic capture module,
which is already used for content scope. By that change the code which captures
the canvas makes use of devicePixelRatio now. It means the screenshot will be
scaled depending on the screen configuration, eg. on Andoid this mostly 2.

MozReview-Commit-ID: EBKmJEKVXPQ

--HG--
extra : rebase_source : cd399eb3ee012516b218b9d1a5fd26422ebc9be0
2016-12-28 14:13:31 +01:00
Henrik Skupin
468d519037 Bug 1243415 - Remove B2G related code from screenshot methods. r=automatedtester
MozReview-Commit-ID: 1C0XXOX2zuf

--HG--
extra : rebase_source : 83861ee3f4527dd1bfbe9311a67c1302b42a17c6
2016-12-05 18:37:50 +01:00
Henrik Skupin
03cbd80428 Bug 1243415 - Capture methods should use the window as parameter. r=automatedtester
MozReview-Commit-ID: FfuCSPZtiex

--HG--
extra : rebase_source : fdbba7f7651ec650a5648211544a22480eb0eb3c
2016-12-05 18:27:15 +01:00
Henrik Skupin
e85126f365 Bug 1277090 - Update unit tests for getElementAttribute() changes. r=ato
MozReview-Commit-ID: 4eDpV2MzKLN

--HG--
extra : rebase_source : 696e218e39c360e26414f23f629d9f0904d07d2c
2016-12-12 20:45:58 +01:00
Henrik Skupin
26107073d9 Bug 1277090 - getElementAttribute() has to only return attributes. r=ato
Formerly getElementAttribute() has returned a mix of attributes and
properties. Since getElementProperty() has been added, there is no
need anymore for getElementAttribute() to return conflated data.

MozReview-Commit-ID: 29saWd9PsOX

--HG--
extra : rebase_source : e1dece7586c9b22320db406cfd60d211195f5f18
2016-12-14 22:26:34 +01:00
Henrik Skupin
0ed2e90726 Bug 1277090 - Make use of get_property() in firefox-ui tests where necessary. r=maja_zf
Given that Marionette supports the get_property() method, all the calls to
get_attribute() have to be audited and updated to get_property() if needed.
It's necessary because get_attribute() will only retrieve attributes from now on.

MozReview-Commit-ID: 8SmdNoiG8uP

--HG--
extra : rebase_source : 07a4b71baeaeac13bc29d9b0e1bcf6c4c611ee39
2016-12-20 17:34:18 +01:00
Tomer Cohen
ba0c9d0a06 Bug 1325539 [computed style][rtl] RTL support for devtools computed style (un-rtl) r=jdescottes
MozReview-Commit-ID: 6a80LXbgEdE

--HG--
extra : rebase_source : a9099804e5fa22658241c6ee781320b76752fadf
2016-12-27 17:40:12 +02:00
Cameron McCormack
27d8bc9321 Bug 1326015 - Run AssertTreeIsClean on all style roots. r=xidorn
MozReview-Commit-ID: 1GkRS05tda

--HG--
extra : rebase_source : 5bffe0cdab8b8e14044dc2f02af686e3a83368e8
2016-12-28 16:26:10 +08:00
Carsten "Tomcat" Book
5615a8aaba Bug 1323901 - Bustage fix from glandium 2016-12-28 09:29:31 +01:00
Mike Hommey
74f8bb6e5e Bug 1323901 - Force which to use lowercase extensions on Windows. r=cmanchester+432261
--HG--
extra : rebase_source : 1932e63f7e02a80e5c83ee6bc0963d2c98d7fdd9
2016-12-23 06:28:03 +09:00
Phil Ringnalda
b2b6b5c8d1 Merge m-c to autoland 2016-12-27 20:37:02 -08:00
Phil Ringnalda
94ed5056b1 Merge m-i to m-c, a=merge
MozReview-Commit-ID: JGQ9qyi5pRc
2016-12-27 20:33:25 -08:00
Phil Ringnalda
d376a758dc Merge autoland to m-c, a=merge
MozReview-Commit-ID: HAS6ji3eShV
2016-12-27 20:31:38 -08:00
Phil Ringnalda
f0cfa5aa83 Backed out 3 changesets (bug 1272623) for negative-leaking
Backed out changeset 063782053b4a (bug 1272623)
Backed out changeset e2e4ab888d78 (bug 1272623)
Backed out changeset bf6b592e0700 (bug 1272623)
2016-12-27 20:26:16 -08:00
Masayuki Nakano
0a9fd95b42 Bug 1272623 part.3 HTMLEditRules::ReapplyCachedStyles() shouldn't set style to TypeInState if it's currently applied r=smaug
The target node of HTMLEditRules::ReapplyCachedStyles() may be styled with its parent.  When HTMLEditRules::ReapplyCachedStyles() is called, it shouldn't restore another style cache if it's already specified in current DOM tree.

MozReview-Commit-ID: DKCpQ8YyW7

--HG--
extra : rebase_source : 5aad5caeee98301a1ad0035b5d2efa3cd545a0d0
2016-12-28 09:04:59 +09:00
ffxbld
14daa764d4 No bug, Automated blocklist update from host bld-linux64-spot-139 - a=blocklist-update 2016-12-27 06:43:58 -08:00
ffxbld
e6b816a8bf No bug, Automated HPKP preload list update from host bld-linux64-spot-139 - a=hpkp-update 2016-12-27 06:43:56 -08:00
ffxbld
6996a4d8f9 No bug, Automated HSTS preload list update from host bld-linux64-spot-139 - a=hsts-update 2016-12-27 06:43:53 -08:00
Tom Schuster
3ed240d6b8 Bug 1325927 - Reorder JSValueTag to match JSValueType. r=jandem 2016-12-27 13:31:07 +01:00
Masayuki Nakano
9467308378 Bug 1272623 part.2 Add automated tests of testing cached inline style at editing r=smaug
MozReview-Commit-ID: 1kIfj3GgCcY

--HG--
extra : rebase_source : d530201a3ec723c7a4f019f8b27efbdf0a62ff9c
2016-12-27 18:27:10 +09:00
Michael Layzell
b86c1ff10f Bug 1272623 part.1 Don't destroy nodes during text replacement due to spell checking r=masayuki
Spellchecker shouldn't delete selection with nsIEditor::eStrip before calling nsIPlaintextEditor::InsertText() because it causes removing some parent nodes which may have some style rules.

MozReview-Commit-ID: 2VJhFFbTzrh

--HG--
extra : rebase_source : 7fb65318c9b28527f593e2fac96586447e268423
2016-12-27 18:41:07 +09:00
Ryan VanderMeulen
51aa673e28 Merge inbound to m-c. a=merge 2016-12-27 00:00:22 -05:00
Ryan VanderMeulen
ddf74ed5ef Merge autoland to m-c. a=merge 2016-12-26 23:58:58 -05:00
Pip Cet
95c7ee0695 Bug 1322681 - JS shell: wait for async tasks in DrainJobQueue(); r=bbouvier
Changes DrainJobQueue() to wait for async tasks launched by queued
jobs, rather than ignoring them and potentially causing segfaults.

MozReview-Commit-ID: 3fMoNHzdlUW

--HG--
extra : rebase_source : 1dcd3fd927cf648d2b17b9c894f364324cb80122
2016-12-26 19:00:56 +01:00
Ryan VanderMeulen
72b1557225 Merge m-c to inbound. a=merge 2016-12-27 00:01:04 -05:00
Ethan Lin
0b1384e9e5 Bug 1322079 - Set CreateBorderLayer to pure virtual function and let nsDisplayBorder return LAYER_ACTIVE. r=mattwoodrow
MozReview-Commit-ID: 6zGq7ymIkO0
2016-12-27 11:40:40 +08:00
Tom Schuster
c885ebf96c Bug 1324566 - Port Baseline GlobalNameValue to CacheIR. r=jandem 2016-12-26 17:50:31 +01:00
Jan de Mooij
158805801d Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
ffxbld
8f371625fe No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2016-12-26 06:47:00 -08:00
ffxbld
c4a4403f94 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2016-12-26 06:46:58 -08:00
Heiher
93d219b245 Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit. r=nbp
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp   |  9 +++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h     |  2 ++
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 11 +++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.h   |  7 ++++++
 js/src/jit/mips32/Assembler-mips32.cpp             | 28 +++++++---------------
 js/src/jit/mips32/Assembler-mips32.h               |  1 -
 js/src/jit/mips32/MacroAssembler-mips32-inl.h      |  2 +-
 js/src/jit/mips32/MacroAssembler-mips32.cpp        | 11 ---------
 js/src/jit/mips32/MacroAssembler-mips32.h          |  7 ------
 js/src/jit/mips64/MacroAssembler-mips64-inl.h      |  6 ++++-
 js/src/jit/mips64/MacroAssembler-mips64.h          |  6 -----
 11 files changed, 44 insertions(+), 46 deletions(-)
2016-12-26 22:16:20 +08:00
Julian Descottes
ea60a24a01 Bug 1323193 - remove extra semi-colon in markup.css;r=me
MozReview-Commit-ID: JqoyfdU4wEa

--HG--
extra : rebase_source : 93f5f6924027456cebabbc4f5a44ce01df93b99b
2016-12-26 10:38:25 +01:00
Makoto Kato
45e40588b0 Bug 1325843 - Use explicitly static method call for EditorBase::IsTextNode. r=masayuki
IsTextNode is static method, so we should use explicitly static method call into EditRule.

MozReview-Commit-ID: EX2BbbN2vNJ

--HG--
extra : histedit_source : 4194477320ffad62da36b272239d1443bb6c88b6
2016-12-26 14:32:57 +09:00
Jeff Gilbert
3f9fc7d30d Bug 1325516 (flattened) - Misc fixes and simplify IMPL_COLOR_READ_FORMAT/TYPE and ensure that we only return valid ones. - r=daoshengmu 2016-12-25 13:44:49 -08:00
Jeff Gilbert
798acabef4 Bug 1325500 (flattened) - Fix DrawRangeElements impl and require size=4 for packed int types. - r=daoshengmu
MozReview-Commit-ID: B3YpgZn48Nl
2016-12-25 13:44:47 -08:00
Jeff Gilbert
b669f45f40 Bug 1325486 - TFBufferMode defaults to INTERLEAVED, and UniformMatrix's transpose arg should be passed to GL. - r=daoshengmu
MozReview-Commit-ID: 7yc2u0GQDnr
2016-12-25 13:44:44 -08:00
Jeff Gilbert
cc9ce2e970 Bug 1325483 - Query DRAW_BUFFER0 from GLScreenBuffer. - r=daoshengmu
MozReview-Commit-ID: KjhbQM9B8EZ
2016-12-25 13:44:42 -08:00
Jeff Gilbert
149aff4438 Bug 1325477 - Initial RB config is 0x0 RGBA4. - r=daoshengmu
MozReview-Commit-ID: 69MYWBgDpPS
2016-12-25 13:44:40 -08:00
Jeff Gilbert
ac2df6af8a Bug 1325476 - Use helper for Parameter[fi] funcs instead of maybeFloat/IntParam. - r=daoshengmu
MozReview-Commit-ID: 3jGFXfDNkPt
2016-12-25 13:44:38 -08:00
Jeff Gilbert
02fcc3f257 Bug 1325468 - An unspecified fb attachment should have a COLOR_ENCODING of LINEAR. - r=daoshengmu
MozReview-Commit-ID: BhrlgFln2sZ
2016-12-25 13:44:35 -08:00
Jeff Gilbert
dc3a2d1239 Bug 1325311 - Only test BlitFramebuffer feedback for masked bits. - r=daoshengmu
MozReview-Commit-ID: 8CAvVwK7V3m
2016-12-25 13:44:33 -08:00
Jeff Gilbert
0801831c32 Bug 1325240 - Handle arrays in glsl variable location queries properly. - r=daoshengmu
MozReview-Commit-ID: 1XYwvh9QGmA
2016-12-25 13:44:31 -08:00
Jeff Gilbert
35a5dbc87a Bug 1325238 - Use ShCompileOptions type instead of int. - r=daoshengmu
Also only use SH_LIMIT_CALL_STACK_DEPTH if we have resources.MaxCallStackDepth.

MozReview-Commit-ID: DXhw7A7gCjF
2016-12-25 13:44:29 -08:00
Jeff Gilbert
6091cfeb6e Bug 1312865 - ClearBuffer and similar funcs should mirror Clear's behavior. - r=daoshengmu
MozReview-Commit-ID: 4Gm5aNZ1PXX
2016-12-25 13:44:26 -08:00
Jeff Gilbert
3587cf5c07 Bug 1323626 - Initialize tex image data during completeness checks. - r=daoshengmu
MozReview-Commit-ID: 9g5EETBEfU2
2016-12-25 13:44:24 -08:00
Jeff Gilbert
a2f7e49912 Bug 1324727 - Check for invalid DOM upload format/type. - r=daoshengmu
MozReview-Commit-ID: 2uZi1ILyMIM
2016-12-25 13:44:22 -08:00