Commit Graph

466787 Commits

Author SHA1 Message Date
Boris Zbarsky
f7b36aa0e6 Bug 1342197 part 4. Move GetSelectionRange from nsTextControlFrame to the editor state. r=ehsan
At this point, all this method does is ensure editor initialization and then ask
the editor state for various information.  Let's cut out the middleman.

MozReview-Commit-ID: p491umScJO
2017-02-28 12:41:37 -05:00
Boris Zbarsky
d5ebea2922 Bug 1342197 part 3. Speed up nsContentUtils::GetSelectionInTextControl a bit by removing some refcounting and virtual calls. r=ehsan
MozReview-Commit-ID: GuBVki5QFwz
2017-02-28 12:41:37 -05:00
Boris Zbarsky
9e08a40a49 Bug 1342197 part 2. Use nsITextControlElement::GetRootEditorNode to get the root editor node in nsTextControlFrame::GetSelectionRange. r=ehsan
MozReview-Commit-ID: 7ncJVNVGF78
2017-02-28 12:41:37 -05:00
Boris Zbarsky
9cfe389bfb Bug 1342197 part 1. Change nsITextControlElement::GetRootEditorNode to return Element*. r=ehsan
MozReview-Commit-ID: BmTw3rAzCuc
2017-02-28 12:41:37 -05:00
Boris Zbarsky
1d09a7becd Bug 1342513. Set up a scripted caller override in AutoEntryScript. r=bholley
Otherwise if we have no explicit incumbent script we can end up getting an
incumbent off the script stack _above_ the AutoEntryScript, which is wrong.

MozReview-Commit-ID: LG3540tgRQ
2017-02-28 12:41:35 -05:00
Ben Kelly
8766c67fa6 Bug 1341678 P2 Update wpt test expectations now that we don't assert. r=asuth 2017-02-28 11:48:48 -05:00
Ben Kelly
a003191da8 Bug 1341678 P1 Make Request::Constructor() expect over-writing a copied body with an initializer. r=asuth 2017-02-28 11:48:48 -05:00
Mark Hammond
58be1a32ca Bug 1342851 - record the last-modified time of a Sync client record. r=rnewman
MozReview-Commit-ID: 2jtCsl3sy3X
2017-02-27 12:44:12 +11:00
Stone Shih
07a1a01198 Bug 1340085 - [Pointer Event] Stop firing pointer events after firing eTouchCancel. f=smaug. r=kats 2017-02-16 15:05:09 +08:00
Jan Odvarko
3334902eb1 Bug 1323454 - integrate HTTP Status code with MDN; r=Honza
MozReview-Commit-ID: 8DaFUZhEobr
2017-02-27 18:26:44 +01:00
André Bargull
20284f6a53 Bug 1050755: Allow to call Date.UTC with fewer than two arguments per ES2017. r=shu 2017-02-27 13:22:45 -08:00
Valentin Gosu
8a9018e764 Bug 1340486 - Add licence header r=me DONTBUILD
MozReview-Commit-ID: F9qYkEpxXEd
2017-02-28 17:07:09 +01:00
Ben Kelly
74c75b259a Bug 1266747 P4 Add a WPT test validating Clients.matchAll() result order. a=smaug 2017-02-28 10:48:52 -05:00
Ben Kelly
b0c03e2291 Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 10:48:51 -05:00
Ben Kelly
1608316343 Bug 1266747 P2 Track last focus time on ServiceWorkerClient. r=smaug 2017-02-28 10:48:51 -05:00
Ben Kelly
eda30dce7a Bug 1266747 P1 Track the last focus time on the nsIDocument. r=smaug 2017-02-28 10:48:51 -05:00
Mats Palmgren
d467f5294b Bug 1340138. r=smaug
MozReview-Commit-ID: HoTn7hfCiSC
2017-02-28 16:41:08 +01:00
Geoff Brown
4d1857839d Bug 1300017 - Skip crashtest 373122-1.html except on osx, for intermittent leaks; r=jmaher 2017-02-28 08:13:11 -07:00
Ehsan Akhgari
0b25cbb244 Bug 1342720 - Optimize away the cost of creating and destroying nsBidi from CanvasRenderingContext2D::DrawOrMeasureText(); r=baku
The ICU implementation of ~nsBidi is particularly expensive because
it calls free() several times.
2017-02-28 09:13:48 -05:00
Franziskus Kiefer
1e308ffeb2 Bug 1334127 - land NSS 6511e19a2c6c, r=me 2017-02-28 13:52:02 +01:00
Carsten "Tomcat" Book
298a6147ab Merge mozilla-central to mozilla-inbound 2017-02-28 13:03:04 +01:00
Masatoshi Kimura
69635c9d9a Bug 1295877 - Remove accidentally added |debugger;|. r=marcosc
MozReview-Commit-ID: Hxp02da6p1z
2017-02-28 20:26:53 +09:00
Carsten "Tomcat" Book
307869a4df merge mozilla-inbound to mozilla-central a=merge 2017-02-28 11:24:33 +01:00
Rail Aliiev
31642cbafb Bug 1337366 - Rename ESR52 partner repack config r=jlund DONTBUILD
MozReview-Commit-ID: Is945ZJLPB3
2017-02-27 22:39:27 -05:00
Boris Chiou
9796605667 Bug 1342957 - Fix incorrect MOZ_ASSERT in AnimationEffectReadOnly. r=hiro
MozReview-Commit-ID: 6amRZ9AGudQ
2017-02-28 01:38:52 +08:00
Chris Pearce
4a0e530f66 Bug 1342822 - Move Widevine decryption throughput limit into Gecko. r=gerald
This means each stream that's being decrypted will have its own throughput
limiting, independent of other streams.

