Commit Graph

584309 Commits

Author SHA1 Message Date
Honza Bambas
8aaa7351b0 Bug 1438935 - Serialize selected LoadInfo properties from HTTPChannelParent to HTTPChannelChild through OnStartRequest and Redirect1Begin, r=asuth
--HG--
extra : rebase_source : 6d93112fbd0bcd9562094a05c70cb02e0c3bb4b9
2018-03-06 08:07:00 +02:00
Arthur Edelstein
9f50791de3 Bug 1433592 - Don't spoof ctrl key modifier for privacy.resistFingerprinting=true r=masayuki
--HG--
extra : rebase_source : 496e8df361f71471f62854546d15e042ca24e703
2018-03-05 23:23:00 +02:00
Dhi Aurrahman
9f0cdd1a1f Bug 1432362 - Add test cases for AccumulateTimeDelta r=chutten
--HG--
extra : rebase_source : c9115bb9f77446268cac1f7240a68e3ceb2b2edb
2018-03-05 23:57:07 +07:00
Philip Chimento
5dd1b01d13 Bug 1430438 - Allow reference counted data in JS_NewArrayBufferWithContents(). r=sfink
--HG--
extra : rebase_source : fbea1f2f9408247b2375c575ca2d8997d43d7200
2018-02-22 21:03:00 -08:00
Boris Zbarsky
826d1e3167 Bug 1443344. Flag a parent sheet load as failed if an import is blocked by content policy. r=bholley
MozReview-Commit-ID: AArgnuHbCYL
2018-03-06 14:45:27 -05:00
Boris Zbarsky
ccac7d9846 Bug 1442126. Make sure to consistently fail a sheet load if any of its imports fail. r=bholley
This fixes a race where we would fail if and only if our last-to-complete import failed.

MozReview-Commit-ID: L33bIxlkj08
2018-03-06 14:45:27 -05:00
Boris Zbarsky
2db3eecee5 Bug 1443393. Stop trying to import light-theme.css from URLs that don't return anything useful. r=jdescottes
MozReview-Commit-ID: BZrZMHWGN3X
2018-03-06 14:45:27 -05:00
Aaron Klotz
764178004b Bug 1443357: Remove CertAnnotator as it is now obsolete; r=mhowell 2018-03-05 19:08:08 -07:00
Nicolas Silva
8cb3e60578 Bug 1442748 - Remove the workaround from 1442608. r=kats 2018-03-06 20:21:13 +01:00
Nicolas Silva
81db82c188 Bug 1442748 - Don't generate frames if we haven't received a display list. r=kats 2018-03-06 20:20:56 +01:00
Dorel Luca
0e437cae41 Merge mozilla-central to mozilla-inbound 2018-03-06 20:46:45 +02:00
Dorel Luca
7c931df4f2 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-06 20:35:53 +02:00
Dorel Luca
f3a72771ea Merge autoland to mozilla-central. a=merge 2018-03-06 20:33:50 +02:00
Stephen A Pohl
54c0a8cff6 Bug 1362303: Avoid crashes when dragging on macOS due to failed allocations of large shmem segments. r=glandium 2018-03-06 13:21:54 -05:00
Csoregi Natalia
3758b8fe3e Backed out 3 changesets (bug 1436469) for Gecko Decision task failure. CLOSED TREE
Backed out changeset a03dea399278 (bug 1436469)
Backed out changeset 370c9dbdd572 (bug 1436369)
Backed out changeset b3b9609544ec (bug 1436369)

--HG--
rename : taskcluster/ci/repo-update-bb/kind.yml => taskcluster/ci/repo-update/kind.yml
2018-03-06 17:36:19 +02:00
ffxbld
efce4ceddf No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-03-06 07:27:02 -08:00
ffxbld
cbcaea058d No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-06 07:26:58 -08:00
ffxbld
7790969bc9 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-06 07:26:54 -08:00
Simon Fraser
8dd0c7d4aa Bug 1436469 Fix task definition r=callek CLOSED TREE
--HG--
extra : amend_source : 16927e88ffeca3b658cc287b71bb7d22e36ea380
2018-03-06 15:20:50 +00:00
Neil Deakin
2f736750c6 Bug 1440146, remove unused menubutton-item binding, r=bgrins 2018-03-06 10:10:34 -05:00
Simon Fraser
a1890ef267 Bug 1436369 Add taskcluster periodic file updates r=callek
Reviewers: Callek

