Commit Graph

610100 Commits

Author SHA1 Message Date
Mats Palmgren
2f53d4f281 Bug 1484559 - Ensure that the scroll frame deregister its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed. r=dholbert 2018-08-21 14:55:22 +02:00
Tom Tung
d2cd03866d Bug 1484615 - Followup comment fix for bug 1409641; r=janv
This patch add comments to IndexedDBHelper.jsm to clarify how txn.result is set.
The comments should clear up any confusion caused by previous commit message
(fix for bug 1409641).

--HG--
extra : rebase_source : 57a6f3eb569224a9e432803ef67d80f57219f7ab
2018-08-20 11:46:24 +02:00
Andrew Osmond
7b5c6eb801 Bug 1452513 - Avoid issuing transactions with WebRender when the namespace has changed. r=kats
When the namespace changes (e.g. due to a tab move between windows), we
may get stale transaction requests that we need to ignore. In
WebRenderBridgeParent::RecvSetDisplayList, we would automatically send
any unsent transaction data when exiting the method, but this did not
take into account the staleness. This patch ensures we only flush the
data if we actually want it.

The transaction in question that was observed and causing crashes was
UpdateImageBuffer.
2018-08-21 08:29:09 -04:00
Jan de Mooij
965f93349e Bug 1473957 - Require debugger and debuggee to be in different compartments. r=jimb
We were checking for cross-compartment wrappers in the Debugger constructor, but this patch also fixes addDebuggee and addAllGlobalsAsDebuggees.

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

--HG--
extra : rebase_source : 3346baa677b4eae1ed8b7b13d93c1c8c89753d97
2018-08-16 12:35:20 +02:00
Jan de Mooij
483b00ee42 Bug 1479430 - Make sure TypeNewScript::maybeAnalyze is called in the group's realm. r=luke
--HG--
extra : rebase_source : e6f8f7ff651a4f3bd07060152e15738b0de9dd36
2018-08-16 11:59:19 +02:00
Paul Adenot
3f50ca3b6f Bug 1480036 - Allow scaling all MSG volume with a pref. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D2594

--HG--
extra : rebase_source : 12a931585d95fe190e6fc1e3b4fba9a2f0cd6cd9
extra : histedit_source : 355f316e6eba1feaa0ee3e7750feede92eeae4bc
2018-08-01 12:10:32 +02:00
Paul Adenot
9d28010d74 Bug 1480036 - Stop relying on having the default device set globally. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D3508

--HG--
extra : rebase_source : 273766c52eb01dd3a8f3a42fc72d7c8997e5b2a9
extra : histedit_source : eab93fe060536497b1e68fc4d964eb42c61ca029
2018-08-01 15:18:32 +02:00
Paul Adenot
a5f0fee215 Bug 1480036 - Allow forcing a specific audio output device from a test. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D3507

--HG--
extra : rebase_source : 2f20dcd24d148ea0cc9f7b73ff0dd81f25574467
extra : histedit_source : aa2205caf3ad5fe9e5fceaf78e6f7a7e3488155b
2018-08-01 14:16:30 +02:00
Henrik Skupin
8c777853e7 Bug 1484909 - [wdclient] Fix handling of "invalid session id" error.
Without a session being created first the "send_command" method
inappropriately checks for the "session not created" error, which
only gets raised by the "new session" command. For all the other
commands the "invalid session id" error has to be handled.

--HG--
extra : rebase_source : de7ad6ae0ef9af925f6f36c70cb4a85c97da4b0c
2018-08-21 09:15:21 +02:00
Henrik Skupin
3af25764b7 Bug 1484909 - [geckodriver] Return "invalid session id" error when there is no active session.
If a command is used before creating a new session, an
"invalid session id" error has to be returned by the
driver.

--HG--
extra : rebase_source : c45f33e9e39d876f5fd77561b57ab1fe664452d1
2018-08-21 09:08:36 +02:00
Henrik Skupin
c5d3bd801c Bug 1484909 - [marionette] Fix handling of InvalidSessionException.
The Marionette client raises a custom MarionetteException
instead of passing through the InvalidSessionIdException as
returned by the Marionette server.

