Commit Graph

566246 Commits

Author SHA1 Message Date
Mark Banner
60e4a05b0d Bug 1411368 - Automatically fix spaced-comment issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: AOFFadV3JrV

--HG--
extra : rebase_source : e06da861796c79f118ac734ceebee22253c0485f
2017-10-26 12:00:05 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Kit Cambridge
4f0959f751 Bug 1412141 - Correctly forward change sources when updating keywords. r=mak
MozReview-Commit-ID: BMXvgTql9qb

--HG--
extra : rebase_source : 690ed6f3faadd48203a85938a183b988bff420bc
2017-10-10 10:37:00 -07:00
Øyvind Strømmen
ccff751e52 Bug 1407695 - Cover non session cookies in web platform tests; r=ato
MozReview-Commit-ID: 8cR5kiRxBV6

--HG--
extra : rebase_source : 5fad8989d6812d3e2e7b0fa2a6d106d4d671edf7
2017-10-19 21:12:21 +02:00
Øyvind Strømmen
a02bde8488 Bug 1407695 - Allows cookie 'expiry' to be optional; r=ato
When getting a session cookie we expect 'expiry' to be either null, or
to be missing.

MozReview-Commit-ID: JmSfrR0ypya

--HG--
extra : rebase_source : e24948efec8013b9b4c02ab9573f9c317130cd89
2017-10-23 22:23:10 +02:00
Øyvind Strømmen
42bc75f55d Bug 1407695 - Clear all cookies from session before running test; r=ato
MozReview-Commit-ID: 5nTN1BzEIOC

--HG--
extra : rebase_source : a2216192767f3aed4aefd084d5363c3d0bdd6486
2017-10-24 08:05:54 +02:00
Øyvind Strømmen
4c2fdeab8b Bug 1407695 - Do not return expiry key for session cookies; r=ato
MozReview-Commit-ID: H1CctBpOOdM

--HG--
extra : rebase_source : 148e2189e46713161f696d6b09c0b854d513f979
2017-10-16 22:42:48 +02:00
DimiL
9711670a1a Bug 1384753 - Add dummy login reputation service in reputationservice component. r=francois
Login reputation service is initialized during idle startup.

--HG--
extra : rebase_source : 6f851bbc9a1ef7c7821c09d8f739197468ab24df
2017-10-26 11:27:17 +08:00
DimiL
7a49148363 Bug 1384753 - Move Application Reputation files into a new component. r=francois
MozReview-Commit-ID: Ehi9IziJyXB

--HG--
rename : toolkit/components/downloads/ApplicationReputation.cpp => toolkit/components/reputationservice/ApplicationReputation.cpp
rename : toolkit/components/downloads/ApplicationReputation.h => toolkit/components/reputationservice/ApplicationReputation.h
rename : toolkit/components/downloads/chromium/LICENSE => toolkit/components/reputationservice/chromium/LICENSE
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.cc => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.h => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.proto => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.proto
rename : toolkit/components/downloads/nsIApplicationReputation.idl => toolkit/components/reputationservice/nsIApplicationReputation.idl
rename : toolkit/components/downloads/test/unit/.eslintrc.js => toolkit/components/reputationservice/test/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/data/block_digest.chunk => toolkit/components/reputationservice/test/unit/data/block_digest.chunk
rename : toolkit/components/downloads/test/unit/data/digest.chunk => toolkit/components/reputationservice/test/unit/data/digest.chunk
rename : toolkit/components/downloads/test/unit/data/signed_win.exe => toolkit/components/reputationservice/test/unit/data/signed_win.exe
rename : toolkit/components/downloads/test/unit/head_download_manager.js => toolkit/components/reputationservice/test/unit/head_download_manager.js
rename : toolkit/components/downloads/test/unit/xpcshell.ini => toolkit/components/reputationservice/test/unit/xpcshell.ini
extra : rebase_source : 6bb39e940087ebd71208d868fda3aa85f6f63e23
2017-10-23 16:18:52 +08:00
Martin Stransky
c2b677a91d Bug 1410894 - Load CSD config from nsLookAndFeel, r=jhorak
Make CSD setup and titlebar drawing available when users enable it by preference and also it's available on running system.

