Commit Graph

6898 Commits

Author SHA1 Message Date
Alexander Surkov
bb6fd0650f Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Nikhil Marathe
af18a63f82 Bug 1133861 - Enable the Fetch API by default. r=jst
--HG--
extra : rebase_source : 97dc853238ad7ce4cec7277c4732bf3f4ec1b962
2015-02-22 01:52:10 -08:00
Robert Longson
35d4da1130 Bug 629682 - Add a better warning message for SVG-as-an-image external resources being blocked. r=dholbert 2015-03-07 09:15:23 +00:00
Jason Orendorff
29bfe274bb Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86 Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.

--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
dvander@alliedmods.net
a4abd56718 Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3, r=smaug) 2015-03-06 14:26:59 -08:00
Boris Zbarsky
05aaddd360 Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley 2015-03-06 16:33:31 -05:00
Catalin Badea
c230b69ed6 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Jan de Mooij
0158166339 Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Boris Zbarsky
e0532c037e Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley 2015-03-06 01:08:06 -05:00
Olli Pettay
b6d7406dde Bug 1139964 part 3. Add a test. r=bzbarsky 2015-03-06 01:08:06 -05:00
Boris Zbarsky
695383a67d Bug 1139964 part 2. Add classinfo helpers for the various message manager stuff to install WebIDL Exposed=System things on those globals. r=smaug 2015-03-06 01:08:06 -05:00
Bill McCloskey
c10aee7d5e Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bill McCloskey
54115031c4 Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Bill McCloskey
397b44f0c8 Bug 1126089 - Assert we don't Destroy nsFrameLoader in destructor (r=smaug) 2015-03-05 22:03:22 -08:00
Nikhil Marathe
68653a3ac0 Bug 1139667 - CSP tests for fetch(). r=ckirschb
--HG--
extra : rebase_source : 5a428c19be326b8cbffa4e250564f792c0893069
2014-10-16 11:26:39 -07:00
Kearwood (Kip) Gilbert
b0c31cd0a6 Bug 945584: Part 8 - Implement Scroll Snapping for Middle Mouse Button Scrolls (v2 Patch), r=roc, r=bz
- Implemented scroll snapping at the end of a middle-mouse-button scroll.
- As this scrolling occurs within chrome Javascript, chrome-only DOM methods
  had to be added: window.MozScrollSnap and element.MozScrollSnap
- Bug 1137937 tracks implementation of a replacement for these chome-only DOM methods,
  to be replaced with a web accessible API.

--HG--
extra : rebase_source : f511296dbdbfd97e3da391d2a0b67fd3f6edca6b
2015-02-19 16:03:07 -08:00
Wes Kocher
22674da129 Merge inbound to m-c a=merge CLOSED TREE 2015-03-05 15:17:41 -08:00
Wes Kocher
591b801503 Merge fx-team to m-c a=merge CLOSED TREE 2015-03-05 14:51:48 -08:00
David Zbarsky
4ce52c1ab4 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Dave Townsend
3e934217ce Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap
--HG--
extra : rebase_source : e9eb26724c1889d893aa717fa6b4c7811099bc6b
2015-03-03 14:07:08 -08:00
Jose Antonio Olivera Ortega
39f5853100 Bug 1041339 - ServiceWorkers: Update implementation based on clarification of force-refresh. r=nsm 2015-03-04 02:54:00 +01:00
Ehsan Akhgari
c5cbd265c3 Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper 2015-03-04 01:31:08 -05:00
Ehsan Akhgari
08c9b036ed Bug 1125963 - Part 2: Rename mPreFormatted to mPreFormattedMail in order to clarify the meaning of this member
This member is set to true when Gecko detects the DOM structure
created by the Thunderbird mail code.
2015-03-04 00:54:40 -05:00
Ehsan Akhgari
3cf3794589 Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)

It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
Wes Kocher
01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Christoph Kerschbaumer
ccaa5f9328 Bug 1111834 - CORS request after preflight should not follow 30x redirect (r=sicking) 2015-02-19 13:43:40 -08:00
Andrea Marchesini
28861d0e1c Bug 1134280 - Get rid of Tag() - patch 8 - Fixed a debug-only compilation issue 2015-03-03 14:13:48 +00:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Andrea Marchesini
23a573719a Bug 1134280 - Get rid of Tag() - patch 7 - Followup to fix bustage. CLOSED TREE 2015-03-03 11:50:16 +00:00
Alex Verstak
2d3d368350 Bug 1091883 - Added test, this is fixed by a fix to bug 1113438. r=sstamm CLOSED TREE
--HG--
extra : amend_source : 6b33b51d7e8f800e1453e72bd66b53f1ebbd232c
2015-01-05 09:09:51 -08:00
Olli Pettay
6d7a26cb38 Bug 1138395 - Optimize nsDocument::mExpandoAndGeneration.expando out from the cc graphs when possible, r=mccr8
--HG--
extra : rebase_source : 1cc9d51c6fcf4e8a32a0552e6ef903cf57f54ab5
2015-03-02 17:56:36 +02:00
Ehsan Akhgari
5b8b6d67b9 Bug 1125956 - Hack around the broken assumptions of Thunderbird about the HTML copy encoder by disabling the plaintext encoding detection logic; r=roc 2015-03-02 16:06:09 -05:00
Jon Coppeard
a451fdfd83 Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Tooru Fujisawa
b0d7ebd80f Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Alexander Surkov
ddc5be8ef1 Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe
1374c72716 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Nathan Froyd
336e531fc3 Bug 1137175 - tighten up public interface of MiscContainer; r=khuey
MiscContainer declares that it HasDangerousPublicDestructor.  This
declaration is accurate, but unnecessary, as MiscContainer doesn't use
any of the nsISupports machinery that checks
HasDangerousPublicDestructor.  So HasDangerousPublicDestructor is a nice
bit of documentation, but completely unused; let's remove it.

MiscContainer having a public destructor is a bit of a footgun, though.
Let's protect MiscContainer's destructor and make nsAttrValue a friend
class, since nsAttrValue is what controls the lifetime of MiscContainer
objects.
2015-02-26 08:21:58 -05:00
David Parks
31f835e4bf Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
218f2707a8 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Blake Kaplan
e2af5cf422 Bug 1137025 - Add a telemetry probe to see how often Window.showModalDialog is used. r=jst, a=me 2015-02-25 17:41:00 -05:00
Boris Zbarsky
b4fd367105 Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley 2015-02-27 11:46:58 -05:00
Boris Zbarsky
db8c6eb30d Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly. 2015-02-26 15:58:59 -05:00
Boris Zbarsky
f027a773ea Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Boris Zbarsky
0981ef8007 Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley 2015-02-26 15:58:59 -05:00
Wes Kocher
f657cd0135 Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Wes Kocher
b6d7cdb29f Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE 2015-02-26 23:17:00 -08:00