Commit Graph

582580 Commits

Author SHA1 Message Date
Marco Bonardo
e3b58c0292 Bug 656936 - Remove Bookmarks::GetRemoveFolderTransaction. r=standard8
MozReview-Commit-ID: DLyjzC7ODyB

--HG--
extra : rebase_source : 4d71ab1909ca6e1065e31dc1824de3b119e05e7c
2018-02-23 17:27:43 +01:00
Mike Conley
2b1d67d232 Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : cae6a58d3992b2e587b1fff90954f36c2f81e2ee
2018-02-11 20:15:11 -05:00
Mike Conley
46e89021f1 Bug 1434376 - Add basic tests for window.promiseDocumentFlushed. r=Paolo
MozReview-Commit-ID: KmyqaupJRtw

--HG--
extra : rebase_source : ca6a30281e1587124ad55e5a3ccbc0d004ef5cb1
2018-02-11 20:13:53 -05:00
Mike Conley
767455c35f Bug 1434376 - Introduce ChromeOnly window.promiseDocumentFlushed to detect when refresh driver ticks have completed. r=bz
This is particularly useful for knowing when it's safe to query for style and
layout information for a window without causing a synchronous style or layout
flush.

Note that promiseDocumentFlushed was chosen over promiseDidRefresh or promiseRefreshed
to avoid potential confusion with the actual network-level refresh of browsers or
documents.

MozReview-Commit-ID: Am3G9yvSgdN

--HG--
extra : rebase_source : 5e502d5d077dd764ca1a43e7c3f06855858fe735
2018-02-11 20:14:49 -05:00
Markus Stange
e4fe809278 Bug 1170312 - Don't let the desktop background influence the vibrancy effect's backdrop for context menus. r=spohl
MozReview-Commit-ID: FKLVouZg8ac

--HG--
extra : rebase_source : 6b338186c4a3c6adf02d4311d8b172d0fb31f646
2018-02-22 23:35:33 -05:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Josh Matthews
7f69815963 servo: Merge #20112 - Include non-upstream metadata changes in WPT sync (from servo:jdm-patch-11); r=asajeffrey
The original sync work excluded changes to metadata files under tests/wpt/mozilla under the assumption that any change in test results indicated an existing intermittent issue. This is incorrect, because these tests rely on shared infrastructure with upstream, so the results can be influenced by syncing.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8329a45163a2c5afc517a7a1f86888213bb90532

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 690913948f2be0cd3d03c958cb63931e71b0864e
2018-02-23 13:55:06 -05:00
Emilio Cobos Álvarez
b26f7c3694 Bug 1440258: Flag doc level anonymous content instead of guessing. r=bholley
Poking at the frame tree has problems: If we poke in negative (using
eSkipNativeAnonymousContent), as we were doing, we mess up the case where we're
actually _not_ doc-level, and _not_ ::before or ::after. This can't happen for
content documents, but can happen for chrome (since nsDocElementBoxFrame
implements nsIAnonymousContentCreator).

If we poke in positive, as we used to, you get that right, but mess up the
root scrollbar case.

Instead, use a node property to mark doc level anon content. This is a case rare
enough that it seems worth to not steal a node bit.

