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

547444 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 9b59e77626 Bug 1382099 - Remove MOZ_WIDGET_GONK from modules/libpref/init/all.js. r=kats. 2017-07-21 10:52:09 +10:00
Nicholas Nethercote 9b33b50478 Bug 1382099 - Remove MOZ_WIDGET_GONK from ipc/. r=jld.
--HG--
extra : rebase_source : fab4cc67bb4d9911e9ca4f9062bfaa2772a1da4f
2017-07-21 10:45:49 +10:00
Nicholas Nethercote ff8375cf2e Bug 1382099 - Remove MOZ_WIDGET_GONK from security/. r=jld.
--HG--
extra : rebase_source : 8027baf7a24e5e0d91a175ab38614594c143767b
2017-07-21 10:45:42 +10:00
Nicholas Nethercote e99e711d3f Bug 1382099 - Remove MOZ_WIDGET_GONK from xpcom/. r=erahm.
As well as the straightforward things, this lets us remove ReadSysFile and
WriteSysFile, which in turn lets us remove TestFileUtils.cpp.

--HG--
extra : rebase_source : fc90c05352e654ffc41009d8504a9c54f394fc3f
2017-07-21 10:45:39 +10:00
Michal Novotny 7904597e99 Bug 1382852 - Wrong value is reported for NETWORK_RACE_CACHE_WITH_NETWORK_USAGE_2 probe when cache wins in delayed race, r=valentin 2017-07-21 02:29:24 +02:00
L. David Baron 97a8a3c332 Bug 1381080 patch 7 - Mark nsLiteral[C]String constructor as constexpr. r=erahm
MozReview-Commit-ID: 5ASqQAGBqq

--HG--
extra : transplant_source : y%CB%BE%82%E7%E0%C9%2C%DE%26%1A%86%C8%17_%1E%A6E%9C%7B
2017-07-20 15:47:00 -07:00
L. David Baron 6a5b0be9fc Bug 1381080 patch 4 - Assert that strings whose static type requires a null-terminated buffer aren't assign a non-null-terminated buffer. r=erahm
I actually couldn't figure out a way to trigger this assertion with the
current string code without doing invalid casts, but there are things we
may want to add to the string code in the future that might risk hitting
this (e.g., move constructors, promoting various rebind methods to
nsA[C]String), so I think it's worth asserting.

MozReview-Commit-ID: 4R0dYuTfrFW

--HG--
extra : transplant_source : %B6%87I%0E%7F%21%CC2%19%CD%A7%E6TRA%9D%AEO%90%D7
2017-07-20 15:46:59 -07:00
L. David Baron cb0e6b4512 Bug 1381080 patch 3 - Encapsulate setting mData/mLength/mDataFlags in a new method. r=erahm
This is needed for patch 4.

MozReview-Commit-ID: 4BFlTtQdtoN

--HG--
extra : transplant_source : %7C%F7%FDN%E5%7Df%0C%7D%10%EF%C0%25%B9%D6%18%1E%93%BE%A0
2017-07-20 15:46:59 -07:00
L. David Baron 7c15789222 Bug 1381080 patch 2 - Encapsulate setting to empty buffer in a new method. r=erahm
This is needed for patch 4.

MozReview-Commit-ID: 7xKQv37cy5k

--HG--
extra : transplant_source : %ED%16%85q%7F%E7%117%29%D2c%C2%21%20%D7%C9%BA%CCC%CC
2017-07-20 15:46:59 -07:00
L. David Baron eb59a21402 Bug 1381080 patch 1 - Add ClassFlags::NULL_TERMINATED to strings that require null-termination. r=erahm
This is needed for patch 4.

MozReview-Commit-ID: 5ikQFIL9O0i

