Commit Graph

551467 Commits

Author SHA1 Message Date
Aryeh Gregor
ee2971cce8 Bug 1388775 - extractContents should copy nodes in tree order, not backwards; r=smaug
Per spec, Range.prototype.extractNodes() should copy the nodes in tree
order:

https://dom.spec.whatwg.org/#dom-range-extractcontents

Gecko instead copies them in reverse order.  This causes us to fail a
wpt MutationObserver test.

MozReview-Commit-ID: 8MYXGhDsJCd

--HG--
extra : rebase_source : 94fb2e96370e575906ba9927d904561744a1d7bb
2017-08-09 18:40:21 +03:00
Nicolas Chevobbe
54c956f344 Bug 1307931 - Make urls in output clickable; r=bgrins.
This passes an openLink callback to the Reps which handles the output.

MozReview-Commit-ID: L6q9wAWmwrp

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_clickable_urls.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_clickable_urls.js
extra : rebase_source : d439fe0596f0fdc2b3c529814bcd07c0c08c7200
2017-08-03 16:25:40 +02:00
Nicolas Chevobbe
49d16112c4 Bug 1307931 - devtools reps: update bundle to v0.12.1. r=bgrins
This required some changes in the ConsoleTable component. Since
it uses GripMessageBody, we need to pass it props that it might
need.

MozReview-Commit-ID: DNeBsmJqCFI

--HG--
extra : rebase_source : 34f4b6acc34fdd79b4111f07162ede46b96ae363
2017-08-10 19:02:56 +02:00
Kartikaya Gupta
b239f49bcb Bug 1370682 - Send DisplayItemClip's RoundedRect clips to WR. r=mstange
This was spot-tested by taking the
layout/reftests/border-radius-clipping-1.html testcase, removing the
border, and fiddling with the border-radius values. Without this patch,
the div always appears with rectangular corners but with this patch the
border-radius value is respected correctly.

MozReview-Commit-ID: 1wBFnJnYCwC

--HG--
extra : rebase_source : 542f814af9369fe712af76fc2a8c78de26c6227f
2017-08-10 14:00:08 -04:00
Kartikaya Gupta
96b110eb9e Bug 1370682 - Allow passing in LayoutDeviceSize to wr::ToBorderRadius for convenience. r=jrmuizel,mstange
There's no real reason to restrict this to LayerSize, since we use
use Layer and LayoutDevice coordinate spaces interchangeably for
webrender. With the templating of the function the compiler doesn't know
what type to use for {0, 0} so I added a new function to deal with that.

MozReview-Commit-ID: BA83Sy9UjYH

--HG--
extra : rebase_source : 15e5b31d0275628713c5eb584d622d22485dfda9
2017-08-10 14:00:01 -04:00
Sebastian Hengst
e5aac1d087 Backed out changeset bf603affd1e0 (bug 1388753) for failing browser-chrome's browser_947914_button_history.js. r=backout 2017-08-10 20:02:44 +02:00
Sebastian Hengst
c3b5851db2 Backed out changeset e4d1389a96ca (bug 1377967) because it blocks the backout of bug 1388753. r=backout 2017-08-10 20:01:44 +02:00
Gijs Kruitbosch
b584e361b6 Bug 1381556 - adjust panel widths to accommodate longer/wider content, r=mikedeboer
MozReview-Commit-ID: 6bOoRIfttEy

--HG--
extra : rebase_source : d7748809abe4ee617d0cb1a9d66a3e88728ecc63
2017-08-09 14:04:21 +01:00
Chris Peterson
801d7c7d38 Bug 1388978 - Suppress some more clang warnings in media/ffvpx. r=rillian
Since I am already poking around in ffvpxcommon.mozbuild's CFLAGS, also suppress these clang -Wvisibility and -Wstring-conversion warnings:

media/ffvpx/libavutil/dummy_funcs.c:83:34 [-Wvisibility] declaration of 'struct AVBufferRef' will not be visible outside of this function
media/ffvpx/libavutil/dummy_funcs.c:83:67 [-Wvisibility] declaration of 'struct AVFrame' will not be visible outside of this function
media/ffvpx/libavutil/utils.c:119:26 [-Wstring-conversion] implicit conversion turns string literal into bool: 'char [19]' to '_Bool'

And remove -Wno-logical-op-parentheses because clang does not currently report any -Wlogical-op-parentheses warnings for ffvpx.

MozReview-Commit-ID: 1kEwEHeD1PC

--HG--
extra : rebase_source : 133fa139f5389467919b88b96b8cbbf632bf002d
2017-08-10 09:55:42 -07:00
Chris Peterson
8107e99d4c Bug 1388978 - Fix -Wunknown-warning-option warnings in media/ffvpx. r=rillian
clang doesn't support gcc warning options -Wdiscarded-qualifiers or -Wmaybe-uninitialized in media/ffvpxcommon.mozbuild (added in bug 1369791), so only suppress those warnings for real gcc.