--HG--
extra : rebase_source : 99fd02062e858f31e25d2ca0fb80940586772fb2
2018-08-21 08:07:23 +02:00
Margareta Eliza Balazs
5f8fc9fbde Backed out 2 changesets (bug 1443561) for causing bc perma failures in toolkit/components/extensions/test/browser/browser_ext_themes_sanitization.js
Backed out changeset 1d748613485f (bug 1443561)
Backed out changeset 37b4dc3bc73a (bug 1443561)
2018-08-21 14:05:22 +03:00
Tim Nguyen
136f2e2340 Bug 1484512 - Split up places.css and only load relevant parts of it. r=dao
--HG--
rename : browser/themes/linux/places/places.css => browser/themes/linux/places/sidebar.css
rename : browser/themes/osx/places/places.css => browser/themes/osx/places/sidebar.css
rename : browser/themes/shared/places/places.inc.css => browser/themes/shared/places/sidebar.inc.css
rename : browser/themes/shared/places/tree-icons.inc.css => browser/themes/shared/places/tree-icons.css
rename : browser/themes/windows/places/places.css => browser/themes/windows/places/sidebar.css
extra : rebase_source : 14b9345e1408cf1d873f29b3c5f4ae6313afbad6
2018-08-19 10:34:33 +01:00
Dorel Luca
d11c177f44 Merge mozilla-central to mozilla-inbound 2018-08-21 12:59:51 +03:00
Dorel Luca
07c6e76122 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 12:54:24 +03:00
Daniel Holbert
7fe3e02d70 Bug 1481951 part 2: Adjust reftest contain-layout-overflow-002.html to be clearer & have accurate expectations. r=dbaron
This test is basically a copy of its -001 variant, with some "float:left"
sprinkled around on contained descendants.

Before this patch, this test had an additional arbitrary sizing difference as
compared to the -001 version -- there's one element that arbitrarily has class
"outer" in the -002 test whereas it has class "inner-lg" in the -001 version.
These classes have different sizing characteristics, which makes a difference
to whether scrollbars show up, because this element is not contained (though it
is a layout container itself).

This patch undoes this arbitrary difference and also adds a "float" class to
make it easier to see which elements we've sprinkled float styling onto.

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

--HG--
extra : rebase_source : 2630420b4dfc1a307cbfe20447e66fbfecf7b0aa
2018-08-20 12:43:14 -07:00
Daniel Holbert
38fd2332b7 Bug 1481951 part 1: Adjust contain-layout-overflow-* reftests to remove unused rule for nonexistent class "inner-md". r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D3825

--HG--
extra : rebase_source : 74b16f8e06088d47d687e0f07178473c1b1ad540
2018-08-20 12:45:06 -07:00
Alex Gaynor
019b59f8b5 Bug 1483309 - the IPC libFuzzer integration can now generated shared memory segments; r=jld,posidron
Uses the input bytes as metadata + data for shared memory segments.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 18:46:05 +00:00
Vivek Dhingra
29e63a034b Bug 1443561 - Part 1: Make additional backgrounds alignment relative to toolbox. r=jaws
MozReview-Commit-ID: 5gjrzZiLx0Q

--HG--
extra : rebase_source : df858d25b76a1f96ba08538f011b527a1c00d75c
2018-08-17 09:57:25 +01:00
Tim Nguyen
6eaa3a47e0 Bug 1443561 - Part 0: Workaround bug 1482157, set -moz-appearance:toolbox on #navigator-toolbox::after. r=dao
MozReview-Commit-ID: CuJIYn9ioPO

--HG--
extra : rebase_source : f76753bcf524697d5ab9a9adb05e1fa55e289f8b
2018-08-17 10:22:42 +01:00
Masayuki Nakano
d33fe8cd6d Bug 1484110 - part 3: HTMLEditor::RefereshEditingUI() should refresh UIs when one of them is changed to enabled or disabled r=m_kato
HTMLEditor::RefereshEditingUI() works only with enabled UIs.  Therefore, if
UI is disabled while it's visible, it keeps shown.  This is too bad if web
apps tries to disable the Gecko specific UIs after we show some of them.

This patch adds HTMLEditor::HideAnonymousEditingUIsIfUnnecessary() to hide
unnecessary UIs and makes RefereshEditingUI() call it always.
2018-08-17 19:03:02 +09:00
Masayuki Nakano
a24cf41019 Bug 1484110 - part 2: Rewrite HTMLEditor::HideInlineTableEditingUI() r=m_kato
First, HTMLEditor::HideInlineTableEditingUI() always returns NS_OK.  So, we
can change its return type to void.

Additionally, it removes each UI from the DOM tree one by one.  However, each
mutation could cause showing same UI again.  In such case,
ShowInlineTableEditingUI() overwrites each UI with newly created element.
Then, HTMLEditor cannot remove the old UI anymore.  Therefore, this patch
moves all members of the UI into local variables first.
2018-08-17 18:23:13 +09:00
Masayuki Nakano
7fc2bdaae1 Bug 1484110 - part 1: Create HTMLEditor::RefereshEditingUI() for internal use of nsIHTMLEditor::CheckSelectionStateForAnonymousButtons() r=m_kato
HTMLEditor::CheckSelectionStateForAnonymousButtons() is called a lot internally.
Especially, its virtual call cost may make damage to our performance since
it's called from a selection listener.

