Commit Graph

609317 Commits

Author SHA1 Message Date
Gabriel Luong
5588e101c2 Bug 1467572 - Part 4: Move the device selector into the global toolbar. r=jryans 2018-08-15 17:27:32 -04:00
Gabriel Luong
b21e2bf358 Bug 1467572 - Part 3: Remove the viewport dimension. r=jryans 2018-08-15 17:27:30 -04:00
Gabriel Luong
ffb4884f0a Bug 1467572 - Part 2: Remove the viewport toolbar. r=jryans 2018-08-15 17:27:28 -04:00
Gabriel Luong
9d5240e642 Bug 1467572 - Part 1: Move the App component into the component folder. r=jryans
--HG--
rename : devtools/client/responsive.html/app.js => devtools/client/responsive.html/components/App.js
2018-08-15 17:27:26 -04:00
Kris Maglione
962487a047 Bug 1480319: Follow-up: Re-enable favicon guessing during WebRequest tests. r=Mossop
--HG--
extra : rebase_source : fa21ef2a779d39c08bf0e1616046cde7126789ca
2018-08-15 14:56:49 -07:00
dvarga
87db76ae1a Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : rebase_source : c9e6b9edae9ecf064d1318fa15d5d57ea42c102a
2018-08-16 01:22:36 +03:00
Csoregi Natalia
808925acf5 Backed out changeset 7e58207e220a (bug 1471371) for spidermonkey failures at oom-in-construction.js. CLOSED TREE 2018-08-16 01:23:13 +03:00
Kris Maglione
507be890b3 Bug 1480319: Follow-up: Don't try to guess favicons during WebRequest test. r=bustage CLOSED TREE
--HG--
extra : amend_source : 667b1c387f0b548ebdf2e695aae260c2e07221ff
2018-08-15 14:34:51 -07:00
Csoregi Natalia
b0afa69be5 Backed out 3 changesets (bug 1449055) for multiple xpcshell failures on browser/extensions/formautofill/test/ . CLOSED TREE
Backed out changeset fc97f5b5e65d (bug 1449055)
Backed out changeset 45306ff933fe (bug 1449055)
Backed out changeset da3100049ef2 (bug 1449055)

--HG--
rename : browser/extensions/formautofill/api.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/formautofill/manifest.json => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css => browser/extensions/formautofill/skin/shared/autocomplete-item.css
rename : browser/extensions/formautofill/skin/shared/editDialog-shared.css => browser/extensions/formautofill/skin/shared/editDialog.css
2018-08-16 00:15:19 +03:00
Jason Laster
519c3a060a Bug 1483646 - Update Debugger Frontend v82. r=dwalsh 2018-08-15 17:06:34 -04:00
Eitan Isaacson
8d5dad89ed Bug 1479591 - Introduced accessibility scrolling event and interface. r=surkov 2018-08-15 13:07:00 -04:00
Jorg K
ec0695a4da Bug 1482085 - Disable test_PlacesSearchAutocompleteProvider.js for Thunderbird. r=mkaply 2018-08-09 14:36:00 -04:00
Jan Henning
e93ad5ad8e Bug 1476106 - Part 5 - Subscribe PromptService to OrientationChangeListener, too. r=snorp
Now that GeckoScreenOrientation generally offers notifications of screen
orientation changes, the PromptService no longer needs to do its own orientation
tracking and require to be fed orientation changes from each activity using it.

MozReview-Commit-ID: K7KbDsQip7b

--HG--
extra : rebase_source : 8b447d9db079794c9ad231a31a52f2787ab742ce
2018-08-02 21:17:07 +02:00
Jan Henning
619de3dc05 Bug 1476106 - Part 4 - Refresh ScreenManager data when detecting orientation changes. r=snorp
As of bug 1475875, cached screen data is now held by Gecko, so
- we no longer need to cache the screen size (retrieval of which can be
  expensive when called en masse, as required e.g. by font inflation) within
  GeckoAppShell, and
- we need to trigger a refresh of that data instead when the activity
  orientation changes.

MozReview-Commit-ID: JsY6sBCcOih