To recap the failure:

 * The initial value of -moz-control-character-visiblity is different on beta
   and nightly.

 * XUL has a global rule setting -moz-control-character-visibility on the root,
   to a value so that it's the initial one on nightly, but the non-initial one
   on beta.

 * Changes to this property cause a reframe.

 * Reframes of a nsIAnonymousContentCreator anon content reframe the container.

 * We were failing to inherit correctly for the nsIAnonymousContentCreator
   content for the root XUL element on the initial styling, inheriting from the
   default computed values instead, since we failed to reach the root element's
   primary frame from GetFlattenedTreeParentForDocumentElementNAC ->
   AppendDocumentLevelNativeAnonymousContentTo, since the primary frame is set
   _after_ processing children.

   This seems somewhat risky to change, and inconsistent with any other stuff
   the frame constructor does, see bug 973390.

 * Given that, the next restyle of the root element, in this case caused due to
   the customizable UI, we _found_ the actual correct parent, recomputed the
   style, saw that -moz-control-character-visiblity had changed, and reframed.
   But we were reframing the whole window, not just the NAC, because of the
   fourth bullet point. Reframing the whole window caused us to lose the popup
   state (that's bug 1440506).

   Worse than that is the fact that given we reframe and reconstruct the
   anonymous countent again, we go back to the initial bogus state, just
   awaiting for the next restyle to reframe the whole window.

I wish there was a bullet-proof way to test it that isn't just counting reframes
and relying on which properties reframe or not, but due to the nature of
nsIAnonymousContentCreator's NAC, it's not possible in any easy way I can think
of.

MozReview-Commit-ID: IPYB5trsN8R
2018-02-23 20:31:52 +01:00
Matt Howell
022b3fe431 Bug 1325121 - Add some installer documentation to the tree. r=agashlin
This is not exhaustive technical documentation for every aspect of the installer
code, but it's better than what we had, and it does contain the ping
documentation that this bug was originally asking for.

MozReview-Commit-ID: 5h7UwnAk4Iq

--HG--
extra : rebase_source : a3a8a8bdee9e76ee039c342a07a121170872708c
2018-02-14 10:01:38 -08:00
Andrew Halberstadt
af02603e3d Bug 1440405 - Fix faulty assumption that only one log handler can be installed in |mach test/mochitest|, r=froydnj
MozReview-Commit-ID: AzKLAgW5agx

--HG--
extra : rebase_source : 34cebcc49435a3c5875b4805d00aeff2c7530b9c
2018-02-23 09:40:06 -05:00
Nick Alexander
a6bf0623be Bug 1440430: Disable --without-gradle configure option. r=chmanchester
We don't remove the configure option entirely for two reasons:

1) --with-gradle is still used in automation to specify a particular
Gradle binary, which is functionality we want to keep;

2) developers might have --with-gradle specified, and we can save them
having to remove it explicitly.  There's a downside to this, however:
stale configure options can hang around indefintely.  We can evolve
the configure option in the future.

MozReview-Commit-ID: D4sSclJ12j8

--HG--
extra : rebase_source : 3e5ebbf98347b5f2abfb67d2c50004aadc8bd145
2018-02-22 11:38:27 -08:00
Bastien Orivel
cb3373eeb9 servo: Merge #20067 - Update clipboard related dependencies to use xcb 0.8 (from Eijebong:clipboard); r=nox
See https://github.com/rtbo/rust-xcb/pull/55

Source-Repo: https://github.com/servo/servo
Source-Revision: 64a4dfbc71ca5e803df206eccc2696c2eae3b906

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41c72d12a20199f17187ea283dc94253f0df8596
2018-02-23 13:01:20 -05:00
James Teh
b51649c9a4 Bug 1440564: mscom::StructToStream: Free the buffer when destroying the instance. r=aklotz
You'd think that MesHandleFree would free the buffer, since it was created by RPC, but it doesn't.
Therefore, we must free it ourselves using midl_user_free.

MozReview-Commit-ID: 9KzWTngFEEq

--HG--
extra : rebase_source : 6bee3903f619ec1cb1569ebf1df2ddef9da6b901
2018-02-23 20:00:30 +10:00
Marco Zehe
63c70d89f6 Bug 1439899 - Make the button for the active developer tool distinguishable for accessibility, r=bgrins
To accomplish this, the added aria-pressed attribute turns the buttons into toggle buttons, and the one that is visually selected, gets the "true" attribute value, others are "false". That way, the screen reader and other assistive technologies will indicate that this is the selected or pressed button.

MozReview-Commit-ID: L2lcw2wOyYw

--HG--
extra : rebase_source : 1c0ad241319f50c34c120ce05b85e795e9a5b080
2018-02-23 16:04:48 +01:00
Brendan Dahl
a0a4d49d5a Bug 1440532 - Use xul for the default namespace of styleeditor.xul. r=bgrins
This will make it easier to include xul chunks with the preprocessor.

MozReview-Commit-ID: F3aF6CqqcSK

--HG--
extra : rebase_source : ccd0cb99ac9f1114d28cd749ec439c907d13836f
2018-02-22 17:57:41 -08:00
Coroiu Cristina
30b07a253a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-02-23 20:05:10 +02:00
Coroiu Cristina
88e89261ea Merge inbound to mozilla-central a=merge 2018-02-23 19:44:19 +02:00
shindli
830ec14b77 Backed out changeset 8cf686bb2f72 (bug 1435988) for failing revtest in moz-range-progress-1.html
--HG--
extra : rebase_source : 7f94ef8feca57fb1f73ff0039df286b14f162de7
2018-02-23 19:41:28 +02:00
Andreas Pehrson
ce1efe51da Bug 1440347 - Lock while modifying mAllocations. r=padenot
--HG--
extra : rebase_source : 2f5c6e13e8f930b82ff26190485bb8eed69592e4
extra : histedit_source : 0b3cfe11cdd16ee5bf42eec68196de9531e2c36b
2018-02-23 10:20:01 +01:00
Zibi Braniecki
0270c3b8f4 Bug 1439452 - Use width instead of min-width for Find in Preferences box. r=flod
MozReview-Commit-ID: qCLLsXA9bG