--HG--
extra : transplant_source : %88%80%E3%04%11%7E%7F%A4%7E%15%1B%1A%84%E2%13%3E%F6%E8%2A%1C
2017-07-20 15:46:58 -07:00
Valentin Gosu 5c26b3aa77 Bug 1382845 - We should cancel mNetworkTriggerTimer when we start reading data from the cache. r=michal
MozReview-Commit-ID: HOnWemy2YCY
2017-07-21 01:25:02 +03:00
David Anderson d53eee5b25 Fix crash when ancestor masks have no overlapping area. (bug 1381479, r=bas) 2017-07-20 15:10:40 -07:00
Kris Maglione 654f2c0c26 Bug 1374025. Try calling ShowViewer again later if it hasn't succeeded yet when we get a render frame parent. r=tnikkel 2017-07-20 16:24:40 -05:00
Mason Chang d085480b74 Bug 1381180 - Refactor out StrokeOptions from DrawCommands. r=dvander 2017-07-20 13:14:51 -07:00
Perry Jiang 8b863f2d05 Bug 1376892 - Move browser_about* tests from 'general' to 'about' folder. r=jaws
--HG--
rename : browser/base/content/test/general/aboutHome_content_script.js => browser/base/content/test/about/aboutHome_content_script.js
rename : browser/base/content/test/general/browser_aboutCertError.js => browser/base/content/test/about/browser_aboutCertError.js
rename : browser/base/content/test/general/browser_aboutHealthReport.js => browser/base/content/test/about/browser_aboutHealthReport.js
rename : browser/base/content/test/general/browser_aboutHome.js => browser/base/content/test/about/browser_aboutHome.js
rename : browser/base/content/test/general/browser_aboutHome_wrapsCorrectly.js => browser/base/content/test/about/browser_aboutHome_wrapsCorrectly.js
rename : browser/base/content/test/general/browser_aboutNetError.js => browser/base/content/test/about/browser_aboutNetError.js
rename : browser/base/content/test/general/browser_aboutSupport.js => browser/base/content/test/about/browser_aboutSupport.js
rename : browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js => browser/base/content/test/about/browser_aboutSupport_newtab_security_state.js
rename : browser/base/content/test/general/healthreport_pingData.js => browser/base/content/test/about/healthreport_pingData.js
rename : browser/base/content/test/general/healthreport_testRemoteCommands.html => browser/base/content/test/about/healthreport_testRemoteCommands.html
rename : browser/base/content/test/general/test_bug959531.html => browser/base/content/test/about/test_bug959531.html
2017-07-11 09:47:27 -07:00
Perry Jiang b3ffa2a697 Bug 1376892 - Don't show stop button for local url loads. r=jaws 2017-07-10 13:17:06 -07:00
André Bargull 7a3eb41821 Bug 1377279 - Fine-tune array built-ins. r=djvj 2017-06-29 14:59:14 -07:00
Jeff Muizelaar 8a6cb1a23e Bug 1381949 - Expose functions for dealing Arc<Vec<u8>> r=rhunt
We'll need this for interacting with the font data from C++
2017-07-20 14:41:23 -04:00
André Bargull 457b12734d Bug 1381891 - Inline IsTypedArray even when non-TypedArrays were observed. r=jandem 2017-07-18 09:46:08 -07:00
Sean Stangl c3d68d0f00 Bug 1382023 - Optimize better in presence of lookaround. r=jandem
This is a pull of v8 commit 8df7c2a21b07174c3704894ca1d149b2711dfa58,
reviewed at https://codereview.chromium.org/2777583003.

--HG--
extra : histedit_source : 62baef1128e57ddf77b715ffec727610ae7fb8ae
2017-07-18 15:37:00 -04:00
Sean Stangl f4e7d91218 Bug 1382023 - Fold repeated assertions. r=jandem
This is a pull of v8 commit c8e4c8b9263b5009716804f06f39225a9dd7fc68,
reviewed at https://codereview.chromium.org/2768443003.