warning: unknown warning option '-Wno-discarded-qualifiers'; did you mean '-Wno-ignored-qualifiers'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]

MozReview-Commit-ID: JUEqa6AN59x

--HG--
extra : rebase_source : 45e3c43d57e58119170700f7a339d1f2dfacff2c
extra : source : ee4a75aeb3585719700e1700746ce55984eba6fa
2017-07-29 11:05:34 -07:00
Sam Foster
10784050f6 Bug 1373341 - Use --toolbarbutton-icon-fill-attention consistently; correct its values in light & dark themes. r=johannh
* Correct blue used as attention/accent color in the toolbar to #0a84ff (#45a1ff for brighttext) as specified.
* Use context-fill and context-stroke consistently in the animation svgs to pick up the current value of the attention color.
* Use --toolbarbutton-icon-fill-attention consistently to pick up the current value of the attention color.

MozReview-Commit-ID: 4NvzkQs66Nj

--HG--
extra : rebase_source : d519674faf0f4dd8a068a3ff3d4ef672bd03e7d8
2017-08-09 13:48:11 -07:00
Dale Harvey
1ce670eb2c Bug 1386718 - Reduce margin between icon and url in awesomebar. r=dao
MozReview-Commit-ID: 1gfP0IlVERv

--HG--
extra : rebase_source : 6da66fe627b9fd088f6de28ff42059578a6ee207
2017-08-10 17:11:30 +01:00
Andrew Halberstadt
10f8b7e161 Bug 1379151 - Add --fix and --edit to mozlint, r=standard8
While --fix previously worked with eslint, it is now more official (will show
up in the |mach lint --help|).  ESlint is still the only thing that implements
it, but we can implement it for flake8 using the `autopep8` module.

--edit is a new concept that will open an editor for each failing file to let
you fix the errors manually.  For now it is very naive (just opens the file),
and is only really useful if you have an editor integration for the linter(s).
But in the future I'd like to have editor-specific implementations for this.
For example, with vim, we can use -q to pass in an error file that will start
the editor pre-populated with a list of all errors that can then be easily
jumped to. Other editors may just open up to the line containing the error.

--fix and --edit can be used in conjunction with one another. Doing that means
only errors that can't be fixed automatically will show up in your editor.


MozReview-Commit-ID: 5JJJhMIrMIB

--HG--
extra : rebase_source : 2f78a77a91133d7fcc5620ecd5caa500decbce1b
2017-08-10 09:21:17 -04:00
Sebastian Hengst
015f8de9b5 Backed out changeset e5936d7c91ba (bug 1370682) for bustage: missing return statement at WebRenderTypes.h:361. r=backout on a CLOSED TREE 2017-08-10 18:30:00 +02:00
Sebastian Hengst
5d5e6ac39c Backed out changeset 972371dc461b (bug 1370682) 2017-08-10 18:28:55 +02:00
Ian Bicking
4f7c074ae7 Bug 1388805 - Export Screenshots 10.11.0 to Firefox; r=mossop
MozReview-Commit-ID: Ik7V2Wd6EOO

--HG--
extra : rebase_source : bb53244e415dedff77841238d6b9dabd5d84650c
2017-08-09 12:35:27 -05:00
Emilio Cobos Álvarez
82eac4bff7 Bug 1362338: Manually whitelist nsIAtom::Release in the root analysis. r=froydnj,sfink
This is the only approach that I managed to make work.

MozReview-Commit-ID: CUnkDoYN3di

--HG--
extra : rebase_source : 469912d015a403ef481685c617010613ea36b0b3
2017-08-10 12:20:10 +02:00
Emilio Cobos Álvarez
9f02c96781 Bug 1362338: Make nsIAtom::AddRef and nsIAtom::Release final. r=froydnj
MozReview-Commit-ID: CFWcSNocGIm

--HG--
extra : rebase_source : 6b8e28f76e2d4fff13f3a89ac68388a0b090bf74
2017-08-09 14:20:17 +02:00
Emilio Cobos Álvarez
76de548d1e Bug 1389113: Mark a few tests as passing. r=manishearth
MozReview-Commit-ID: GRn4709A3Nt

--HG--
extra : rebase_source : a8614e0ae52ad5c28a384439f357c6fbcf9f9b52
2017-08-10 17:09:59 +02:00
Kartikaya Gupta
7027ecc44b Bug 1370682 - Send DisplayItemClip's RoundedRect clips to WR. r=mstange
This was spot-tested by taking the
layout/reftests/border-radius-clipping-1.html testcase, removing the
border, and fiddling with the border-radius values. Without this patch,
the div always appears with rectangular corners but with this patch the
border-radius value is respected correctly.

