Commit Graph

588062 Commits

Author SHA1 Message Date
Robert Longson
f627214d56 Bug 1448774 - part 1 r=dholbert 2018-03-29 03:12:05 +01:00
Nicholas Nethercote
380782f6b6 Bug 1445113 - Disallow duplicate static atoms. r=froydnj
This will allow us to work with direct pointers to static atoms that are
initialized at compile-time, rather than pointers to pointers to static atoms
that are initialized at runtime.

MozReview-Commit-ID: K04pEicuqu3

--HG--
extra : rebase_source : c5d895b34567c621f4591769390fc95a4c6ff405
2018-03-29 05:54:10 +11:00
Makoto Kato
8c5d5f7c30 Bug 1449147 - Clean up more nsIDOMNode usages in editor. r=masayuki
To reduce QI, I would like to replace nsIDOMNode with nsINode.  And some
parameters in *DataTransder.cpp's methods is unused (it uses as nullptr),
so we should remove these parameters.

Also nsIDOMNodeList is unused now, so we should remove this including.

MozReview-Commit-ID: 1QTIkxDazjJ

--HG--
extra : rebase_source : 3961e897fcaa96975facc822821f1e223cab358d
2018-03-27 20:19:35 +09:00
Emilio Cobos Álvarez
9cd4eecb3c Bug 1449010: Respect ::selection background styles for image overlays. r=mattwoodrow
I don't have a strong preference about blending with white vs. just doing alpha
0.5, so I kept doing what we were doing, since Blink and WebKit also apply the
blending to the text background, and I'm not sure that's particularly desirable.

MozReview-Commit-ID: AwYtAgdlcxj
2018-03-29 02:53:02 +02:00
Emilio Cobos Álvarez
bf0a6ad75c Bug 1449010: Some minor cleanup in selection-related code. r=matwoodrow
MozReview-Commit-ID: AAhHZmOBc3Z
2018-03-29 02:53:01 +02:00
Kris Maglione
c6b9acc677 Bug 1449072: Follow-up: Really skip sourceURI check on Windows for frequent timing issues. r=bustage
MozReview-Commit-ID: GAq3g4xk5kI

--HG--
extra : rebase_source : 1504c5fb1873123aa0a91273b2053b2e86ddadfe
2018-03-28 17:42:51 -07:00
Kyle Machulis
c86096d041 Bug 1403185 - Fix button value index lookup oob for Windows Gamepads; r=ted
We can get button indexes in HID usage reports that do not actually
correspond to a button we store, meaning we can overstep bounds of the
button array. Check validity before accessing array.

MozReview-Commit-ID: AAQJLEgy2Ua
2018-03-28 15:54:53 -07:00
Kris Maglione
c3b3b2afe3 Bug 1449072: Follow-up: Skip sourceURI check on Windows for frequent timing issues. r=bustage
MozReview-Commit-ID: A0XAO4UqA4

--HG--
extra : rebase_source : f755e66c37a3bd1c045a992102b59d37dacfbce8
2018-03-28 15:28:33 -07:00
Nicholas Nethercote
085f110fa2 Bug 1449064 - Convert html.* prefs to StaticPrefs. r=hsivonen
MozReview-Commit-ID: 7sBOuzBJ1Pa