--HG--
extra : rebase_source : 85c8b9275c6f151a6420cb7a3a827021f4229914
2018-02-22 22:57:36 -08:00
Mark Banner
3e6b2c9400 Bug 1440711 - Enable no-unused-vars for global scope on jsm files in accessible/. r=surkov
MozReview-Commit-ID: DMsHpliLTOi

--HG--
extra : rebase_source : 528581974ca2e37e139be1a7ac354ce80eef9464
2018-02-23 16:50:43 +00:00
Marco Bonardo
4bc6104e67 Bug 1432427 - Remove synchronous Bookmarks::insertSeparator. r=standard8
MozReview-Commit-ID: 2rZ1Vr1kwhi

--HG--
extra : rebase_source : 63e949717ddfec9c4f685a3d24aee3303877391b
2018-02-23 15:50:28 +01:00
Josh Matthews
28fcea8711 servo: Merge #20107 - Clean more build artificats (from servo:jdm-patch-10); r=emilio
This is the latest attempt in the war against disk space usage on the build machines.

Source-Repo: https://github.com/servo/servo
Source-Revision: f74451f03923784598b50e044105105768a411ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bb7c0ad2df49ee61f43a9fb25725baa6a510dafe
2018-02-23 10:09:49 -05:00
Coroiu Cristina
8dc0590c80 Backed out changeset d200d50fb66f (bug 1436096) for failing media3 at dom/media/webaudio/test/test_pannerNodeAtZeroDistance.html 2018-02-23 18:09:45 +02:00
Dragan Mladjenovic
ded2e9e8e2 Bug 1440369 : [MIPS] Port changes from Bug 903519; r=sfink 2018-02-20 11:57:46 +01:00
Emanuel Hoogeveen
e54b120cc7 Bug 1440417: Determine JS_64BIT at configure time. r=froydnj 2018-02-22 10:40:00 +02:00
Tom Ritter
ba2d560b34 Bug 1430841 Re-enable the Reduce Timer Precision pref for CSS Animations tests r=birtles
Currently CSS Animations are exempted from Reduce Timer Precision, so this isn't needed.
Additionally, when we test by overriding that restriction, these tests aren't run, which
leads to confusion.

MozReview-Commit-ID: Gv6T3oGO475

--HG--
extra : rebase_source : 6bd70341fe5d047b685cae0db2965bf86116b4a0
2018-02-16 15:45:33 -06:00
Gijs Kruitbosch
3350f8605a Bug 1350349 - collect data for feed reader usage to evaluate its future, r=mak,data-review=liuche
This patch adds data collection for 6 different data points:
- number of live bookmarks the user has
- number of times the user subscribes to a feed
- number of times we attempt to open feed preview
- number of times the user opens a feed popup in the UI
- number of times the user opens an entry from a feed popup in the UI.

MozReview-Commit-ID: DG9JDFXCjai

--HG--
rename : browser/components/feeds/test/valid-feed.xml => browser/components/feeds/test/browser/valid-feed.xml
extra : rebase_source : 9f3df4ca19eec0750092deb9066634a388ec59f7
2018-02-16 19:18:00 +00:00
Benjamin Bouvier
f697e37c2a Bug 1439898: Consider unreachable state before br_table in wasmBinaryToText; r=bustage on a CLOSED TREE
MozReview-Commit-ID: 21gy30Zn1Oj

--HG--
extra : rebase_source : 56a3eb3c48462eb84e165c3d85a9fec744b693fd
2018-02-23 12:11:17 +01:00
Ben Hearsum
fb77983863 bug 1398799: switch to in-tree mozharness update verify config creator. r=aki 2018-02-23 06:03:27 -05:00
Ben Hearsum
0d4b578055 bug 1398799: mozharness script to create update verify configs without relying on patcher configs. r=nthomas 2018-02-23 06:00:02 -05:00
Benjamin Bouvier
955ff5438d Bug 1440519: Check for SIMD existence on the global object in test; r=jandem
MozReview-Commit-ID: 2ViBTsHqdMU