Reviewed By: Callek

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

--HG--
extra : rebase_source : f7f6d69c092903118b6a41aa8b69fe0419910253
2018-03-06 15:10:46 +00:00
Simon Fraser
c9bb5232b8 Bug 1436369 Move buildbot periodic file updates to clearer name r=callek
Summary:
We'll be adding the new periodic file updates task to run in parallel. This patch
moves the existing one to make it clear it's running on buildbot, so we don't get confused
later on.

Reviewers: Callek

Reviewed By: Callek

Bug #: 1436369

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

--HG--
rename : taskcluster/ci/repo-update/kind.yml => taskcluster/ci/repo-update-bb/kind.yml
extra : rebase_source : c1386a05c378589efdd508199d97cb8121308686
2018-03-06 15:09:48 +00:00
Gijs Kruitbosch
6751283238 Bug 1443229 - follow-up: use correct checkbox state, r=jaws
It seems `doCommand` runs through a different codepath than just clicking the checkbox,
and as a result the outcome of the command handler is different that way.

This aligns the automated test closer to what happens when you 'manually'
click the checkbox, and fixes the bug in the command handler.

MozReview-Commit-ID: ACxRUxB35px

--HG--
extra : rebase_source : 7bc6d048d4ff6061aae6289e26f2b298820ed5ec
2018-03-06 15:00:12 +00:00
Tiberius Oros
f3c2b2ecf8 Merge autoland to mozilla-central. a=merge 2018-03-06 11:52:14 +02:00
Kartikaya Gupta
f789357a7c Bug 1436287 - Disable high-frequency intermittent failure until the proper fix is in place. r=botond
MozReview-Commit-ID: KMcKyGrvOCi

--HG--
extra : rebase_source : a1cda66266fb1d82dc306d728e37d7897fcdfb95
2018-03-06 04:33:31 -05:00
Martina Kollarova
d7b1422eba servo: Merge #20144 - Add WebGL function glGetTexParameter (from mkollaro:gettexparameter); r=jdm
<!-- Please describe your changes on the following line: -->
Add WebGL function glGetTexParameter

---
<!-- 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
- [x] These changes fix part of #10209

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cb9a7a270dca8cbaa1a989633b77ba854042c49
2018-03-06 09:48:56 -05:00
Kartikaya Gupta
98952dab6e Bug 1442627 - Stop exporting a few other apz/src headers. r=botond
These were mostly exported because APZCTreeManager included them and now
they don't need to be exported any more.

MozReview-Commit-ID: 8W3vKOvzYW3

--HG--
extra : rebase_source : 8da95a203692ab3a88d37e66071b914682b44f14
2018-03-06 10:25:39 -05:00
Kartikaya Gupta
45d31fa895 Bug 1442627 - Stop exporting APZCTreeManager.h in mozilla/layers/. r=botond
MozReview-Commit-ID: GC5fSWOYtF5

--HG--
extra : rebase_source : e2dfe679595bf9208e082699a99375cd509b66e3
2018-03-06 10:25:39 -05:00
Kartikaya Gupta
b18710abb6 Bug 1442627 - Move static helpers from APZCTreeManager to APZUtils. r=botond
This also includes unified build fixes that were needed as a result of
the shuffling around.

MozReview-Commit-ID: 1AGG3DHnN1m

--HG--
extra : rebase_source : 7399cea6dff2bd91ab305dee22d93b32382cc0be
2018-03-06 10:25:39 -05:00
Kartikaya Gupta
d437c0bee5 Bug 1442627 - Reduce exposure of the APZCTreeManager. r=botond
Callers should be using one of the more specific subinterfaces like
IAPZCTreeManager (for controller-API methods) or APZSampler (for
sampler-API methods). There's also a bunch of android-specific
dynamic toolbar code that uses this function - I don't want to
deal with that right now, so instead of removing it entirely we can just
make it Android-only.

MozReview-Commit-ID: I8DYWLYoFgP

--HG--
extra : rebase_source : 75e05825194f9c6843506bb5d82e1a0c6e2b08bb
2018-03-06 10:25:38 -05:00
Kartikaya Gupta
6107f5de3d Bug 1442627 - Add new APZSampler APIs to set the test scroll offset and zoom. r=botond
MozReview-Commit-ID: DrH1D42jfJx

