Commit Graph

6903 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
9f406a7b29 Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Carsten "Tomcat" Book
1d7c82f8f2 Backed out changeset c2ffd91dee7c (bug 828137) 2015-03-09 16:49:32 +01:00
Jason Orendorff
46d53b144a Bug 828137, part 2 - Make [[Set]] always fail on window elements. With this change, window[0] = null; is a TypeError in strict mode code. r=bz. 2015-02-11 11:47:39 -06:00
Jason Orendorff
50c193277b Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz. 2015-02-11 11:38:36 -06:00
Blake Kaplan
7d19a3850e Bug 1131406 - Fix IPC serialization for nsHostObjectURI. r=billm 2015-03-06 22:33:00 +01:00
Alexander Surkov
e94e6e2e27 Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Nikhil Marathe
57039ce2c7 Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Robert Longson
3f3f8fa14e 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
3322381e4f Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-04 12:01:01 -06:00
Jason Orendorff
d1204e0adb Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-04 10:20:04 -06:00
Jason Orendorff
e065e5cceb Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-03 19:51:40 -06:00
Jason Orendorff
f43c96af4d 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.
2015-01-30 11:37:07 -06:00
dvander@alliedmods.net
24b5711248 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
57f6535651 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
17af33f0f1 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Jan de Mooij
22989040ae Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Boris Zbarsky
f22da41d9f 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
f80595bce7 Bug 1139964 part 3. Add a test. r=bzbarsky 2015-03-06 01:08:06 -05:00
Boris Zbarsky
bbe2eb820e 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
c5baec6e18 Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bill McCloskey
6b664501ab Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Bill McCloskey
da8df886f8 Bug 1126089 - Assert we don't Destroy nsFrameLoader in destructor (r=smaug) 2015-03-05 22:03:22 -08:00
Nikhil Marathe
9a1c4444d2 Bug 1139667 - CSP tests for fetch(). r=ckirschb 2014-10-16 11:26:39 -07:00
Kearwood (Kip) Gilbert
1ba6aaedda 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.
2015-02-19 16:03:07 -08:00
Wes Kocher
8cd7de362d Merge inbound to m-c a=merge CLOSED TREE 2015-03-05 15:17:41 -08:00
Wes Kocher
4ef44dbc63 Merge fx-team to m-c a=merge CLOSED TREE 2015-03-05 14:51:48 -08:00
David Zbarsky
54eea5ad10 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Dave Townsend
5d1cec2db6 Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap 2015-03-03 14:07:08 -08:00
Jose Antonio Olivera Ortega
37600d8d77 Bug 1041339 - ServiceWorkers: Update implementation based on clarification of force-refresh. r=nsm 2015-03-04 02:54:00 +01:00
Ehsan Akhgari
58dc1b564f Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper 2015-03-04 01:31:08 -05:00
Ehsan Akhgari
4cf4343937 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
b8a69dd6ba 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
804c7069b1 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
88718db0f7 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
042c87324b Bug 1111834 - CORS request after preflight should not follow 30x redirect (r=sicking) 2015-02-19 13:43:40 -08:00
Andrea Marchesini
de74fcc752 Bug 1134280 - Get rid of Tag() - patch 8 - Fixed a debug-only compilation issue 2015-03-03 14:13:48 +00:00
Anish
b9d3be97ea 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
0c7f3a0a3a Bug 1134280 - Get rid of Tag() - patch 7 - Followup to fix bustage. CLOSED TREE 2015-03-03 11:50:16 +00:00
Alex Verstak
407672102f Bug 1091883 - Added test, this is fixed by a fix to bug 1113438. r=sstamm CLOSED TREE 2015-01-05 09:09:51 -08:00
Olli Pettay
23489bab3a Bug 1138395 - Optimize nsDocument::mExpandoAndGeneration.expando out from the cc graphs when possible, r=mccr8 2015-03-02 17:56:36 +02:00
Ehsan Akhgari
df8fd3dc19 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
b77a47d749 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
2adc4406e1 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
21b18abe2d Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe
9e7656393a Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Nathan Froyd
0232302ba6 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
462c259c6c 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
aafa34403e 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
12f982e0a6 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
819055016c Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley 2015-02-27 11:46:58 -05:00