So, we should create non-virtual method, RefereshEditingUI() for internal use.
2018-08-17 17:56:28 +09:00
Benjamin Bouvier
bb271da0ee Bug 1437065: Rename interpCodeRangeIndex to funcCodeRangeIndex; r=luke
--HG--
extra : rebase_source : e4f93e725474295d9008a1dfc1db6785d4ff56c7
extra : histedit_source : df644cdfd5fdc5dc9a1ee72ec0a6d0730e951364
2018-08-20 15:38:36 +02:00
Benjamin Bouvier
f39704cd60 Bug 1437065: Drive-by fixes; r=jandem
--HG--
extra : rebase_source : 23f246fa48bd2dcc85c3918609630f50aa1d0837
extra : histedit_source : a33a5be54c7a340999e1b4b5b9316ae37f7cc374
2018-08-20 15:23:01 +02:00
Ashley Hauck
d51249d1c5 Bug 1471371 - OOM handling in RegExp construction. r=jorendorff 2018-08-14 08:24:57 -07:00
Eitan Isaacson
57a25953a0 Bug 1483911 - Defer scrolling events until after ipc doc construction. r=Jamie 2018-08-20 15:51:00 +03:00
Jeff Walden
e4f79e2a19 Bug 1484421 - Move JSON-related functionality into js/public/JSON.h that isn't #include'd in jsapi.h. r=jandem 2018-08-20 07:54:45 -07:00
Jeff Walden
ffd93ba761 Bug 1033916 - Move JSAutoByteString out of jsapi.h into js/public/AutoByteString.h, incidentally breaking the jsfriendapi.h -> jsapi.h dependency. r=jandem
--HG--
extra : rebase_source : d85baf9b28e632db5669aa3d056cc9744686f5c8
2018-08-20 07:46:08 -07:00
Jeff Walden
3e90595274 Bug 1484389 - Move various SavedFrame-related functions and data types into js/public/SavedFrameAPI.h so that users aren't forced to depend on jsapi.h or jsfriendapi.h for them. r=jandem
--HG--
extra : rebase_source : d891f81cb0827d3c03971f71ba95a014d1e35379
2018-08-20 07:45:44 -07:00
Jeff Walden
b0ed4292e4 Bug 1484386 - Move various memory-allocation-related functions into js/public/MemoryFunctions.h to (ultimately) minimize dependencies required to use these functions in forthcoming public headers. r=jandem
--HG--
extra : rebase_source : 7f00471e42be6aa6aa94125c1ea291c6ebbe35a5
2018-08-20 07:45:44 -07:00
Jeff Walden
f95e60bba1 Bug 1484385 - Move various error-report-related structures and types into js/public/ErrorReport.h to minimize dependencies (and ultimately to make jsfriendapi.h not depend on jsapi.h). r=jandem
--HG--
extra : rebase_source : a288defdb87af97cae31181db9239b18935ad3d2
2018-08-20 07:45:44 -07:00
Jeff Walden
cd10720691 Bug 1040316 - Move AutoStableStringChars out of friendapi into public API. r=jandem
--HG--
extra : rebase_source : 3f66710e9517aba203a3d5365f6c3f0102c7baf8
2018-08-20 07:44:44 -07:00
Jeff Walden
407a8b6081 Bug 1483374 - Intl.NumberFormat shouldn't deliberately conflate -0 with +0. r=anba
--HG--
extra : rebase_source : b20e4e3fbc96138c8158ea21934c024d6a8842a0
2018-08-16 13:57:42 -07:00
Nicholas Nethercote
d6f4bef529 Bug 1484605 - Tweak some lookupForAdd() uses. r=luke
These are cases where the existing code is a little dubious or sub-optimal.