--HG--
extra : rebase_source : 22c2546a8188c871bf106d5883452a1be32c482e
2018-03-06 10:25:37 -05:00
Kartikaya Gupta
752091f7a7 Bug 1442627 - Switch some call sites in WebRenderBridgeParent to use APZSampler. r=botond
MozReview-Commit-ID: AqtcAyTkcEK

--HG--
extra : rebase_source : dd00ef41c0dc2ca3f8179a217019d964735af320
2018-03-06 10:25:37 -05:00
Kartikaya Gupta
551f604b60 Bug 1442627 - Don't use GetAPZCTreeManager in CrossProcessCompositorBridgeParent. r=botond
Although CrossProcessCompositorBridgeParent still needs to create a
dummy APZCTreeManager of its own in place, we can at least stop it from
grabbing the "real" APZCTreeManager from CompositorBridgeParent, which
allows access to methods that might not be properly guarded with respect
to thread safety.

MozReview-Commit-ID: Btvez3OkFPs

--HG--
extra : rebase_source : a4bec1769ff2fb899bb2e65f99f8e715f9a94c44
2018-03-06 10:25:36 -05:00
Gurzau Raul
185d1fcf42 Backed out 7 changesets (bug 1442255) for failing c1 tests on mochitest/test_browserElement_inproc_PurgeHistory.html
Backed out changeset 208c4c42f641 (bug 1442255)
Backed out changeset 6a794e14fceb (bug 1442255)
Backed out changeset 62d1c57c37b4 (bug 1442255)
Backed out changeset 5d0f72867f53 (bug 1442255)
Backed out changeset c3305648ad30 (bug 1442255)
Backed out changeset 08f906f3a0c8 (bug 1442255)
Backed out changeset d7a43e59a1b4 (bug 1442255)
2018-03-06 17:08:57 +02:00
Marco Bonardo
1418f1b65c Bug 1440644 - Fix a typo preventing the bookmark dialog storing a keyword. r=standard8
MozReview-Commit-ID: KULAKtzipxY

--HG--
extra : rebase_source : 327f1c5602613c1b194e294d91ace01fd97ed763
2018-03-06 11:39:30 +01:00
Mark Banner
0722fe3ee3 Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
MozReview-Commit-ID: IVMeZHGdVBk

--HG--
extra : rebase_source : 0705e96256baf6dc82811297058aa1d820b2f119
2018-03-06 12:01:59 +00:00
Tiberius Oros
9a5db673a8 Backed out changeset 32c3c20fd489 (bug 1443419) for shell failure on shell failure on /firefox-snap/runme.sh:53 on CLOSED TREE
--HG--
extra : amend_source : cbc8b1f406e34c98ebb5e1ba570859a9b2d90988
2018-03-06 15:25:37 +02:00
Cosmin Sabou
1611e7fc4f Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-06 06:31:37 +02:00
Cosmin Sabou
c17d867e25 Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
2018-03-06 06:27:48 +02:00
Cosmin Sabou
e3fc61986f Backed out 3 changesets (bug 1387976) because of merge conflicts on AsyncTabSwitcher.jsm.
Backed out changeset d91b6a40b32a (bug 1387976)
Backed out changeset b708ab55bc72 (bug 1387976)
Backed out changeset 7958b0ccbe0b (bug 1387976)
2018-03-06 06:25:54 +02:00
Kannan Vijayan
627eb6ae9a Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
Jared Wein
2961eba0d6 Bug 1436423 - Reduce the schedule pressure limit closer to the values that users are reporting. r=mconley
Note that this value, 300, is still far above the 95% threshold that telemetry is reporting (59 milliseconds) so this won't be noticeable to most users. The > 1% of users who are having this issue will benefit greatly from this change.

MozReview-Commit-ID: Bd51gjc5z83

--HG--
extra : rebase_source : 4a9e96eb555e8021012a3a06cb76e03413a8da20
2018-03-05 14:09:39 -05:00
Jared Wein
ef2d1dbaa6 Bug 1443229 - Add a 'command' event listener for the urlbar search suggestions checkbox. r=Gijs
This was inadvertently removed when the preference attribute was removed to clean up a race condition.

MozReview-Commit-ID: 8yNPMwkGS3u