MozReview-Commit-ID: 4BLgzVWwX1R

--HG--
extra : rebase_source : 15293821b9962bd9d0ee22331e7fad9027a47a7a
2017-10-23 21:28:47 +02:00
Martin Stransky
6a4c5abeaf Bug 1410894 - Add decoration drawing setup to nsWindow, r=jhorak
MozReview-Commit-ID: BHtqoOdfRpS

--HG--
extra : rebase_source : 4baaebff7e86d79de833e14c9284adc22a787180
2017-10-27 11:19:08 +02:00
James Teh
d11dfce827 Bug 1409916: Eliminate pointless cross-process call for IAccessible2_2::get_attribute. r=aklotz
IAccessible2_2::get_attribute is not implemented yet in Gecko.
However, the handler still passes this through, thus resulting in a pointless cross-process call.
Instead, just return E_NOTIMPL in the handler for this method.

MozReview-Commit-ID: 5XHieUC4cuz

--HG--
extra : rebase_source : 814ceda6d9dd4ec26f05a4ff90bbd4af2a6eb84e
2017-10-19 09:22:44 +10:00
Sebastian Hengst
429ff227ee Backed out changeset 17ef68e368bb (bug 1362617) for build bustage on OS X. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 78500a66ae825039d21ea4d69a23ae2d6570ee38
2017-10-27 16:46:27 +02:00
Zibi Braniecki
f31e020d7e Bug 1362617 - Generalize MOZ_CHROME_MULTILOCALE to work for browser as well. r=gps,mshal,Pike,ted
MozReview-Commit-ID: 80ldQPhNyi7

--HG--
extra : rebase_source : e40838ce14ebe1e4fae4d6742633c16b5c4387f9
2017-10-23 08:04:24 -07:00
Andrew Halberstadt
ddfe7fc78a Bug 1412012 - [mozdebug] Add a basic test for get_default_debugger_name, r=jmaher
MozReview-Commit-ID: CwkXKJWd55M

--HG--
extra : rebase_source : e933232fff154d933953f238da14318d7ed2d0fe
2017-10-26 10:14:33 -04:00
Nihanth Subramanya
b4c232f4d0 Bug 1386721 - Add vibrancy to tabstrip in light theme. r=dao
MozReview-Commit-ID: 4ohA3C6SoOr

--HG--
extra : rebase_source : 936c865cfa087c7fe12347f890dbaa4b13762904
2017-10-26 19:41:05 +05:30
Kartikaya Gupta
76b01cdf7e Bug 1410893 - Update reftest results for WR PR 1920. r=jrmuizel
MozReview-Commit-ID: IsKKwLlhvl7

--HG--
extra : rebase_source : c5eab13161f1c93fecb6ec110680131e24ac6ab7
2017-10-27 08:56:40 -04:00
Alexis Beingessner
0f3e571e68 Bug 1410893 - Update bindings for API changes in WR PR 1923. r=jrmuizel
MozReview-Commit-ID: G7qfzaX6mxb

--HG--
extra : rebase_source : 0584dfa51eac36bbacf3870de50c86d4b53ee525
2017-10-27 08:56:31 -04:00
Kartikaya Gupta
d448b27cd9 Bug 1410893 - Update reftest results for changes in WR PR 1910. r=jrmuizel
The reftest box-decoration-break-with-inset-box-shadow-1.html was affected
by both PR 1910 and PR 1918.
The reftest backface-visibility-2.html was affected by PR 1914.

MozReview-Commit-ID: JFwhmttGJjQ

--HG--
extra : rebase_source : 7e716a64aa0de2f862b9bea7c0d30131e92ba319
2017-10-27 08:56:28 -04:00
Kartikaya Gupta
1acb485728 Bug 1410893 - Update Cargo lockfiles and re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: FobLKM7SYdY