MozReview-Commit-ID: DiOiRx19OuC
2017-02-27 15:57:41 +13:00
Nicholas Nethercote
b42f063e07 Bug 1328378 (part 4) - Remove sample_obj. r=mstange.
It's silly indirection.
2017-02-27 12:32:55 +11:00
Nicholas Nethercote
3d68049002 Bug 1328378 (part 3) - Remove unnecessary locking in profiler_get_backtrace(). r=mstange.
There's no need to lock when calling Tick() on a local TickSample that uses a
fresh SyncProfile with its own fresh ProfileBuffer -- none of that data can
be touched by another thread.
2017-02-27 12:32:18 +11:00
Nicholas Nethercote
7f32135318 Bug 1328378 (part 2) - Remove BeginUnwind() and EndUnwind(). r=mstange.
Both of these functions are now trivial and identical in both ThreadInfo and
SyncProfile. This patch inlines and removes them.
2017-02-27 12:31:44 +11:00
Nicholas Nethercote
914d818166 Bug 1328378 (part 1) - Remove SyncProfile::mOwnerState. r=mstange.
It appears to be a remnant of a time when SyncProfile lifetimes were more
complex. Nowadays they are simple.

- profiler_get_backtrace() constructs a SyncProfile called |profile|.
  |profile|'s mOwnerState is REFERENCED.

- profiler_get_backtrace() then calls BeginUnwind() and EndUnwind() on
  |profile|. After the EndUnwind(), |profile->mOwnerState| is always OWNED.

- |profile| then is put into the returned ProfilerBacktrace. That
  ProfilerBacktrace will destroy |profile| in its destructor because
  ShouldDestroy() always returns true because mOwnerState is always OWNED.

The OWNER_DESTROYING and ORPHANED states are never used, and the whole
OwnerState type isn't necessary. This patch removes it and ShouldDestroy().
2017-02-27 12:30:25 +11:00
65e4b93acc Bug 1337692 - Ask for permission on input=file/accept. r=sebastian,grisha 2017-02-27 21:02:00 -06:00
Wes Kocher
c5ef651ac9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7JUk3hX7oRK
2017-02-27 17:02:24 -08:00
Wes Kocher
9b2de0a8e3 Backed out changeset 506e2da5e26f (bug 1325778) for turning test_insecure_form_field_autocomplete.html permafail on android a=backout
MozReview-Commit-ID: 5a3fWSTqoOh
2017-02-27 16:59:51 -08:00
Daniel Holbert
9a7eb227bc Bug 1340441 part 2: Add a failsafe to remove "reftest-wait" in crashtest 1338772-1.html, after some time has elapsed. (test-only, no review)
MozReview-Commit-ID: 94yCXN8AbQ6
2017-02-27 16:53:23 -08:00
Blake Kaplan
0408a173c9 Bug 1334716 - Make process selection a service and implementable in JS. r=krizsa
MozReview-Commit-ID: CViRvZB8nKe
2017-02-27 16:09:06 -08:00
Wes Kocher
80ae701587 Backed out 2 changesets (bug 1340146) for spidermonkey bustage a=backout
Backed out changeset 5556b171034e (bug 1340146)
Backed out changeset c355a0ffcb10 (bug 1340146)

MozReview-Commit-ID: JTVSUcenPdC
2017-02-27 15:28:34 -08:00
Ben Kelly
01918dadf1 Bug 1342854 Run a limited number of timer callbacks in the same event loop runnable. r=smaug 2017-02-27 17:33:30 -05:00
Michael Kaply
556c2720b3 Bug 1031210 - Add junit tests for StringUtils.stripScheme. r=snorp 2017-02-27 16:21:47 -06:00
Wes Kocher
bb3ac73478 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7UN77Uvxgus
2017-02-27 13:37:44 -08:00
Wes Kocher
8ba52721c8 Merge inbound to central, a=merge
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
Wes Kocher
9c83a6a212 Merge autoland to central, a=merge
MozReview-Commit-ID: I3hgM0ng45o
2017-02-27 13:12:25 -08:00
Mihai Tabara
fd866a1d60 Bug 1338186 - tweak the bucket scope to new form. r=aki a=release DONTBUILD
MozReview-Commit-ID: Fbjk6xTZwmZ
2017-02-27 18:55:03 +00:00
Emilio Cobos Alvarez
ba09ed7611 Bug 1342738, Bug 1342188: Reftest expectations adjustments. r=bz 2017-02-27 19:17:12 +01:00
André Bargull
6635499016 Bug 1340146 - Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie 2017-02-27 09:55:21 -08:00
UK992
aca3c80876 servo: Merge #15753 - Fix Cargo.toml in servo_tidy_tests (from UK992:tidy); r=jdm
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15737

Source-Repo: https://github.com/servo/servo
Source-Revision: 28bd00debc4f64ff4a9973bea0003c3fd6776299
2017-02-27 08:56:30 -08:00
Benjamin Bouvier
a2d91dbdbb Bug 1342956: Fix promise_test in wasm-testharness.js; r=luke
MozReview-Commit-ID: IfPkWSw05pX
2017-02-27 17:35:18 +01:00
Andrea Marchesini
348cec6b4c Bug 1342361 - Get rid of ArchiveReader API, r=smaug 2017-02-27 17:50:46 +01:00
Ehsan Akhgari
7cb6285bb8 Bug 1342560 - Guarantee that the empty string atom is always static; r=froydnj 2017-02-27 10:51:43 -05:00
André Bargull
27bae491f9 Bug 1340146 - Normalize paths for module registry in shell module loader. r=jonco 2017-02-27 07:49:29 -08:00
Tom Schuster
34b4b66002 Bug 1342402 - Use optimized GetElement in JSON. r=jandem 2017-02-27 16:43:24 +01:00