--HG--
extra : histedit_source : a18886aba3443d84eb909f1f37a3d63b7aa415a9
2017-07-18 15:37:00 -04:00
Christoph Kerschbaumer a9630006b9 Bug 1382717 - Convert test test_ncr_fallback.html to comply with new data: URI inheritance model. r=smaug 2017-07-20 18:41:32 +02:00
Andrea Marchesini 9bdc9f9ef2 Bug 1159003 - Remove Performance::GetAsISupports(), r=bz 2017-07-20 19:05:38 +02:00
Ehsan Akhgari b940c3d6e8 Bug 1382339 - Improve SpiderMonkey hashing functions by using MFBT's HashGeneric more; r=jandem 2017-07-20 12:59:09 -04:00
Tom Schuster a5f725d4f6 Bug 1382612 - Support default class constructors in Ion. r=tcampbell 2017-07-20 18:47:28 +02:00
Tom Schuster 1efe54ed22 Bug 1344483 - Remove MInitProp from Ion. r=jandem 2017-07-20 18:46:36 +02:00
Ehsan Akhgari 33114ba370 Bug 1382324 - Improve SpiderMonkey's pointer hashing function for pointers to neighboring memory locations; r=jandem
This is very similar to the fix to bug 1379282 for the XPCOM hashtables.
2017-07-20 12:23:07 -04:00
Nicolas B. Pierron 30db580939 Bug 1304569 - JS Code Coverage: Simplify checks for the last found case-statement body. r=bhackett 2017-07-20 16:20:14 +00:00
Ehsan Akhgari cd15c1d8a0 Bug 1382435 - Create Symbols from Symbol.for() with a different hash from the atom used to create them; r=jandem 2017-07-20 12:16:38 -04:00
Johan Lorenzo 7c6da3c1e0 Bug 1374589 - Activate XPCShell on autoland and mozilla-inbound r=Callek
MozReview-Commit-ID: 9Q7Z2tUV1tX

--HG--
extra : rebase_source : a6fc1d1be25b1ed1ac89c6d5707f254ab82f29d4
2017-07-20 17:15:12 +02:00
Michael Kaply 4a6ddef3e7 Bug 1381068 - Update Ukraine search engine. r=mconnor
--HG--
extra : rebase_source : 564448c742d0f3758bb4510d5c062c6d70a537ee
2017-07-20 10:27:26 -05:00
Ryan Hunt 2cac42b189 Bug 1382521 - Don't dereference a null PresShell in FocusTarget. r=kats
MozReview-Commit-ID: 4Zg4XrCIYZD

--HG--
extra : rebase_source : ab7527509ac7c75f4d762554233a38d8bf43478c
extra : histedit_source : 7ebdcff0fc47ce9cfc43dff6b817944fbcf9b0fd
2017-07-19 23:34:59 -04:00
Mason Chang 0087743f20 Bug 1381172 - Implement DrawTargetCapture::StrokeGlyphs. r=dvander 2017-07-14 17:48:00 -07:00
James Graham b5b1417f1e Bug 1381899 - fixup! Disable wpt flexbox min-width test for instability, a=testonly
MozReview-Commit-ID: 9MKo2ZRJq60
2017-07-20 15:34:13 +01:00
James Graham 22d638e870 Bug 1381842 - fixup! Update wpt expectation data, a=testonly
MozReview-Commit-ID: KguYSmUk1vY
2017-07-20 15:34:11 +01:00
Jan de Mooij 591afd7b2d Bug 1379936 - Make sure lastIndex slot is always initialized to 0 when cloning regexps in Ion. r=nbp 2017-07-20 16:23:05 +02:00
Jan-Ivar Bruaroey 5f43d20a48 Bug 1379392 - Avoid double-delete on failure to init VideoCapture module. r=mchiang
MozReview-Commit-ID: I9p2NVzqc8
2017-07-19 16:14:47 -04:00
Benjamin Smedberg 9af8e4c688 Bug 1381591 merge bustage - purge removed histograms from the whitelist file, r=bustage on a CLOSED TREE 2017-07-20 09:40:01 -04:00
Benjamin Smedberg cbb52b352c Bug 1381591 - Refactor plugin initialization/performance telemetry to measure the things we care about, r=qdot data-r=rweiss
MozReview-Commit-ID: CZ6AZ64RUt9