--HG--
extra : rebase_source : bb1d27b56d9556097ef005c93de44be10d19e79a
2017-10-27 08:52:51 -04:00
Kartikaya Gupta
d639eb0193 Bug 1410893 - Update webrender to commit 4b8493d6bdc64d2d83202ac15b06b0d4b14c6e76. r=jrmuizel
MozReview-Commit-ID: DoUZXZtRyDY

--HG--
extra : rebase_source : c6b6fac4767e641ac7207bc03dbf206417f7a655
2017-10-27 08:51:39 -04:00
Bob Silverberg
05d1c44747 Bug 1411351 - Fix Console error "WeakMap key must be an object..." that happens when opening a new tab, r=aswan
When the New Tab page is opened, the browser object that is passed into the isArticleChangeListener
is not a valid browser from the perspective of tabbrowser.xml, so it is not able to find it in its
_tabForBrowser map. This causes undefined to be passed into tabManager.getWrapper(), which causes
the error.

This patch fixes this by not calling tabManager.getWrapper(), and subsequently firing the onUpdate
event, if the return value from gBrowser.getTabForBrowser() is undefined. Testing shows that that
is only the case when the New Tab page is opened, and that page is not, and is unlikely to be
readerable any time in the foreseeable future (confirmed on IRC), so ignoring this case in the
listener is acceptable.

MozReview-Commit-ID: D9LQRrPmCoU

--HG--
extra : rebase_source : da5c074c2e59babb5385d24a4f768aa4b7ae8997
2017-10-26 14:31:43 -04:00
Bob Silverberg
2a00024ceb Bug 1364942 - Allow WebExtensions to disable Web API notifications, r=mixedpuppy
This works by allowing an extension to set a value of Services.perms.DENY_ACTION
for permissions.default.desktop-notification, which stores the default permission
for desktop notifications. This means that if no permissions have been explicitly
set for a given page, the default will be used, but if a user overrides the permissions
for a specific page then their chosen permission will override this default.

An extension can only use this to make the default behaviour to disable notifications.
It cannot be used to globally enable notifications.

MozReview-Commit-ID: H5bDZe1ICiC

--HG--
extra : rebase_source : 24022d3ce5d0eba245099881f762e1f6353c50cb
2017-10-18 17:46:38 -04:00
Attila Craciun
8e1deebb54 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-10-27 16:21:11 +03:00
Attila Craciun
21363323fd Backed out 2 changesets (bug 1409900) for failing browser chrome on Linux opt at browser/base/content/test/general/browser_bug590206.js r=backout a=backout.
Backed out changeset 83296a355dd4 (bug 1409900)
Backed out changeset 072007f83431 (bug 1409900)
2017-10-27 16:15:47 +03:00
Sebastian Hengst
5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Henrik Skupin
d70feae0c1 Bug 1412222 - start_session should not ignore the result of connection attempts. r=ato
By silently ignoring the result from 'wait_for_port' results in a
delayed socket error, which sometimes can cause strange results
as seen on bug 1410366.

MozReview-Commit-ID: 2ptIwX6upBG

--HG--
extra : rebase_source : 9f25afacf2ce65811c51af2cf4b234c8dd1f3587
2017-10-27 10:06:18 +02:00
Imanol Fernandez
3c491f9069 servo: Merge #19028 - Kick off WebGL 2.0 implementation (from MortimerGoro:webgl2); r=emilio
<!-- Please describe your changes on the following line: -->

This PR kicks off the WebGL 2.0 implementation:

- Include WebGL2RenderingContext.webidl and comment unimplemented methods
- Create WebGL2 struct hierarchy with WebGL 1.0 backwards compatibility
- Add WebGL 2.0 entry points to canvas
- Select the correct GL Version on GLContext backends (related PR https://github.com/emilio/rust-offscreen-rendering-context/pull/108)
- Add WebGL version selection in shader compilations
- Create a WebGL 2.0 preference

I tried a complex three.js demo using canvas.getContext("webgl2") and the backwards compatibility worked great.

Next steps:

- I'll add WebGLVersion selection/filtering to WebGLExtensions and move some extensions to core in WebGL 2.0 (e.g. VAOs)
- I'll add the WebGL 2.0 conformance WPT
- I'll create a mega-issue with a the list of all TODO methods for a complete WebGL 2.0 implementation (as @emilio did with WebGL 1.0), so we can start start getting community involvement.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I will add the entire webgl 2.0 WPT in a different PR

<!-- 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: d21657a9e5cfdb858c1a99a246001ceac05bb982

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 00f02b0e518ddcc7c56674da4867669e73e927c3
2017-10-27 05:56:12 -05:00
Ethan Lin
fd8e5325dd Bug 1411886 - Rebuild the dependent frame's display items in retained display list mode. r=mattwoodrow
MozReview-Commit-ID: F7239qCoKuI
2017-10-27 14:00:52 +08:00
Boris Zbarsky
d5045f9244 Bug 1352002. Remove the iframe margin size quirk. r=dholbert
None of the spec, Chrome, or Safari have this quirk.  Edge has our quirks behavior in both modes.

MozReview-Commit-ID: ADyGxeIm3B4
2017-10-26 23:58:18 -04:00
Phil Ringnalda
7b1f06bcab Backed out changeset 1ce6d2b0a418 (bug 1411746) for timeouts in test_unresolved_fetch_interception.html on Win7 debug non-e10s, again
MozReview-Commit-ID: 1r7KEhkpHvA
2017-10-26 20:46:39 -07:00
Phil Ringnalda
ac48293bbe Backed out 5 changesets (bug 1401400) for eslint failure
Backed out changeset 788f5831a14d (bug 1401400)
Backed out changeset 3ccd39a02c21 (bug 1401400)
Backed out changeset e5860d5128fb (bug 1401400)
Backed out changeset fa28abe68df1 (bug 1401400)
Backed out changeset 0290bb0af376 (bug 1401400)

MozReview-Commit-ID: 8e9kQEaE7Bs
2017-10-26 19:29:38 -07:00
Nicholas Nethercote
63f0f0af1c Bug 1411480 (attempt 2) - Change PrefSaveData's element type. r=glandium.
Because nsCString is nicer than UniqueFreePtr<char>.

The patch also streamlines pref_savePrefs(). And also changes StrEscape() to
always put quotations around the result, because that's needed in both call
sites.

MozReview-Commit-ID: HT7HZz4QiSN

--HG--
extra : rebase_source : 442bb6002e004803a9ecb637239a000f11ec5774
2017-10-26 16:48:11 +11:00
Nicholas Nethercote
bfdd7e8e70 Bug 1411480 (attempt 2) - Simplify pref_HashPref()'s workings. r=glandium.
First, the patch removes the return values from PrefTypeFlags::Set*(). They
allow chained calls, but they're barely used and they just make the code harder
to read.

Second, the patch changes pref_SetValue() to not modify and return the pref
flags. It's clearer if the flags changing is done separately. This requires
passing pref_SetValue() the old type instead of the flags.

MozReview-Commit-ID: HZVS2TIlBIY

--HG--
extra : rebase_source : 6638244214cda15ceae5a1930659aed434d8261b
2017-10-26 16:36:17 +11:00
Phil Ringnalda
81afb7d3f2 Backed out changeset 6e2c105f5730 (bug 1402014) for marionette, talos, and dom/push/ crashes @ mozilla::net::Http2Session::ReadSegmentsAgain
MozReview-Commit-ID: 4mZXcBAma9d
2017-10-26 19:22:08 -07:00
Jeff Gilbert
e0d51c5ece Bug 1404536 - Use float division not accidentally int division. - r=daoshengmu
MozReview-Commit-ID: KUIE0dl6hlE
2017-10-26 18:43:35 -07:00
Jeff Gilbert
747359fc3f Bug 1404536 - ESSL3 needs texture() not texture2D(). - r=snorp
MozReview-Commit-ID: CJxOVbkItJX
2017-10-26 18:43:31 -07:00
Jeff Gilbert
62ca2c9829 Bug 1404536 - Use 3x4 matrices for GLBlitHelper's color matrix. - r=daoshengmu
MozReview-Commit-ID: Z5XTzmY3K7
2017-10-26 18:43:28 -07:00
Jeff Gilbert
1f167472bf Bug 1404536 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
MozReview-Commit-ID: 9LxsSJF1ggN
2017-10-26 18:43:24 -07:00
Ben Kelly
6ac7d7cc5b Bug 1411746 Make tests that wait for controller change also wait for SW activation before claim(). r=tt 2017-10-26 21:11:51 -04:00
Ryan VanderMeulen
337e94b88f Bug 1412153 - Update pdf.js to version 1.10.88. r=bdahl 2017-10-26 21:01:32 -04:00
Adam Gashlin
14515d0cb8 Bug 1401400 - Part 5: Test processing all threads for hang. r=gsvelto 2017-10-26 13:35:33 -07:00
Markus Stange
015854956a Bug 1406715 - Use the RenderFrameParent's content rect as the bounds of the webrender iframe display item. r=kats
It was using the visible rect of the display item before, which can be larger
than the frame for various reasons. But the bounds we pass for the webrender
iframe item determines the iframe's position, so it needs to be informed by the
layout position of the frame, not by circumstances of the paint.

MozReview-Commit-ID: JSmFGLmAm0h

--HG--
extra : rebase_source : ba85778fe1fe509dd593afaac9bf7a4ff9952b49
2017-10-22 00:48:01 -04:00
Andi-Bogdan Postelnicu
6c8d00b5a4 Bug 1411584 - avoid using memset on a non-trivial type object. r=kip
MozReview-Commit-ID: CW1OChvGoE9

--HG--
extra : rebase_source : 0b13b004433dfa9e704d09871368e63aaebc7e91
2017-10-26 11:41:22 +03:00
JW Wang
48defae102 Bug 1411805 - Update() needs to read some prefs off the main thread. r=gerald
MediaPrefs is our friend.

MozReview-Commit-ID: 3lz5oqUR9R9

--HG--
extra : rebase_source : 31efaf14c29182b00451705b189772aac23acd34
extra : source : 7e9c68fd5fa241fc1d015b352935c2efd0daa1e8
2017-10-24 10:13:30 +08:00
Glenn Watson
68933a49dc servo: Merge #19032 - Update WR (improved blur filter, color emoji blending) (from glennw:update-wr-blur); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cce9a24202f3040ea53f22e76861b42290fd7736

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 60f65dcfd4f25242d0913c5a7fd5046432ac784e
2017-10-26 21:11:32 -05:00
Kyle Machulis
df8270946f Bug 792059 - Add NeedsWindowsUndef extended attribute for constants; r=bz
When defining WebIDL constants in C++, we may need to undefine some
constant names that conflict with windows.h preprocessor defines.
Doing this in the binding header is far easier than tracking down the
include orders that may cause conflicts.

MozReview-Commit-ID: A0UoYezIQs5

--HG--
extra : rebase_source : d9100af2ccdb5c6e6468542ac68f74b2e4f9050c
2017-10-23 17:34:28 -07:00
Mike Williams
42f369953b Bug 1403682 - Add _findBoundingBox function and tests for mozscreenshots cropping; r=jaws
MozReview-Commit-ID: 7kvVsF3Wq3z

--HG--
extra : rebase_source : ac838d9888fdba002008bbf788ed3c7c6743f6ed
2017-10-14 11:13:32 -04:00
Alexandre Poirot
326ecd9cce Bug 1399465 - Document DAMP. r=nchevobbe
MozReview-Commit-ID: 8kYYaSC7DuQ

--HG--
extra : rebase_source : 7f6bebac9c487fe4f6b17d919344b8ba23f203e0
2017-10-10 16:08:22 +02:00
Nicholas Nethercote
8ad99dd7fa Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)

MozReview-Commit-ID: 4Q6QHX5h44V

--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00