--HG--
extra : rebase_source : 0ee0954f37dbfa04e28c5974455501413c13e4b3
2018-02-23 11:32:18 +01:00
Benjamin Bouvier
e33e3eaf64 Bug 1439898: wasm: Don't render more unreachable items; r=lth
MozReview-Commit-ID: EQx4pzpuNhn

--HG--
extra : rebase_source : ab8ebfb5203faea19e079bd83d1541aaf79c219c
2018-02-22 20:01:34 +01:00
Benjamin Bouvier
daf1b034f1 Bug 1439898: Special-case RenderResizableMemory for memories of UINT32_MAX bytes; r=lth
MozReview-Commit-ID: FtldjV8SP2l

--HG--
extra : rebase_source : 4d39da492be3ca053a5262d46e22395e7c0d8c5b
2018-02-22 17:14:09 +01:00
shindli
b4de1c12ce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-23 11:46:58 +02:00
Jonathan Kew
2c5f2dc22f Bug 1439937 - For font-matching reftests that test localized names, force the font-name loader to run eagerly so that we aren't dependent on how long the browser has been running. r=jrmuizel 2018-02-23 09:43:32 +00:00
shindli
f042b243a8 Merge inbound to mozilla-central. a=merge 2018-02-23 11:40:37 +02:00
shindli
d611a1c062 Merge autoland to mozilla-central. a=merge 2018-02-23 11:39:45 +02:00
sotaro
49f4a46acf Bug 1438759 - Update debug flags in RendererOGL::Update() r=nical 2018-02-23 15:22:23 +09:00
Ciure Andrei
d068047dfa Merge autoland to mozilla-central. a=merge 2018-02-23 02:02:51 +02:00
Ciure Andrei
852a0c8890 Merge inbound to mozilla-central. a=merge 2018-02-22 23:55:25 +02:00
Ciure Andrei
68ba2c72a2 Merge autoland to mozilla-central. a=merge 2018-02-22 23:49:43 +02:00
ffxbld
0b6ee32aee No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-02-22 11:50:18 -08:00
ffxbld
b779a894df No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-02-22 11:50:13 -08:00
Rob Wood
e5e77c3c0e Bug 1440444 - temporarily disable talos tp6 on win due to failures; r=jmaher
MozReview-Commit-ID: LLEEDqbJtJc

--HG--
extra : rebase_source : ea87d9e41f0eeca960f69b7c132c51fb611875ca
2018-02-22 14:46:42 -05:00
Nick Alexander
6c651ba9af Bug 1440425 - Turn off --without-gradle Android builds and tests. r=gbrown,snorp
MozReview-Commit-ID: FsrHinHO0l1

--HG--
extra : rebase_source : fa9cdad51b91d7dfaf2d5e61c105b523e3f2f5db
2018-02-22 11:04:10 -08:00
Emilio Cobos Álvarez
5b971b4703 Bug 1439285: Hack around bug 1406134. r=bholley
MozReview-Commit-ID: Cg2HxB99cGD

--HG--
extra : rebase_source : 8e455d4868fbe0c257ab4cdeced0b543001e9759
2018-02-22 20:03:43 +01:00
Emilio Cobos Álvarez
52623f52d9 Bug 1439285: Make the old image request arrive to FinishStyle if we come from ResolveSameStructsAs. r=bholley
MozReview-Commit-ID: H1N9jNql9tl

--HG--
extra : rebase_source : f6f2ab9edb5b558f0fc0d91c0caa9c0d7e0e0973
2018-02-22 19:44:44 +01:00
Nupur Baghel
d459e9d0cf servo: Merge #20068 - added AutoCloseWorker for closing related workers when a page/another worker is closed (from paavininanda:autocloseworker); r=jdm
<!-- Please describe your changes on the following line: -->
Followed steps as suggested in issue.
Error is not yet resolved!

---
<!-- 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 #17977 (https://github.com/servo/servo/issues/17977?).

<!-- Either: -->
- [x] These changes do not require tests because it will have manual test case.

<!-- 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: 9c484452c0688205044a632b18083f85a3697693

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 04d6650f822c44d8c0ac9e67e3000f250751c9cf
2018-02-22 13:34:55 -05:00
Ursula Sarracini
311d093d9a Bug 1440389 - Invalidate Pocket cache when blocking a link r=Mardak
MozReview-Commit-ID: Beh7bGKOizJ

--HG--
extra : rebase_source : 1e20ceed8f923fb2c2407b755d6d84ab5a81cb6d
2018-02-22 12:12:50 -05:00