--HG--
extra : rebase_source : a2021cad0a33bae173fa1d4f1ba8ca9dabc13149
2017-07-17 16:31:45 -04:00
Andrew Osmond 69da7c2120 Bug 1381095 - Fallback correctly to non-WebRender if the GPU process/WebRender are disabled when creating a remote compositor session. r=dvander 2017-07-20 09:20:22 -04:00
Andrew Osmond ccbd885da6 Bug 1382644 - Remove assert in CompositorManagerChild::Init for false positives. r=me
CompositorManagerChild::mCanSend is cleared in ActorDestroy but that
often comes in too late and after ContentChild::RecvReinitRendering
which reinitializes the singleton. For now, just remove the assert so
that we no longer trigger false positives in the content process after
the GPU process crashes.
2017-07-20 09:03:28 -04:00
Ryan VanderMeulen ec89ab1aea Bug 1382083 - Update harfbuzz to version 1.4.7. r=jfkthame 2017-07-19 12:50:00 -04:00
Jessica Jong 3342b6100d Bug 1375599 - Change IsDisabled() to look at NS_EVENT_STATE_DISABLED instead of the "disabled" attribute. r=bz
In order to speed up IsDisabled(), instead of querying for the @disabled
attribute, we're now using the NS_EVENT_STATE_DISABLED flag to know whether an
element is disabled.
It is safe to use the NS_EVENT_STATE_DISABLED flag for the following reasons:
- For form elements, nsGenericHTMLFormElement::IsDisabled() is only called on
  form elements that can be disabled; form elements that can't be disabled
  overrides IsDisabled() to return false directly.
  And, before this patch, NS_EVENT_STATE_DISABLED flag is set by
  nsGenericHTMLFormElement::IntrinsicState() if and only if IsDisabled() in all
  cases when CanBeDisabled() is true, and when CanBeDisabled() is false then
  IsDisabled() is always false and the flag is not set.
- For non form elements, optgroup and option have the flag matching
  IsDisabled(). Note that option's IsDisabled() should also refer to optgroup's
  (if it exists) disabled state, which was not done before this patch.

For this to work correctly, we need to set NS_EVENT_STATE_DISABLED earlier,
that is, in AfterSetAttr(), before any consumer of IsDisabled().
We also need to update the flag whenever the element's parent (e.g. fieldset or
optgroup) disabled state changes and when moving into/out of a parent
container.

Note that NS_EVENT_STATE_DISABLED/ENABLED is now part of the
EXTERNALLY_MANAGED_STATES.

MozReview-Commit-ID: KSceikeqvvU
2017-07-20 02:15:00 -04:00
Alejandro Rodriguez Salamanca eeeda23e0a Bug 1381843 - Use the prefs defined in TelemetryUtils.jsm in TelemetrySend.jsm. r=dexter 2017-07-19 02:12:00 +02:00
Alessio Placitelli 5d41424f05 Bug 1382556 - Fix loading the whitelist file from histogram_tools.py. r=chutten
This also fixes all the histogram definitions that landed
while the whitelist was broken.
2017-07-20 01:55:00 +02:00
Dan Minor 88cc0879a7 Bug 1379982 - fix mach webrtc-gtest command on mac; r=chmanchester
We need to add webrtc-gtest to MacOS-files.in in order for it to be built
in the place that mach expects to find it.

MozReview-Commit-ID: 74kWZeE65R1

--HG--
extra : rebase_source : 06b923f17d65dd491e071a1c1f37ae1c736f66db
2017-07-13 13:41:29 -04:00
Timothy Guan-tin Chien 86dce63f5c Bug 1381982 - Show Privacy Policy instead of about:home as the background tab on first launch, r=gijs
MozReview-Commit-ID: 6cjpCTCPDIB

--HG--
extra : rebase_source : 9c9431c8466de24495dd55a668eaa136de80b79c
2017-07-20 13:46:41 +08:00
Gijs Kruitbosch 4b11bed1eb Bug 1373238 - make popup resize test not care about rounding errors so it works on local hidpi machines, r=mstriemer
MozReview-Commit-ID: 3ojX1PYmBfq

--HG--
extra : rebase_source : d06850bfa4b2630f4cedc93b205e9e7668d150e9
2017-06-09 23:22:09 +01:00
James Graham f5fefbb75a Bug 1377588 - Disable css focus-within tests for instability, a=testonly
MozReview-Commit-ID: 6GqcZ9UprYA
2017-07-20 13:05:30 +01:00
James Graham 5e1e510d61 Bug 1381860 - Fix reference to external server for font in test, r=annevk
MozReview-Commit-ID: GD7SH2HedRa
2017-07-20 13:05:29 +01:00