--HG--
extra : rebase_source : f6381588a47bc0bbd9c2b087ded55a85d131ec03
2018-03-05 16:17:25 -05:00
Botond Ballo
084c2d5c2d Bug 1443231 - Another follow-up to fix a debug assertion in the gtest. r=botond
MozReview-Commit-ID: 4p1zurPLCRB

--HG--
extra : rebase_source : 078b5aa8d558bc2c8bdd13ebe142706287c8123b
2018-03-05 17:00:46 -05:00
Jim Blandy
b1a56f5e14 Bug 1438121: Part 13: Make LiveSavedFrameCache::Entry's members const. r=fitzgen
MozReview-Commit-ID: GbJhE9nylaa

--HG--
extra : rebase_source : 07d6f2480dec2e384b4b28c3ab9e5f23cc718fe5
extra : amend_source : 2e22e23b0294d8e011a2fa162b1ed7a7ac612dc3
2018-03-02 23:56:26 -08:00
Olli Pettay
51b6aa1b21 Bug 1066965, make contentEditable and spellchecking to work in ShadowDOM, r=mrbkap 2018-03-06 09:34:40 +09:00
Christian Holler
022546f573 Bug 1442716 - [caps] Handle empty origin gracefully in FUZZING. r=baku 2018-03-02 19:48:49 +01:00
Tom Ritter
3c7ad292ee Bug 1443252 - Make nsGlobalWindowInner/Outer final to reduce build times. r=mystor
In Bug 1332680 we got a list of classes and methods we could mark 'final',
as suggested by an LTO build of gcc. One of the items on that list was
nsGlobalWindowInner and nsGlobalWindowOuter, with quite a lot of virtual
calls:

> dom/base/nsGlobalWindowInner.h:206:7: warning: Declaring type 'struct nsGlobalWindowInner' final would enable devirtualization of 483 calls
> dom/base/nsGlobalWindowOuter.h:164:7: warning: Declaring type 'struct nsGlobalWindowOuter' final would enable devirtualization of 143 calls

After trying it out, we saw a modest improvement to a single Talos tes
(displaylist mutate got 4-8.5% better). That's not the interesting
thing though.

For Linux and OSX (and some flavors of Android) build times were reduced
by half across the board. They're a bit variable of course, but 30-70%
improvements are shown by Talos. Windows and other flavors of Android
show 10-15% improvements.

MozReview-Commit-ID: GlEGBt2JOTt
2018-03-02 09:30:03 -06:00
Masayuki Nakano
9d71742b36 Bug 662591 - HTMLEditor should set caret to start of first editable text node or before first editable inline node r=m_kato
Currently, HTMLEditor doesn't initialize caret position when it gets focus by
itself in most cases.  Only when it's in designMode, it may move caret to the
first visible (not checking CSS actually).

In most cases, caret position is adjusted when EditorBase::InitializeSelection()
calls Selection::SetAncestorLimiter().  If selected range is outside of
new limiter, it moves caret to start of the new limiter.  However, this is
really different behavior from the other browsers.  The other browsers try
to move caret to the first editable text node or before the first editable
content such as <img>, <input>, etc.

This difference causes a serious incompatible issue with Draft.js.  It doesn't
initialize caret position when it gets focus but it assumes that caret is
always set to before <br> element if there is no other content.

So, let's try to behave as what other browsers do as far as possible.

This patch makes editor behave as:
* if selection is already in the editing host except start of the editing host,
  does nothing.
* if there is non-editable element before any editable node, move caret to
  start of the editing host.
* if there is editable text node or element node which cannot have a text node,
  move its start or before it.
* if there is no editable nodes which can contain text nodes, move caret to
  start of the editing host.

Note that before applying this patch, in designMode, BeginningOfDocument() used
document element instead of <body> element.  Therefore, it may set odd position
if <head> element has some text nodes with <script> or <style>.  However,
this doesn't make sense and for making more consistent behavior between
designMode and contenteditable, this patch makes it use editing host (it's
<body> element if it's in designMode).

MozReview-Commit-ID: 5neYoTMq6Cc

--HG--
extra : rebase_source : c4d06b6864a221d7cd2833a007d73f7d67821e95
2018-03-02 14:20:25 +09:00
Cosmin Sabou
385d483eb3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-06 06:30:21 +02:00