Граф коммитов

546111 Коммитов

Автор SHA1 Сообщение Дата
Nils Ohlmeier [:drno] 0130c59aaf Bug 1264479: added implementation for [current|pending][Local|Remote]Description. r=bwc
MozReview-Commit-ID: AAnuN3YRhFH

--HG--
extra : rebase_source : 8b68125b5073783720fd5007973e4fad638698a9
2017-06-30 01:19:19 -07:00
Nils Ohlmeier [:drno] d14f89ffa2 Bug 1264479: added [current|pending][Local|Remote]Description to WebIDL. r=smaug
MozReview-Commit-ID: JwRyKtZMKzl

--HG--
extra : rebase_source : cc10f4efea212126f1ab56cf2fd3553f51c555c4
2017-06-30 01:18:46 -07:00
Kartikaya Gupta 6d0c0db395 Bug 1378966 - Don't cause immediate throttling of the refresh driver on repeat transactions. r=mattwoodrow
MozReview-Commit-ID: 8orAmdpIRTF

--HG--
extra : rebase_source : 2988a9faced2648cd182ebe8adff791634af519f
2017-07-12 09:10:25 -04:00
Kris Maglione a835678477 Bug 1370752: Part 3 - Use structured clone rather than JSON to sanitize storage values. r=aswan
This gives us performance wins in sevaral areas:

- Creating a structured clone blob of storage data directly from the source
  compartment allows us to avoid X-ray and JSON serialization overhead when
  storing new values.

- Storing the intermediate StructuredCloneBlob, rather than JSON values,
  in-memory saves us additional JSON and structured clone overhead when
  passing the values to listeners and API callers, and saves us a fair amount
  of memory to boot.

- Serializing storage values before sending them over a message manager allows
  us to deserialize them directly into an extension scope on the other side,
  saving us a lot of additional structured clone overhead and intermediate
  garbage generation.

- Using JSONFile.jsm for storage lets us consolidate multiple storage file
  write operations, rather than performing a separate JSON serialization for
  each individual storage write.

- Additionally, this paves the way for us to transition to IndexedDB as a
  storage backend, with full support for arbitrary structured-clone-compatible
  data structures.

MozReview-Commit-ID: JiRE7EFMYxn

--HG--
extra : rebase_source : 04a5681c604c5d2acd781b7ce4f66a757465071a
2017-06-29 14:11:05 -07:00
Johan Lorenzo fb9bfb407e Bug 1374589 - Port windows tests which require signed builds to in-tree tasks r=Callek
MozReview-Commit-ID: JI0T2qW6P00

--HG--
extra : rebase_source : a537a28f7571bbbe84baef3413f8882867ee15c9
2017-06-29 13:50:13 -07:00
Makoto Kato 2f3c835cd3 Bug 1372781 - Remove getdtablesize stub from android_stub.h. r=jchen
getdtablesize is unused in nss after landing bug 1346735 and bug 1370138.  So it is unnecessary to define this in android_stub.h

MozReview-Commit-ID: CHB8xVjgmw3

--HG--
extra : rebase_source : 8ef0097f975cf661019ae77581bc903beb668f79
2017-07-07 16:18:08 +09:00
Zibi Braniecki f7568bc624 Bug 1377543 - Fix find-dupes to exclude l10n. r=catlee
MozReview-Commit-ID: KRfAkGG6L00

--HG--
extra : rebase_source : 527f6aae0c9685bdf8eb4f1b8401a9757b34f2ec
2017-06-30 16:05:08 -07:00
Hiroyuki Ikezoe f0c746144f Bug 1374175 - Return no damage if there is no display property changes. r=heycam
MozReview-Commit-ID: 8VUu7UcnMmb

--HG--
extra : rebase_source : 5f56cf1a17a5aabcd5d7fcf4d25ac2fa09fe1b8c
2017-06-29 13:22:42 -07:00
Hiroyuki Ikezoe a0dcb2d5b7 servo: Merge #17628 - Return no damage if there is no display property changes (from hiikezoe:restyle-damage); r=heycam
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1374175

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c903efaa497818403d321d86afeb32da6a791554
2017-07-06 17:20:38 -07:00
Gregory Szorc 675b7da4ed Bug 1375231 - Make OptionValue.__eq__ more type aware; r=glandium
OptionValue and its derived classes are exposed to moz.configure
files. As the previous bug fix showed, it is really easy to
accidentally assume the type is a simple string value and do a
string compare against it.