MozReview-Commit-ID: Cu1K3rLjm0V

--HG--
extra : rebase_source : b5994faceb9dd7e52222714bdbc5b06886d26415
2017-08-09 19:19:03 -04:00
Kartikaya Gupta
9d778bce61 Bug 1370682 - Allow passing in LayoutDeviceSize to wr::ToBorderRadius for convenience. r=jrmuizel,mstange
There's no real reason to restrict this to LayerSize, since we use
use Layer and LayoutDevice coordinate spaces interchangeably for
webrender. With the templating of the function the compiler doesn't know
what type to use for {0, 0} so I added a new function to deal with that.

MozReview-Commit-ID: KyabB6P6LiA

--HG--
extra : rebase_source : d5fff8f21a17c433d3c8c580fdd3153140d61545
2017-08-09 19:19:03 -04:00
Gijs Kruitbosch
a824d7cc43 Bug 1383009 - fix logic for url bar autocomplete item positioning to allow it to position items in more cases, r=adw
MozReview-Commit-ID: 8D5WzfzoNOV

--HG--
extra : rebase_source : 555be4edbaf0df92658e8fe3726e57ee9bc40cc4
2017-08-08 21:16:44 +01:00
Gijs Kruitbosch
8b5c74561f Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP

--HG--
extra : rebase_source : 5be8516451149b34b1ac758436027fde10f623f5
2017-08-08 15:09:44 +01:00
Gijs Kruitbosch
ce10833235 Bug 1383009 - add flexible spacers and library button to the navbar by default, r=jaws
Because we generate IDs for special nodes, we should update the inDefaultState getter to actually consider
these nodes to match even when the ids differ. This wasn't an issue before because specials weren't in the
default set for any nodes.

MozReview-Commit-ID: AI85yt2LuJD

--HG--
extra : rebase_source : 819e27885148deb588c057c4e811371a87f1d2fc
2017-08-07 19:10:40 +01:00
Brad Werth
1dc1406e58 Bug 1371395 Part 3: Add a test of media query list serialization of valid, invalid, and malformed types. r=emilio
MozReview-Commit-ID: IzKmbIuCZ5c

--HG--
extra : rebase_source : b738aae806aedc4af87ff039f9ed3d838f9eec70
2017-08-07 12:42:03 -07:00
Brad Werth
702a7fc542 Bug 1371395 Part 2: Test media emulation of an unsupported type. r=jryans
MozReview-Commit-ID: L5tswjbGd97