--HG--
extra : rebase_source : f286f3b01732bd724da3988c4713adb7329a5fae
2018-08-02 22:03:59 +02:00
Jan Henning
332e51ec37 Bug 1476106 - Part 3 - Move GeckoScreenOrientation updates into GeckoView. r=snorp
By moving the calls to GeckoScreenOrientation.update() into GeckoView, any app
using a GeckoView will automatically update the screen orientation in Gecko,
too, without any further action being required by the embedding app.

The synchronisation around GeckoScreenOrientation.update()/(un)lock() is
required for the following scenario:
If (un)locking of the screen orientation as requested by Gecko caused the
actual screen orientation of the app to change, there are two ways in which this
will cause our internal screen orientation to be updated:
1. Either the call to delegate.setRequestedOrientationForCurrentActivity
   (happening on the Gecko thread if the original request to (un)lock came from
   Gecko) returns first and update() is subsequently first called from the Gecko
   thread, too, meaning the onOrientationChange notification to Gecko can occur
   synchronously as well. In that case, as soon as (un)lock returns to Gecko,
   querying our internal screen orientation will return the correct value.
2. Or else the GeckoView.onConfigurationChanged() call resulting from the screen
   rotation manages to call GeckoScreenOrientation.update() first and does so
   from the Android UI thread. This means that the onOrientationChange
   notification will be redispatched asynchronously to the Gecko thread, while
   the Gecko thread's call to GeckoScreenOrientation.update() will return early
   without doing any work, as the screen orientation had already been previously
   updated by the UI thread.
   As a result,there will be a period of time between the Gecko thread returning
   from GeckoScreenOrientation.(un)lock() and the onOrientationChange
   notification finally executing where querying the internal screen
   orientation will not yet return the new orientation. This can cause problems
   for Gecko (test) code that expects to (un)lock the orientation and then be
   able to immediately query the new, changed orientation after the call to
   (un)lock returns.

Without additional measures in place, there are no guarantees at what point
the GeckoView will receive the onConfigurationChanged() call in relation to the
request to change the activity's orientation making its way back to (un)lock().
Therefore, we add synchronisation such that no other thread will be able to up-
date the screen orientation in GeckoScreenOrientation while another thread is
still busy (un)locking the screen orientation.

MozReview-Commit-ID: 5s5NEJcuS0p

--HG--
extra : rebase_source : cbfbc6da99aa23af4eee8c4bf6018359f9e71304
2018-08-12 13:31:59 +02:00
Jan Henning
85eac0f5c4 Bug 1476106 - Part 2 - Fix setting of mRuntime when restoring GeckoView from savedInstanceState. r=snorp
The call to mSession.transferFrom(ss.session) in the line above also transfers
the window from ss.session into mSession, which means we subsequently won't be
able to retrieve a runtime from ss.session any more, thereby defeating the goal
of calling mRuntime = ss.session.getRuntime().

This case is encountered e.g. when the containing activity is destroyed and sub-
sequently recreated after a configuration change that isn't handled by the app,
e.g. screen rotation in the GeckoView example app.

MozReview-Commit-ID: 5YGskdLZWqw

--HG--
extra : rebase_source : 3293fcaaf645706133531cb0180b6514a289b612
2018-08-04 15:21:40 +02:00
Jan Henning
50803fba6b Bug 1476106 - Part 1 - Make it possible to notify Java listeners from GeckoScreenOrientation, too. r=snorp
Once responsibility for notifying GeckoScreenOrientation of potentially changed
screen orientations moves from GeckoApp into GeckoView, the former will no
longer be able to benefit from the return value of calling GeckoScreen-
Orientation.update(), indicating whether the orientation actually changed or in
fact remained the same.

GeckoApp however requires that information in order to reset/refresh parts of
the UI when the orientation changes, and since GeckoScreenOrientation is already
doing all the work of tracking screen orientation changes, we don't want to have
to partially duplicate those efforts again in GeckoApp.

Instead, we introduce a mechanism for GeckoScreenOrientation to notify
interested parties on the Android app side as well.

