Commit Graph

609339 Commits

Author SHA1 Message Date
Matthew Gaudet
702d2b2570 Bug 1483542 - Correct the expected compare type computation for CacheIR stubs in some cases r=tcampbell
--HG--
extra : rebase_source : 915e290b73a818e0bb2f8b81d814e81f272e4103
extra : amend_source : e63d0980b316fae4233e6f152310322e18e1f283
2018-08-15 14:44:00 -04:00
Brian Birtles
29e984d336 Bug 1483404 - Use "auto" values for unspecified keyframe-specific composite operations; r=smaug
Summary:
This brings our implementation into line with the following spec change:

  ced6b5aac0

See https://github.com/w3c/csswg-drafts/issues/3000

Reviewers: smaug

Tags: #secure-revision

Bug #: 1483404

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

--HG--
extra : rebase_source : 097d8307cea82b5d1ea0345414153965067b2b5b
extra : amend_source : fe1f4aeef842961600fe3dba760a573ed2fc84df
2018-08-15 09:51:28 +09:00
Randell Jesup
c1e6e4d220 Bug 1482899: un-bitrot --enable-perf r=jandem 2018-08-15 19:47:22 -04:00
Ehsan Akhgari
60f130b6fc Bug 1483604 - Part 3: Pass in a channel object when calling InternalStorageAllowedForPrincipal() from StorageAllowedForWindow() and StorageAllowedForDocument(); r=smaug 2018-08-15 19:00:52 -04:00
Ehsan Akhgari
99d839224e Bug 1483604 - Part 2: Make all of the external consumers of nsContentUtils::StorageDisabledByAntiTracking() pass a channel if available; r=smaug 2018-08-15 19:00:52 -04:00
Ehsan Akhgari
0ef6860e9a Bug 1483604 - Part 1: Only call NotifyContentBlockingState() when the channel argument is non-null; r=smaug 2018-08-15 19:00:51 -04:00
Matthew Noorenberghe
e4b01ff640 Bug 1465673 - Disable browser_card_edit.js on linux debug builds. r=me
--HG--
extra : rebase_source : c6c5ced06a994179f1cbf16762e085e58e9e6f9e
2018-08-15 14:21:18 -07:00
Gabriel Luong
fb8789b523 Bug 1467572 - Part 19: Remove responsive-ua.css. r=rcaliman 2018-08-15 17:27:58 -04:00
Gabriel Luong
8ca98140f5 Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Gabriel Luong
8d5a3eacf4 Bug 1467572 - Part 17: Implement left alignment of viewports. r=rcaliman 2018-08-15 17:27:55 -04:00
Gabriel Luong
6b8e5c657d Bug 1467572 - Part 16: Adjust RDM colors for the light and dark theme to match the designs. r=rcaliman
Light Theme Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
Dark Theme Design https://mozilla.invisionapp.com/d/main#/console/12408235/302151757/preview
2018-08-15 17:27:53 -04:00
Gabriel Luong
8bfb4863a1 Bug 1467572 - Part 15: Fix unit tests for RDM to work with the new RDM design. r=Honza
- Various element IDs and strings were renamed in the preceeding patches before this. This fixes
the strings and element ID reference in the RDM unit tests.
- Fixed RDM unit tests to work with new native context menu which used to be <select> elements.
2018-08-15 17:27:51 -04:00
Gabriel Luong
4ae4bafb0d Bug 1467572 - Part 14: Set the minimum viewport dimension to 50px. r=rcaliman 2018-08-15 17:27:49 -04:00
Gabriel Luong
0d04044793 Bug 1467572 - Part 13: Removes the custom toolbar button styling and fixes the sizing of the device close button in RDM. r=rcaliman 2018-08-15 17:27:47 -04:00
Gabriel Luong
62b46d9afc Bug 1467572 - Part 12: Use native context menu instead of select element in the Device selector. r=Honza
- Removes all the unused styling for the <select> and <option> elements and the
toolbar-dropdown class.
2018-08-15 17:27:46 -04:00
Gabriel Luong
0167d8cf80 Bug 1467572 - Part 11: Use native context menu instead of select elements in the DPR menu. r=Honza
--HG--
rename : devtools/client/responsive.html/components/DevicePixelRatioSelector.js => devtools/client/responsive.html/components/DevicePixelRatioMenu.js
2018-08-15 17:27:44 -04:00
Gabriel Luong
7060c0de65 Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css

--HG--
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingMenu.js
2018-08-15 17:27:43 -04:00
Gabriel Luong
4c0433b4ab Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM

--HG--
rename : devtools/client/responsive.html/components/ReloadConditions.js => devtools/client/responsive.html/components/SettingsMenu.js
rename : devtools/client/netmonitor/src/utils/menu.js => devtools/client/shared/components/menu/utils.js
2018-08-15 17:27:41 -04:00
Gabriel Luong
fb5dbbe667 Bug 1467572 - Part 8: Add proper separators to the global toolbar. r=jryans 2018-08-15 17:27:39 -04:00
Gabriel Luong
db841d8c47 Bug 1467572 - Part 7: Add rotate viewport button to the global toolbar. r=jryans 2018-08-15 17:27:37 -04:00
Gabriel Luong
12b1d6b2f3 Bug 1467572 - Part 6: Add the viewport dimension to the global toolbar. r=jryans 2018-08-15 17:27:36 -04:00
Gabriel Luong
9ab15ae3ff Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman
--HG--
rename : devtools/client/responsive.html/components/GlobalToolbar.js => devtools/client/responsive.html/components/Toolbar.js
2018-08-15 17:27:34 -04:00
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