--HG--
extra : rebase_source : 8b67fb05594c4330ee44c7d39ab2fb47c82a4342
2017-08-04 17:06:27 -07:00
Andrew Swan
7b6925f69a Bug 1388946 Part 2 Disable legacy extensions by default r=kmag
Also bump the xpi database schema version to force compatibility
recomputation (since we're not changing the application version number)

MozReview-Commit-ID: vVFIWmtN5v

--HG--
extra : rebase_source : 6e3e9a534aa390887573e538fa0bf14dd05dca50
2017-07-31 16:06:08 -07:00
Andrew Swan
51e91c702d Bug 1388946 Part 1 Fix test for default-disabled legacy extensions r=kmag
MozReview-Commit-ID: 6NK5SSq36EZ

--HG--
extra : rebase_source : a93e0dea52938f00ba9b6875bcdeb623022bb640
2017-08-09 20:00:35 -07:00
Sebastian Hengst
cc56cbe3ff merge mozilla-central to autoland. r=merge a=merge 2017-08-10 17:23:44 +02:00
Sebastian Hengst
4b79f3b23a merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: mN7ThnGN3X
2017-08-10 17:20:12 +02:00
Julian Descottes
c6f19f876e Bug 1388738 - add comment for devtools-startup developerToggleCreated flag;r=ochameau
MozReview-Commit-ID: FN4YuM7VpHf

--HG--
extra : rebase_source : f8adaedf6511ce2ed4ffd493afbffca64337f01f
2017-08-10 11:58:36 +02:00
Sebastian Hengst
01f51a3571 Backed out changeset 85b4584e1a83 (bug 1384969) for dropping debug and trace output from Marionette. r=backout a=backout
MozReview-Commit-ID: Bc8BwL6aatK
2017-08-10 11:45:36 +02:00
Dão Gottwald
5dcd453df2 Bug 1389015 - Remove browser.inc. r=Gijs
MozReview-Commit-ID: C1jFuu3fMLD

--HG--
extra : rebase_source : a0583cbdd0122b35404e4f6aeb4f44384939a35f
2017-08-10 10:55:01 +02:00
James Cheng
ad74bc6fbc Bug 1388633 - Relax the duration constrain due to the duration may be changed in runtime. r=alwu
The original duration I wrote is calculated from the m3u8 file this is too accurate without error tolerant.
The state machine will update playback position periodically(UpdatePlaybackPositionPeriodically)
according to the clockTime or max end time from A/Vsink.
So the duration will be variant that I should consider to set the value to a more relaxed value.
MozReview-Commit-ID: GGwkhvzz8sI

--HG--
extra : rebase_source : c0465f7aef7a41e999e8c4c3429957fa56336239
2017-08-10 14:59:25 +08:00
Sebastian Hengst
b0dd142237 Backed out changeset be8e60de5c0c (bug 1388656) for heap buffer overflow at AudioNodeEngine.cpp:375:12 in mozilla::AudioBufferSumOfSquares. r=backout 2017-08-10 11:18:36 +02:00
Sebastian Hengst
290327d0fb Backed out changeset 1eb9ee70ccf1 (bug 1388656) 2017-08-10 11:17:18 +02:00
Sebastian Hengst
69e0a8b3f7 Backed out changeset ece4f9694407 (bug 1388656) 2017-08-10 11:17:13 +02:00
Sebastian Hengst
64aa1882b5 Backed out changeset af73f36f7469 (bug 1388656) 2017-08-10 11:17:07 +02:00
Sebastian Hengst
b461ae5e9b Backed out changeset f03833f24817 (bug 1024182) for heap buffer overflow at AudioNodeEngine.cpp:375:12 in mozilla::AudioBufferSumOfSquares. r=backout 2017-08-10 11:16:27 +02:00
Ryan VanderMeulen
2e6670c78e Merge autoland to m-c. a=merge 2017-08-09 18:47:59 -04:00
Gian-Carlo Pascutto
45fa0bdb26 Bug 1388046 - Disable sandbox read restrictions (level 3) on beta/release. r=jld
MozReview-Commit-ID: 3VQM545aqpL

--HG--
extra : rebase_source : 75d2091dd3cb99027091247bfc90358e3cb8d440
2017-08-09 18:51:51 +02:00
Sylvestre Ledru
756cf62eca Bug 1372839 - SkipString; Exit early if sym is not found r=gerald
MozReview-Commit-ID: GnqPuW8FL5F

--HG--
extra : rebase_source : b3c44c8daecc5341957d5953a525af82afba705a
2017-08-10 09:34:34 +02:00
Sylvestre Ledru
7ed5c41a4c Bug 1388994 - GetRequestingPrincipal: Pass parameter by ref instead of value r=dragana
MozReview-Commit-ID: 5iD8HF0PQfs

--HG--
extra : rebase_source : 516bbfa30168779200fdca09033a5d1b3f1d884b
2017-08-10 08:47:26 +02:00
Sebastian Hengst
6a474244a8 Backed out changeset 78d87b59f5a7 (bug 1370508) for unexpected pass of wpt-reftest /css/css-namespaces-3/syntax-013.xml. r=backout on a CLOSED TREE 2017-08-10 10:23:22 +02:00
Sebastian Hengst
b287601ebc Backed out changeset 61cf451831f5 (bug 1320656) for bustage in RegExp.o. r=backout on a CLOSED TREE 2017-08-10 10:21:56 +02:00
Xidorn Quan
c0203dbf2c Bug 1388881 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes. r=manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML
(as well as SVG) works in the way that we choose a different namespace
id (the disabled id) for the elements. Those ids are mapped to the same
namespace atom as normal ids, which means if we use the atom, we would
treat the elements like normal mathml elements.

MozReview-Commit-ID: 9YBBokbP04M

--HG--
extra : rebase_source : 397f09db41a22bfa34e4abe26ad10027dab83d0d
2017-08-10 16:29:17 +10:00
Xidorn Quan
683c186350 servo: Merge #18033 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes (from upsuper:disable-mathml); r=Manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML (as well as SVG) works in the way that we choose a different namespace id (the disabled id) for the elements. Those ids are mapped to the same namespace atom as normal ids, which means if we use the atom, we would treat the elements like normal mathml elements.

https://bugzilla.mozilla.org/show_bug.cgi?id=1388881

Source-Repo: https://github.com/servo/servo
Source-Revision: 1877cac477770c5908f4b9983adaf7108a361e6e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5be2c9ddb0f8745f4c7e4f8905949800f4b63e76
2017-08-10 01:42:30 -05:00
Brendan Dahl
02dc1567cd Bug 1387170 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:49:50 -07:00
Brendan Dahl
d1dd2ea172 Bug 1387168 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:46:51 -07:00
Mason Chang
ce7bf90ba4 Bug 1386965 - Support async painting component-alpha layers. r=dvander 2017-08-09 09:39:07 -07:00