The GeckoScreenOrientation.update() call in GeckoApp.onResume() is removed
completely (as opposed to merely removing the refreshChrome() bit) at this stage
already because it is unnecessary. If any screen rotation happened while the
activity was in background, it will receive an onConfigurationChanged() call
anyway before being resumed again.

MozReview-Commit-ID: Ila1evcj8Ud

--HG--
extra : rebase_source : f342800628f930d717fe346779894793a1bac0e9
2018-08-02 21:10:33 +02:00
Jan Henning
6cb9ac4f6b Bug 1476106 - Part 0 - Cleanup imports. r=JanH
MozReview-Commit-ID: UHUdrWSIks

--HG--
extra : rebase_source : e0e64d55db9898d3c19ed4342e200d51326b3a30
2018-08-02 20:51:17 +02:00
Pavel Slepushkin
01b4686deb Bug 1428713 - [mozprocess] Add support for Python 3 r=davehunt
MozReview-Commit-ID: 9wHoIEboA0K

--HG--
extra : rebase_source : f1b1c3a1dcbcd9038adb7a149fc00f7c1849d6e1
2018-08-04 17:32:57 +02:00
Francois Marier
66ef6df55a Bug 1482306 - Ensure that tables are enabled when shared between features. r=dimi!
The enable/disable logic of the list manager was wrong. If multiple features
shared a given table (e.g. tracking protection and tracking annotations)
and only one of them was enabled, then updates could either be disabled
or enabled depending on which feature was checked first.

By disabling everything at the beginning and selectively re-enabling tables,
we can ensure that no table gets both enabled and disabled by different
feature toggles.

Differential Revision: https://phabricator.services.mozilla.com/D3259

--HG--
extra : moz-landing-system : lando
2018-08-15 12:13:16 +00:00
Daniel Holbert
0878eb4d7e Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin
For each file touched in this patch, the file had an #include for nsContentUtils.h, but no other mentions of the string "nsContentUtils", nor any mention of its "ScriptBlocker"-related types. So these files likely don't need their nsContentUtils.h include anymore, and we can remove it to get a marginal win on build time/complexity.

Differential Revision: https://phabricator.services.mozilla.com/D3370

--HG--
extra : moz-landing-system : lando
2018-08-15 07:04:43 +00:00
fvsch
0ac3f7e222 Bug 1476590 - Increase netmonitor table text contrast in dark theme and for cached rows. r=gl 2018-07-31 00:40:33 +02:00
Ashley Hauck
2d10ea4e86 Bug 1472126 - Require non-null context in NativeIterator::allocateSentinel. r=jandem 2018-08-15 09:35:36 -07:00
Ashley Hauck
fada9e643f Bug 1471371 - Add OOM handling in RegExp construction. r=jorendorff 2018-08-14 08:24:57 -07:00
Matthew Noorenberghe
a290cf90f3 Bug 1476345 - Only enable relevant fields in address forms and update tests. r=jaws
MozReview-Commit-ID: KuPMHrF6jaM

--HG--
extra : rebase_source : f37118ff94bcb90108712dcc2f6db3d0aa5c92ef
2018-08-15 12:19:55 -07:00
Matthew Noorenberghe
eb2bfba0ba Bug 1476345 - Disable the address form save button when the form is invalid. r=jaws
Tests for this are in the next commit (e.g. test_address_form.html) because this can't be tested properly due to existing tests not filling fields in ways that fire input/change events.

MozReview-Commit-ID: 62CckFP6Ou3

--HG--
extra : rebase_source : 02a73ae78f6102e139cdca31e64d6248dc8d5281
2018-08-15 12:07:55 -07:00
Matthew Noorenberghe
f82da9f49e Bug 1476345 - Fix debugging names and add records with missing required fields. r=jaws
MozReview-Commit-ID: LaOJMF6GLuZ

--HG--
extra : rebase_source : f670bac3c1118748ec2a34e1a801c71166347d33
2018-07-24 22:14:53 -07:00
Matthew Noorenberghe
df3b18a123 Bug 1476345 - Fix console listener to not spew when .message doesn't exist. r=jaws
Sometimes .errorMessage exists without .message

MozReview-Commit-ID: D4zBJKxfJba