To prevent this class of bugs, this commit adds additional type
awareness to OptionValue.__eq__.

We first check that the argument is a tuple (including any OptionValue
types). If not, we raise a TypeError because the comparison is
invalid. This is arguably a violation of __eq__. But since OptionValue
is exposed to the moz.configure sandbox and typing '==' will invoke
__eq__, we have to do something to prevent this foot gun.

The change also changes the comparison logic.

If we compare against a non-derived tuple instance, we do a tuple
compare. Otherwise, we fall back to the previous logic of
requiring an identical type then doing a tuple compare.

MozReview-Commit-ID: 7IVSL2Asg9j

--HG--
extra : rebase_source : edab573834da240df9ad7c2fc78c85d6159a6ef9
2017-07-06 17:53:45 -07:00
Sylvestre Ledru 3aab9a7979 Bug 1376803 - add support of ./mach clang-format -p <file/dir> r=gps
MozReview-Commit-ID: nmAqNsSWho

--HG--
extra : rebase_source : 880980ae1a458c06fe66d7ce60d0a66fee7cd883
2017-06-29 09:35:23 -07:00
Botond Ballo dda8aeab18 Bug 1375949 - Fix helper_touch_action_regions.html. r=kats
The test was assuming that processing an input event that causes async
scrolling will result in the async scroll being reflected on the next
composite. With the changes in this bug, that is no longer a valid assumption.

MozReview-Commit-ID: HAB3xnmF3vo

--HG--
extra : rebase_source : 86eca7c9f030a2bf4be87d8aa632a97584722191
2017-06-28 17:45:40 -04:00
Sylvestre Ledru dbf920a78e Bug 1376803 - Move the clang-format diff into a specific function r=gps
MozReview-Commit-ID: C7cy5U0HJ8

--HG--
extra : rebase_source : 7113cfa45a2c50a756cacceba6d73e73c86942c8
2017-06-27 18:34:39 -07:00
Ed Lee c790e1b7cc Bug 1372664 - browser_messagemanager_loadprocessscript.js fails when Activity Stream is enabled. r=krizsa
Allow for either the usual 3 base process count or with activity-stream both 3 or 4 counts.

MozReview-Commit-ID: 2VQuq4KpBPK

--HG--
extra : rebase_source : 1c846f3d07da477ebf6564532116c6dc1ceaf882
2017-07-05 15:44:23 -07:00
Ralph Giles 50b5412f42 Bug 1379382 - Correct rust srcdir url. r=gps
We were prefix-matching the rust srcdir when hyperlinking
symbols, but then appending the relative source path to
the top level repo url, resulting in broken links.

Instead, link to the srcdir url at github.

MozReview-Commit-ID: 33tSMM96Vie

--HG--
extra : rebase_source : 13d5638d4029e40077c0ba8de34a64d3ff9e92be
2017-07-08 08:00:27 -07:00
Patrick Brosset 2be9e15604 Bug 1377326 - Don't assume targets are tabs in style-editor media sidebar; r=ntim
MozReview-Commit-ID: KJczS4aEAUS

--HG--
extra : rebase_source : e5ab4ed89a2d34a8eedb0b921852d0fa7c8e55cb
2017-07-03 17:38:02 +02:00
Mike Conley 442cb9772b Bug 1372261 - Bump tps Talos test version number. r=rwood
MozReview-Commit-ID: Ksd3SJOT9eD

--HG--
extra : rebase_source : 112727987f5b93c2b71a6833e12b363b9300e056
2017-07-05 22:53:19 -04:00
Mike Conley 127dc8dbc6 Bug 1372261 - Make tps Talos test move each tab next to the blank 'palette-clenser' tab before switching, to avoid noise from the tab strip scrolling. r=rwood
MozReview-Commit-ID: Kg4of1Kqm0e

--HG--
extra : rebase_source : 627fa5bc79d81c6450c02e6b3f15950b3a953770
2017-07-05 15:59:41 -04:00
Mike Conley a98e7a3037 Bug 1372261 - Make tps Talos test use the performance timing API instead of Date.now() to avoid clock skew. r=rwood
MozReview-Commit-ID: CPzaN7T5fJV