--HG--
extra : rebase_source : 2fcb4657afc7c7d24ae88b85d08df57ae04db38c
2018-08-21 11:53:47 +10:00
Gurzau Raul
fce80a532e Backed out 8 changesets (bug 1330257) for Geckoview failures at GeckoSessionTestRuleTest.waitForPageStop_throwOnChangedCallback on a CLOSED TREE
Backed out changeset c26970c767e1 (bug 1330257)
Backed out changeset 53ef69afca69 (bug 1330257)
Backed out changeset 62e53fa35d5b (bug 1330257)
Backed out changeset 7c589fc8621b (bug 1330257)
Backed out changeset 593f9a799d11 (bug 1330257)
Backed out changeset 9085b9fd557c (bug 1330257)
Backed out changeset aa0ef9b0e96a (bug 1330257)
Backed out changeset 7186e64192f7 (bug 1330257)
2018-08-21 06:51:29 +03:00
Jim Chen
2a5876a5b2 Bug 1330257 - 5a. Fix checkstyle error; r=jchen 2018-08-20 23:02:09 -04:00
Jeff Muizelaar
2bcaf3e052 Bug 1483303. Mark 3d transform test as passing. 2018-08-20 22:32:56 -04:00
Jeff Muizelaar
b0d05aed0d Bug 1483303. Update bindings for color masking of images.
This makes us build after pr #2969
2018-08-20 22:32:54 -04:00
Jeff Muizelaar
3f1b0144a3 Bug 1483303. Update webrender to commit e70bae07664def86aefd11c86dac818ab7ea64ea 2018-08-20 22:32:50 -04:00
Jim Chen
0f3c92c7f0 Bug 1330257 - 7. Add Oreo auto-fill frontend; r=esawin r=snorp
Add a frontend for the Oreo auto-fill API in SessionTextInput, which
processes events from Gecko and provides consumer APIs that match the
Oreo auto-fill APIs. GeckoView then forwards the necessary calls to
SessionTextInput.

Differential Revision: https://phabricator.services.mozilla.com/D3538
2018-08-20 22:28:21 -04:00
Jim Chen
da23d1931b Bug 1330257 - 6. Add tests for auto-fill accessibility frontend; r=eeejay
Add some tests to AccessibilityTest to make sure we can perform
auto-fill through the accessibility API.

Differential Revision: https://phabricator.services.mozilla.com/D3255
2018-08-20 22:28:21 -04:00
Jim Chen
7ead74b685 Bug 1330257 - 5. Add auto-fill accessibility frontend; r=eeejay
Add an auto-fill frontend that listens to events from Gecko. It
populates accessibility nodes for input fields and sends accessibility
events, in order to support auto-fill clients that use accessibility
services to perform auto-fill.

Differential Revision: https://phabricator.services.mozilla.com/D3254
2018-08-20 22:28:20 -04:00
Jim Chen
3d6c8ca540 Bug 1330257 - 4. Add auto-fill backend; r=esawin
Add an auto-fill backend in GeckoViewContent.js that detects fields on
the page and sends information about the fields to Java through events.

Differential Revision: https://phabricator.services.mozilla.com/D3253
2018-08-20 22:28:20 -04:00
Jim Chen
8a8e82e9bd Bug 1330257 - 3. Inline session store event listeners; r=droeh
Make the session store event listeners inline, because it makes the code
more readable, and also because auto-fill requires a pageshow listener
that is always registered, so the existing pageshow listener needs to be
moved elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D3252
2018-08-20 22:28:20 -04:00
Jim Chen
fa4ec16cc2 Bug 1330257 - 2. Separate out session focused state from active state; r=droeh
Make a distinction between a session being active (i.e. being visible)
and it being focused. More than one session may be active at a time, but
only one session is focused at a time. This means the focused session is
always active, but an active session may not be focused.

Also, manage setting of active/focused states in GeckoView itself, so
consumers don't generally have to worry about these states.

Differential Revision: https://phabricator.services.mozilla.com/D3251
2018-08-20 22:28:20 -04:00
Jim Chen
6b8899beef Bug 1330257 - 1. Refactor SessionAccessibility; r=eeejay
Move the AccessibilityNodeProvider implementation under
SessionAccessibility, to reduce the indent of the code.

Also make all methods in SessionAccessibility.Settings static to make
the code easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D3250
2018-08-20 22:28:19 -04:00
Brian Birtles
28e9ca261d Bug 1484148 - Make CSSTransition startTime test timeout when waiting for transition events after a fixed number of frames; r=hiro
See bug 1467344 comment 34.

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

--HG--
extra : rebase_source : 87f97caae807ec9d2a6448a76890aba71d62db18
extra : amend_source : b30b01030988e553e5f79eaff324714a173a42c7
2018-08-20 13:09:41 +09:00
Brian Birtles
1eaec25d44 Bug 1484148 - Add a test for resuming from paused; r=hiro
As bug 1467344 comment 40, it appears we don't currently have any tests that
cover resuming a paused animation.

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

--HG--
extra : rebase_source : 7fef846a6e1aafa41923df2b29122e04fbfc0c0c
2018-08-20 13:09:34 +09:00
Mike Hommey
0d3c801ae9 Bug 1484882 - Disable sccache idle shutdown on Windows builds. r=gps
Bug 1472610 did this for Linux builds. It was overlooked that Windows
builds needed the same.
2018-08-21 09:54:04 +09:00