--HG--
extra : rebase_source : b665ab4c79a894462064662bbf8bcc49e320d7ce
2018-08-14 16:26:36 -07:00
Daniel Holbert
2a95dd3cca Bug 1472843 followup: Remove flexbox-justify-content-horizrev & vertrev reftest files, as they now have duplicates in another directory. (no review, test-tweak only)
These testcases now have virtually-identical copies called...
 flexbox-justify-content-horiz-006.xhtml
 flexbox-justify-content-vert-006.xhtml
...in our w3c-css/submitted/flexbox reftest directory. So these ones don't need
to exist anymore.

--HG--
extra : rebase_source : 4cc4601987d6678efd87966f94322446c7d00e98
extra : amend_source : 55186587084d49fdf786cd47bb01e2ff4ec0fb6f
2018-08-15 13:25:52 -07:00
Kris Maglione
12c9b0e4f9 Bug 1480319: Follow-up: Fix URL in browser_startup_content test. r=bustage
--HG--
extra : amend_source : 8556858ffbc11bab4f89a46ccc3a8c847835c9d2
2018-08-15 13:22:40 -07:00
Kai Engert
1ac97d2efc Bug 1477680, land NSPR 4.20 beta snapshot 6e31156d7002, r=me
UPGRADE_NSPR_RELEASE
2018-08-15 22:10:18 +02:00
Mihir Iyer
299e679ae7 Bug 1472843 - Implement justify-content:left/right/start/end, align-content:start/end, align-self:self-start/self-end for flexbox. r=dholbert
This commit also removes some cases & warnings about unsupported values that
have now been removed from the css alignment spec.
Specifically: "justify-content:[last] baseline" and
"align-self/align-content: left/right".

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-wmvert-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-wmvert-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-002-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-005-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-002.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-005.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-005-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-006-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-005.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-006.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-006-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-006.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-wmvert-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-wmvert-001.xhtml
extra : amend_source : 93cd04450f573fcfa11f3400ffd0ecb4cb3e6d90
2018-08-03 07:56:32 -07:00
Gabriel Luong
0c3ff8d3f1 Bug 1483134 - Add an overflow: hidden to the inspector-responsive-container. r=rcaliman 2018-08-15 16:01:00 -04:00
Ted Mielczarek
f5bd95d64f bug 1461992 - Add a script to output build system telemetry schema in json-schema format. r=gps
External systems such as the generic ingestion service will want to work with
the more standard json-schema format. This commit adds a script to convert the
voluptuous schema to json-schema format using the `luscious` Python module.
Since that module has not been updated recently, we install and use a fork with
some changes.

Since this is a single-purpose command that's unlikely to be used by many
people it's not implemented as a mach command, but simply a standalone script
that can be invoked via `mach python`.

Differential Revision: https://phabricator.services.mozilla.com/D2841

--HG--
extra : rebase_source : d35ed221d05d1d56b96604b931c22b700c10e476
2018-08-06 13:54:58 -04:00
Ted Mielczarek
233bc083f6 bug 1461992 - add a voluptuous schema for build system telemetry. r=gps
This change adds a voluptuous schema for build system telemetry, replacing
the existing json schema file. Using voluptuous will make it easier to work
with the schema from Python code in the build system. A future commit will
use a Python module to provide a mach command to convert the voluptuous
schema to json schema format for consumption by other systems.

Differential Revision: https://phabricator.services.mozilla.com/D2840

--HG--
extra : rebase_source : 067995385334d1dbc123f2db4245ef4e69d076c3
2018-08-03 15:41:20 -04:00
Ted Mielczarek
28a107217d bug 1461992 - update vendored copy of voluptuous to 0.11.5. r=gps
voluptuous 0.11.1 added support for a `description` argument for Required and
Optional objects, which is useful for adding descriptions in the schema that
we can persist when converting it to json-schema format. This patch vendors
the current version of voluptuous, which is 0.11.5.

MozReview-Commit-ID: 2qt1KE8MPYR

Differential Revision: https://phabricator.services.mozilla.com/D2839