--HG--
extra : rebase_source : 5f9cd8787b0422f253dcb7503420e20dfcb6f5d6
2017-06-30 01:32:25 -04:00
Sebastian Hengst e57529282b Backed out changeset a8d854de191c (bug 1327947) for eslint failures in browser_applications_selection.js. r=backout 2017-07-10 17:15:47 +02:00
Botond Ballo 179d5b6afb Bug 1375949 - Fix an incorrect comment in helper_touch_action_regions.html. r=kats
MozReview-Commit-ID: 5UslMnD1SRG

--HG--
extra : rebase_source : bb6c94f0792ac29232443ad07512fcc2099693f2
2017-06-27 14:50:30 -04:00
Botond Ballo a01f110229 Bug 1375949 - Delay application of async scroll offset by one composite, to give content a chance to remain in sync. r=kats
With this in place, scroll-linked effects will remain in sync with async
scrolling if they can be processed and painted within the frame budget.

This change is currently behind a pref that's off by default.

MozReview-Commit-ID: 6GEJTKZh6ON

--HG--
extra : rebase_source : 534bf15ef1c5ca26e1dc0d7eb298063b80aa9dd3
2017-07-05 19:17:14 -04:00
Botond Ballo 8e4f219cfd Bug 1375949 - Repurpose AsyncPanZoomController::AsyncMode into a more general AsyncTransformConsumer enum. r=kats
The AsyncTransformConsumer enumeration captures the distinction between
the two main categories of consumers of async transforms: those using
it for hit-testing and related purposes, and those using it for
compositing.

MozReview-Commit-ID: 59CICcnPvY6

--HG--
extra : rebase_source : ba505e6b2b6f42592660074939a6d24aab7f73ff
2017-06-30 14:31:28 -04:00
Emilio Cobos Álvarez 168589b832 servo: Merge #17640 - style: Fix starts_with_ignore_ascii_case (from emilio:starts-with-ignore-ascii-case); r=stshine
In particular, fix a panic when the input is not ASCII and we happen to index in
something that is not a char boundary.

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1379380

Source-Repo: https://github.com/servo/servo
Source-Revision: 104e0b473073340689b4bca5c128c61632d4e58d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14e052469d419b4fd24721fd275047a20527297f
2017-07-08 12:59:29 -07:00
Emilio Cobos Álvarez 39fc6ece65 Bug 1379041: Reftest. r=heycam
MozReview-Commit-ID: JeO0ZksC8E5

--HG--
extra : rebase_source : 474c60f2282f5697fb5abe2fa3aec83692de3efd
2017-07-07 20:37:52 +02:00
Imanol Fernandez 3f4624c956 servo: Merge #17099 - Support for Android arm64 compilations (from MortimerGoro:android_arm64); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

This PR is the final step to adds support for Android arm64 compilations. See https://github.com/servo/servo/issues/11921 for previous work.

Fixes in this PR:
- Fix js dependency compilation: https://github.com/servo/rust-mozjs/pull/360
- Fix skia dependency link error: https://github.com/servo/skia/pull/136
- Fix blurdroid dependency compilation: https://github.com/szeged/blurdroid/pull/4
- Fix mio and net2 dependency compilations: https://github.com/carllerche/mio/pull/599
- Fix gcc compiler name in the fake linker
- Compile OpenSSL for aarch64 (update to stable 1.1.0 was required for this)

---
<!-- 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
- [] These changes fix #__ (github issue number if applicable).

<!-- 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: 85e5551ee9f2f662bdca53469a327491f35ece53

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f70197e8d6f16df92040706a0e3473d66266f373
2017-07-08 11:32:14 -07:00
Jan Henning 3dabcecae3 Bug 1312605 - Part 1 - Don't clobber resolution changes that happen before first paint on Fennec. r=kats
When going back/forward through a tab's session history, the saved resolution from the LayoutHistoryState is set on the PresShell before first paint. On Fennec, this means that it is subsequently going to be overwritten by the MobileViewportManager's default zoom calculation.

To fix this, we make use of the MVM's feature to set a "restored" resolution that will then be taken into account on first paint.

MozReview-Commit-ID: 43o97M6fiaZ

--HG--
extra : rebase_source : 0dda351784f3f5e3d88ec3e176b73974e96b71b7
2017-06-29 09:26:37 -07:00
Jan Henning 22c314f490 Bug 1312605 - Part 0 - Fix indentation in MVM. r=kats
MozReview-Commit-ID: FYAZNhVzPsb