--HG--
extra : rebase_source : 5f2f64e889cae4be66e9c408b07385f68c972e9c
2018-03-27 11:59:48 +11:00
Boris Zbarsky
c43dfe1ad8 Bug 1449404 part 5. Move the cycle collected refcount on content nodes up to nsIContent. r=smaug 2018-03-28 18:07:40 -04:00
Boris Zbarsky
0aa422913e Bug 1449404 part 4. Get rid of a few virtual nsIContent methods. r=mccr8
The HasTextForTranslation implementation was just moved, with the nodetype
check up front dropped because that's enforced statically now.
2018-03-28 18:01:47 -04:00
Boris Zbarsky
4370006c40 Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8 2018-03-28 18:01:47 -04:00
Boris Zbarsky
cd4761ffdb Bug 1449404 part 2. Get rid of nsIContent::AppendText. r=mccr8 2018-03-28 18:01:46 -04:00
Boris Zbarsky
693169e324 Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8 2018-03-28 18:01:46 -04:00
Boris Zbarsky
70b26cdb6c Bug 1449393. Devirtualize some nsINode bits. r=mccr8 2018-03-28 18:01:46 -04:00
Boris Zbarsky
75860ea92d Bug 1445005. Remove the eventMode bits from frameloader. r=qdot 2018-03-28 18:01:46 -04:00
Boris Zbarsky
9bdcd1eca8 Bug 1444872. Remove support for the 'type' parameter to document.open. r=qdot 2018-03-28 18:01:46 -04:00
Gurzau Raul
8d268c6ce7 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Gurzau Raul
d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
Gurzau Raul
c6706798ae Merge autoland to mozilla-central. a=merge 2018-03-29 00:53:43 +03:00
ffxbld
3a0bbe90a6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-03-28 13:43:42 -07:00
ffxbld
cb9393f7c7 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-03-28 13:43:38 -07:00
Csoregi Natalia
3854319e77 Backed out changeset de19108477c7 (bug 1447193) for not fixing the issue- requested. CLOSED TREE 2018-03-28 21:16:32 +03:00
Andrew Osmond
9fdad4e863 Bug 1433351 - Add nsBaseHashtable::EntryPtr::OrRemove method to abort nsBaseHashtable::LookupForAdd on miss. r=froydnj
In SourceSurfaceImage::GetTextureClient, we use LookupForAdd. This is
because we typically will create a new TextureClient if there isn't
already one created. This creation can fail because the size is too big,
or we don't have the memory available for it. Unfortunately LookupForAdd
is an infallible operation; it is expected we will always add something
to the hashtable if we don't find an entry. This patch adds an OrRemove
method to cover the corner case where we are unable to complete the
insertion.
2018-03-28 12:58:49 -04:00
Olli Pettay
be34eacad1 Bug 1441277 - nsINode needs better documentation on GetComposedDoc vs GetUncomposedDoc, r=annevk 2018-03-28 19:51:14 +03:00
David Major
633025855c Bug 1439988: Use a full progress meter to avoid flakiness from animation. r=enndeakin 2018-03-28 12:32:10 -04:00
Cosmin Sabou
7e663b9fa5 Backed out changeset d345b546edce (bug 1440789) for Android nightly build bustages. a=backout 2018-03-28 16:59:28 +03:00
Jonathan Kew
54769131c0 Bug 1449157 - Guard against mContent being null in nsFrame::HandlePress. r=dholbert 2018-03-28 14:42:20 +01:00
Tom Prince
1f286055e2 Bug 1447460: Teach mach taskgraph cron to handle configuration in sub-repositories; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D815

--HG--
extra : rebase_source : f0153c78bf4ffe0dbf520e0fb4d0683c82173f8b
2018-03-28 11:34:20 -07:00
Cosmin Sabou
b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
ui.manish
ca709a63db Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Cosmin Sabou
2d914e1cb2 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : amend_source : c56b02fe575cf7fbc84a8bd63cc53d80a793958f
2018-03-28 18:56:37 +03:00
Jon Coppeard
c5619778b2 Bug 1449541 - Don't hold script data lock while calcuating hash r=jandem 2018-03-28 16:41:16 +01:00
Jon Coppeard
b8bf9f960f Bug 1449153 - Handle errored module in GetModuleNamespace() r=anba 2018-03-28 16:40:17 +01:00
Cosmin Sabou
619e0c5b90 Backed out 3 changesets (bug 1449321, bug 1449566, bug 1449565) as per developer request.
Backed out changeset c31de7e26809 (bug 1449565)
Backed out changeset 72f9188800af (bug 1449566)
Backed out changeset 763277b299e4 (bug 1449321)

--HG--
extra : rebase_source : 212b357a3079dff30845a5f82e47b94e2d7f93cd
2018-03-28 18:10:11 +03:00
Bob Owen
cfaaf3c336 Bug 1449480: Don't crash in opt builds when scoped_handle.cc CloseHandleWrapper fails. r=jimm
I'm not adding a patch to security/sandbox/chromium-shim/patches for this,
because we need to get this fixed ASAP, certainly before we take another update.
2018-03-28 16:07:15 +01:00
Cosmin Sabou
94d2d2f33f Backed out changeset ca46aca41fec (bug 1449072) for xpcshell failures on xpcshell/test_install.js. CLOSED TREE 2018-03-28 09:15:52 +03:00
Cosmin Sabou
f75ec2fc9c Backed out changeset 3a8afc1650db (bug 1311145) for mochitest browser chrome failures on browser_all_files_referenced.js. 2018-03-28 08:33:41 +03:00
Ryan Hunt
2be42a45f6 Bug 1448485 - Remove assert in APZCallbackHelper and add comment about case it was triggered by. r=kats
MozReview-Commit-ID: IbXNISatv3Q