--HG--
extra : rebase_source : f784a529a45fd5467de4dc39ab5db1624004bf2f
2018-08-06 06:45:33 -04:00
Timothy Guan-tin Chien
29d12ef10f Bug 1483597 - Remove the unneeded GetRootElement() check in bug 1261536, r=bz
--HG--
extra : rebase_source : b47d872451af42c882dd9857070221170d0b3681
2018-08-15 09:28:32 -07:00
Kris Maglione
c9e334f403 Bug 1483444: Skip browser_startup_content in verify mode. r=Felipe DONTBUILD
Verify mode runs tests multiple times. In the case of browser_startup_content.js,
this gives extra modules a chance to load before subsequent runs, which leads
to failures.

Since there's no particular reason to run this test in verify mode, the
obvious solution is to just disable it.

Differential Revision: https://phabricator.services.mozilla.com/D3430

--HG--
extra : rebase_source : 034fc518bc3e4346cc99404def659b7cf3233308
extra : amend_source : d80dfffefbc674a24c118800af03a12f638fb3a6
2018-08-15 11:34:42 -07:00
Geoff Brown
2b831a4422 Bug 1483563 - Remove 'mach autophone'; r=bc
Autophone has been retired.
2018-08-15 12:54:08 -06:00
Geoff Brown
bec136999a Bug 1483421 - Enable more test suites for Android test-verify; r=jmaher 2018-08-15 12:54:06 -06:00
Kris Maglione
4b6d32ec6c Bug 1480319: Split favicon loading code out of ContentLinkHandler.jsm. r=Mossop
MozReview-Commit-ID: KyP42P5FJRq

--HG--
rename : browser/modules/ContentLinkHandler.jsm => browser/actors/LinkHandlerChild.jsm
rename : browser/modules/ContentLinkHandler.jsm => browser/modules/FaviconLoader.jsm
extra : rebase_source : da12d0379f976fa041b97e271abb599dc99f3848
2018-08-01 21:36:12 -07:00
Nihanth Subramanya
7ea67a3101 Bug 1483430 - Backout fxmonitor system add-on from mozilla-central. r=johannh 2018-08-15 03:39:48 +02:00
sahil bhosale
bdc29311ba Bug 1478855 - Use ES6 default parameter in updateBrowserRemotenessByURL. r=dao 2018-08-15 17:24:42 +05:30
fvsch
25c6e43be3 Bug 1476626 - styleeditor stylesheet-enabled visibility in narrow windows. r=gl 2018-07-31 22:19:26 +02:00
Diego Pino Garcia
6895fb936e Bug 1405022 - Remove unnecessary use of nsAutoCString from the call to NS_NewURI in nsViewSourceChannel::BuildViewSourceURI. r=mayhemer 2018-08-15 09:02:00 -04:00
Csoregi Natalia
5b0b259de7 Backed out changeset 762833d5e75d (bug 1482193) for failures on blending-svg-root.html. CLOSED TREE 2018-08-15 21:36:09 +03:00
Kris Maglione
1f29f16136 Bug 1480244: Follow-up: Re-add kungFuDeathGrip for mTabChildMessageManager. r=bz
--HG--
extra : rebase_source : 8afd353f25b767272e54e6e6537e892b86f7e715
2018-08-15 11:13:15 -07:00
Ehsan Akhgari
53915ba0cb Bug 1483223 - Remove nsIDOMDOMCursor.idl; r=qdot
Bug 1451929 forgot to remove this file.
2018-08-15 14:15:28 -04:00
Andrew Swan
f82f899fa3 Bug 1449055 Make browser_all_files_referenced.js work with formautofill as a webextension r=florian
MozReview-Commit-ID: JV3vA8bmDWt

--HG--
extra : rebase_source : f2e408a6125b661772d796388aa32f185ab01c8c
extra : source : 644216b0ad9b5f9e1e9e8f1f930d4db1c6e717a1
2018-08-01 18:22:23 -07:00
Andrew Swan
fb72dcb414 Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 233ea805630209a07d347e19f19710d9755f595f
extra : source : ecda6532c852b3f225fce998e3ce83ad157760e6
2018-07-28 14:06:07 -07:00