--HG--
extra : rebase_source : 9dc0251763dc574e932b4508564d9ed8065f21c2
2017-06-28 11:23:02 -07:00
Emilio Cobos Álvarez b2a9b400d3 servo: Merge #17639 - style: Avoid overriding the root font size from a getDefaultComputedStyle call (from emilio:gdcs-rem); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a17de4fd0688a116b6a53607e040e90dc7c9652

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a1729cf6fe5539efff242319011a3618f946443
2017-07-08 10:28:10 -07:00
Ralph Giles 199a5eb92c servo: Merge #17638 - Fix build_gecko.rs for cross-macOS builds (from rillian:mac-bindgen); r=emilio,gps
This was [reviewed](https://bugzilla.mozilla.org/show_bug.cgi?id=1368083) over on the gecko side, and is now ready to land. This adds an additional build-time `bindgen.toml` file whose compiler args are merged into the libclang invocation.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I *think* this is gecko-only. We'll find out.

<!-- 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: 41a7e6391b707961568cfcadf8a5741af22e7ffd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 825d231dde087625f0ee2b65313fabf383bce8e8
2017-07-08 09:24:08 -07:00
Makoto Kato 2e2e84007a Bug 1379032 - Use -Oz as optimization flag on android/clang. r=froydnj
Due to https://github.com/android-ndk/ndk/issues/133#issuecomment-308549264 and bug 1163171 comment #14, we should use -Oz instead of -Os on Android/clang

MozReview-Commit-ID: 1T6fI87sa33

--HG--
extra : rebase_source : 84f912c59ecdabef9e606f89f72f00eb158846d5
2017-07-07 16:30:21 +09:00
Panos Astithas bc64b89a6a Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps
MozReview-Commit-ID: FAZAFVEkk6G

--HG--
extra : rebase_source : c3cd2c1ee23f3ed01ecacd7225e68e861fa3d171
2017-07-03 21:55:07 +03:00
Sebastian Hengst aca8a9ec23 Backed out changeset b72700473956 (bug 1374672) on request from whimboo for failing xpcshell's testing/marionette/test_navigate.js. r=backout 2017-07-08 10:49:55 +02:00
Sebastian Hengst 4e9f239b9f Backed out changeset 59f5bb05f3e4 (bug 1374672) 2017-07-08 10:49:18 +02:00
Sebastian Hengst 44a554344d Backed out changeset 7571a1477753 (bug 1374672) 2017-07-08 10:49:13 +02:00
Dan Banner d8518d604e Bug 1351089 - Remove unused PresentationDeviceInfoManager.jsm r=schien,smaug
MozReview-Commit-ID: FoMZNIFtgFM

--HG--
extra : rebase_source : 0fef4325bdea8c346f526a4fb6459a6dfe31fc5b
2017-07-03 19:51:01 +01:00
Henrik Skupin 1f1de877ae Bug 1374672 - Don't wait for page load events for identical hash parameters. r=automatedtester
If the target URL has the exact same hash parameter as the current URL no
page load will happen. As such Marionette should not wait for the appropriate
events.

MozReview-Commit-ID: LNbGJQgChya

--HG--
extra : rebase_source : cd8ddbad4ac10ed67d001797d31b3b868255f546
2017-07-07 17:34:27 +02:00
Henrik Skupin 1a404d9ac4 Bug 1374672 - Return early if event for page load is uninteresting. r=automatedtester
While observing page loads the only interesting events are for the
current browsing context, and its document. While most events have
the document as target, and bubble up, the hashchange event only
fires for the window.

MozReview-Commit-ID: CiqkV4DuH48

--HG--
extra : rebase_source : b7bb9c2b3e4d591cbe700f627cdadd9a232ddbf5
2017-07-07 16:38:41 +02:00
Henrik Skupin 2ae312826e Bug 1374672 - Use documentURI instead of baseURI. r=automatedtester
baseURI isn't actually we have to check for to get the
current documents URI. Therefore documentURI exists.

MozReview-Commit-ID: CDhOZ8lU2qJ

--HG--
extra : rebase_source : c53f79468a7d319bd5e7aa40338fce0ca7299bd4
2017-07-07 15:36:08 +02:00
Ralph Giles 2108ee3e4e Bug 1368083 - Pass -isysroot to bindgen. r=gps
When cross-compiling, rust-bindgen needs the -isysroot
flag we pass to the C++ compiler to find the correct
headers. Add a new BINDGEN_CFLAGS environment variable
for passing this and other relevant options, and reformat
its contents in toolchain.configure so we can use autoconf-
style template substitution to poke it into a bindgen.toml
file to be read by build scripts like build_gecko.rs.

Set this variable from the macosx/cross-mozconfig.common
to the same extra flags we pass to CXX so automation
builds work correctly with --enable-stylo.

MozReview-Commit-ID: 7wabObiFtVb

--HG--
extra : rebase_source : eeba30e3d64112da65e2e6830ef5fc1b54965529
2017-07-06 11:34:03 -07:00
J. Ryan Stinnett 8989507710 Bug 1373881 - Call default panic hook after crashreporter. r=rillian
Crash reporter installs a special Rust panic hook to grab the panic reason.
However, we still want to call the default hook as well, so that we still print
the reason and backtrace to the console.

MozReview-Commit-ID: JlCamBPb51X

--HG--
extra : rebase_source : c973cd782ae1e9c93d207de9174cc6871d3e301c
2017-07-07 19:19:07 -05:00
Ralph Giles 7c724f8669 Bug 1379341 - Prefer llvm-config from homebrew to mozbuild. r=gps
We've had trouble with crashes and hangs on macOS with
libclang builds from tooltool, so for local developer
builds we prefer the homebrew or macports packages
installed by `mach bootstrap`.

However, we were searching ~/.mozbuild before the homebrew
directory, resulting using the wrong libclang when developers
had run `mach bootstrap` before the switch, or anyone who
had used `mach artifact toolchain` on macOS.

MozReview-Commit-ID: JpLBDNthG6e

--HG--
extra : rebase_source : cca6f2772fd16425bd9b75cdfb4c7b60e4da577f
2017-07-07 19:20:34 -07:00
Matthew Wein d67b56da85 Bug 1302504 - use mozbrowser to add support for options_ui on Android r=mixedpuppy
MozReview-Commit-ID: IsTOC3pNxJP

--HG--
extra : rebase_source : 662ed1c317e8c480133de40c292622afb9984816
2017-07-07 15:03:33 -04:00
Andrew McCreight 19c035f60e Bug 1379023, part 4 - Remove mSystemPrincipal fields from mozJSSubScriptLoader and mozJSComponentLoader. r=mrbkap
The lone remaining use is trivial.

MozReview-Commit-ID: Gx0K69ArMJ2

--HG--
extra : rebase_source : ff48484246aeed32f7fa7c03573ba994b097967e
2017-07-07 11:29:48 -07:00
Andrew McCreight 93029d4038 Bug 1379023, part 3 - Make WriteCachedScript assert about the system principal not require the argument. r=mrbkap
MozReview-Commit-ID: FRgjZ32ULqj

--HG--
extra : rebase_source : be20c846efd3a5d5ba52ca1f614a0b40775d5e01
2017-07-07 11:27:53 -07:00
Andrew McCreight ef5af5fdf2 Bug 1379023, part 2 - Remove unused systemPrincipal argument to ReadCachedScript. r=mrbkap
MozReview-Commit-ID: D59LfiHXbXJ

--HG--
extra : rebase_source : 1f09e37f2c6ba7b2b0fa15fcacb932e3f9f8f7ab
2017-07-07 11:14:04 -07:00
Andrew McCreight 6ff67aafc2 Bug 1379023, part 1 - Directly compute if we're compiling in a content compartment in DoLoadSubScriptWithOptions. r=mrbkap
The existing code uses various intermediate objects, but the only
thing they are used for now is to figure out if the compartment we're
in has the system principal or not, so just compute that directly.

MozReview-Commit-ID: FMoWfAX8rGW

--HG--
extra : rebase_source : 385ab0e10a0c719155c48e3822e7844434f417f8
2017-07-06 16:30:44 -07:00
gasolin 6a631df7f2 Bug 1375775 - Allow reuse existing tours;r=mossop
MozReview-Commit-ID: 4KwLBH5oPXY

--HG--
extra : rebase_source : 3741ce9cc856264774810bd26b727d5fa6ebc2f8
2017-06-26 14:25:55 -07:00
Josh Matthews 5e234de828 Bug 1352669 - Address failing CSS parser error tests. r=emilio
MozReview-Commit-ID: KfcpLYLIIve
2017-07-10 16:24:00 -04:00
Josh Matthews e0c37f0ed3 Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter. r=emilio
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-10 17:52:00 -04:00