--HG--
extra : rebase_source : d88637454e58be5c18a1fa1dc0588a04eddc274c
2018-03-27 16:16:26 -05:00
Tom Prince
74bcf37b60 Bug 1447460: Mark some obsolete mach taskgraph cron parameters as ignored; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D814

--HG--
extra : rebase_source : c50bd800ca9cd09bf0cd1ec9f7eb19f20d1b0866
2018-03-27 10:30:02 -07:00
Tom Prince
a96e438dc0 Bug 1447460: Add a slightly more descriptve owner for cron tasks; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D813

--HG--
extra : rebase_source : 30ce1b360bd43e1d48b72885a63eefb204464929
2018-03-27 10:32:13 -07:00
Ryan Hunt
c371c4f33a Check if FilterNodeCapture was able to successfully validate (bug 1447428, r=bas)
--HG--
extra : rebase_source : e236b64a6733cddfb43caf83373dc8e874bcfb42
2018-03-26 12:48:57 -05:00
Henri Sivonen
828fac8d2c Bug 1448588 - Assume contiguous XPCOM strings in txDouble. r=peterv.
MozReview-Commit-ID: 9gDx13PNFWr

--HG--
extra : rebase_source : aeee559d77cab127a4f52a6e83455f6f41454f72
2018-03-24 21:24:25 +02:00
Xidorn Quan
65e2284ca0 Bug 1449103 part 3 - Merge ServoGroupRuleRules into GroupRule. r=emilio
MozReview-Commit-ID: 83rI7gydEUd

--HG--
extra : rebase_source : 79dcfe8f2fb3839130af1ed5833c6b8c57491e04
2018-03-28 12:25:36 +11:00
Xidorn Quan
637c9b2a86 Bug 1449103 part 2 - Make CSSKeyframesRule inherit from Rule directly. r=emilio
The spec doesn't say CSSKeyframesRule needs to inherit CSSGroupingRule.
It inherited GroupRule because Gecko's keyframes rule implementation
relies on that to manage its children.

MozReview-Commit-ID: CnVP2tozwQU

--HG--
extra : rebase_source : 63c61d7b7d003ff82bd73e183516f6076a2dafb6
2018-03-28 12:23:58 +11:00
Xidorn Quan
70a598f41e Bug 1449103 part 1 - Make Rule::mParentRule not necessarily a GroupRule. r=emilio
For part 2, where CSSKeyframesRule will inherit directly from Rule while
it is parent rule for its CSSKeyframeRules.

It seems there is nothing relying on mParentRule being a GroupRule so we
can just change it.

MozReview-Commit-ID: Cyte6h3Q2LB

--HG--
extra : rebase_source : 01ac2ab201a1438aa73eadc5cce0ea67e164ecce
2018-03-28 12:20:41 +11:00
Yusuf Simonson
41933109ad servo: Merge #20450 - Properly rethrow any exceptions from parsing JSON in Body mixin's Json() (from ysimonson:fix-13464); r=jdm
This fixes #13464 by rethrowing exceptions from parsing JSON.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #__ (github issue number if applicable).
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 25dcd0ecfd4cb7a844f00696730cb0d3ab4b198c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6d221fe0611ecdbea8ff6c2f32d8d7621ddf27b7
2018-03-27 22:44:32 -04:00
Anthony Weston
07097ddab9 servo: Merge #20430 - Pass new method in CollectServoSizes to get size of ObjectPrivateVisitor (from aeweston98:aew-issue7084); r=jdm
<!-- Please describe your changes on the following line: -->
These changes are the servo changes to allow the measurement of DOM objects with the ObjectPrivateVisitor API. Two new functions have been added MemoryReporter and get_size, which are passed as function pointers to two updated mozjs functions. Currently these changes rely on a branch version of mozjs, which has an [open pull request](https://github.com/servo/rust-mozjs/pull/409).

---
<!-- 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 #7084 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] 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: 339146ae1566fc35e47ccc4fba1471a9123d039d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 61df47854e0fd7725b25202c298646f52f5b4b4b
2018-03-27 21:21:56 -04:00
Emilio Cobos Álvarez
32f0cfbe75 No bug - remove duplicated condition likely due to merge mess. r=me
MozReview-Commit-ID: AO7nmkUIs82
2018-03-28 03:17:59 +02:00
Jonathan Watt
a86c2a4a02 Bug 1449565 - Remove the aGeckoParentRule parameter from css::Loader's InsertChildSheet and LoadChildSheet. r=emilio 2018-03-23 17:02:35 +00:00