Commit Graph

10128 Commits

Author SHA1 Message Date
Masayuki Nakano
16f32dab1d Bug 630811 part.7 Add getModifierState() to DOM KeyboardEvent and DOM MouseEvent r=smaug, sr=jst 2012-04-25 12:00:02 +09:00
Masayuki Nakano
ba56663cd3 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
9d0b39dd4c Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
a3a57bb16c Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Masayuki Nakano
f7ded730f8 Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Matt Brubeck
39b9dfd911 Back out a01bb9f10445 (bug 677122) because of test failure
--HG--
extra : rebase_source : 569a8ccbc09af9149c4e82a7da140bbd217412fb
2012-04-24 18:11:06 -07:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Nathan Froyd
149185edba Bug 746285 - pack nsXBLBinding more carefully for 64-bit; r=bz 2012-04-17 15:23:11 -04:00
Ehsan Akhgari
3f561f1dad Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Benoit Jacob
33464ca392 Bug 746296 - Check for antialiasing should be samples>1 not samples>0 - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Benoit Jacob
8a1e7ebf9c Bug 696495 - set tex min filter before generateMipmap calls, to work around driver bugs - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Phil Ringnalda
b1421d4835 Back out dd82458147fd (bug 714861) for mochitest-3 failures and Linux mochitest-chrome leaks 2012-04-19 20:06:34 -07:00
Justin Lebar
00fb75253d Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-20 09:54:43 +10:00
Daniel Holbert
3199f1965c Bug 746646: Remove useless bounds-check for unsigned >= 0 in nsContentEventHandler::ExpandToClusterBoundary. r=masayuki 2012-04-19 10:38:00 -07:00
Ehsan Akhgari
b0555ad014 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Aryeh Gregor
4bdccf0da7 Bug 745685 - Parse <font size> per HTML5; r=bz 2012-04-19 11:09:16 +03:00
Chris Pearce
26c7a9a929 Bug 690989 - Ensure we're focused before requesting fullscreen in rollback test. r=smaug a=test-only 2012-04-23 22:48:00 +12:00
Ehsan Akhgari
6d56a89d65 Bug 722981 - Flush the media cache when the last private browsing window is closed; r=roc 2012-04-16 23:16:47 -04:00
Ed Morley
df1407645d Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge 2012-04-17 17:47:09 -07:00
Olli Pettay
e0376696c1 Bug 743178, CORS may keep XHR alive too long, r=bz, a=tracking-firefox14+ 2012-04-17 23:55:40 +03:00
Daniel Holbert
b7a5d44d03 Bug 744464: Fix incorrect bounds-check of unsigned value in nsPlainTextSerializer::AppendElementEnd. r=smaug 2012-04-17 09:55:50 -07:00
Marco Bonardo
8fd56f3066 Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Henri Sivonen
c6c8e61892 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
David Humphrey (:humph)
5fa2af00d1 Bug 745266 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert
c4d71b6c3b Backout f59dff115daa because it landed with the wrong bug number 2012-04-17 09:53:47 -07:00
Aryeh Gregor
6469be6f64 Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Aryeh Gregor
fc78ff9531 Bug 702948 - Add telemetry to count how many ranges are detached; r=smaug 2012-04-17 17:36:22 +03:00
Benoit Jacob
7697afac6d Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert 2012-04-16 15:56:12 -04:00
Marco Bonardo
63458c5e5a Merge central and inbound 2012-04-17 15:33:51 +02:00
Tanvi Vyas
72aed58cec bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz 2012-04-17 06:16:05 -07:00
Jeff Muizelaar
4735650f00 Bug 745818. Fix crashtest bustage. a=bustage
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.

--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar
05f4d55e08 Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar
c207ef7bd3 Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.

--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00
Nicholas Nethercote
08dc2dae6b Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Nicholas Nethercote
228e65798f Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
David Keeler
43a72657ab Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Ehsan Akhgari
72c6f1c687 Bug 748216 - Avoid dynamic allocation of nsHTMLTextAreaElement::mState; r=smaug 2012-04-24 00:19:26 -04:00
Robert Longson
58735a46be Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Matthew Gregan
c6d2de46e7 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Matthew Gregan
2e2a2c6663 Bug 723793 - Lazily initialize libcubeb on first use. r=roc 2012-04-16 15:00:12 +12:00
Josh Aas
bb65774aa4 Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Benoit Jacob
30ec0fc1a6 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Ms2ger
cb0259bd68 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Ms2ger
17ded04bad Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
64c51c21bf Bug 688415 - Outparamdel nsDocument::GetRadioGroup; r=volkmar 2012-04-14 14:57:06 +02:00
Alessandro Decina
efe31886e6 Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Ehsan Akhgari
1bca0f5390 Merge mozilla-central and mozilla-inbound; a=me 2012-04-18 16:26:35 -04:00
Jonathan Kew
4ae6a27c36 bug 745699 - canvas2d rendering context needs to call gfxFontGroup::UpdateFontList() before MakeTextRun() to ensure user font generation is up to date. r=roc a=blassey 2012-04-18 20:56:19 +01:00
Jared Wein
940c68e59a Bug 711618 - Platform changes for click-to-play permissions. r=josh a=blassey 2012-04-18 11:40:55 -07:00
Mounir Lamouri
8da5c2c776 Backout 23a0762a0dd6 because of bustage. a=backout 2012-04-18 19:02:54 +02:00
Mounir Lamouri
8aeed25ed7 Bug 647665 - Inform the UI that we do not hover a link anymore if the element is removed from the DOM. r=bz a=gavin
--HG--
extra : rebase_source : 107a0d9d6af593e668243d3ac3a1126c485ec910
2012-04-18 18:06:16 +02:00
Aryeh Gregor
bf8e85b2d4 Bug 738385 part 2 - queryCommand*() should not throw for commands that don't support them; r=ehsan 2012-04-06 10:42:54 +03:00
Aryeh Gregor
5aa29ebb8c Bug 738385 part 1 - Refactor some editing logic in nsHTMLDocument.cpp; r=ehsan 2012-04-17 13:18:08 +03:00
Aryeh Gregor
ba066c1e21 Bug 433662 part 2 - Make Range.insertNode insert the node into the range even when the range is collapsed 2012-04-01 08:02:21 -04:00
Aryeh Gregor
542f4bb6ec Bug 433662 part 1 - Clean up nsRange::InsertNode; r=smaug 2012-04-01 07:50:31 -04:00
David Keeler
2b77d52a66 Bug 739575 - Prioritize click-to-play over alternate content in nsObjectLoadingContent::GetPluginSupport. r=josh 2012-04-26 16:25:21 -07:00
Daniel Holbert
5c8f163884 Bug 749229: Remove unnecessary assertion about unsigned value being >=0, in nsEventSource::SetReconnectionTimeout. r=smaug 2012-04-26 09:42:28 -07:00
Masatoshi Kimura
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Alice Lieutier
4c6921da8b Bug 748243 - Move test_bug514437.html and test_bug588683-*.html to content/html/content/tests/forms/. r=mounir
--HG--
rename : content/html/content/test/test_bug588683-1.html => content/html/content/test/forms/test_form_attribute-1.html
rename : content/html/content/test/test_bug588683-2.html => content/html/content/test/forms/test_form_attribute-2.html
rename : content/html/content/test/test_bug588683-3.html => content/html/content/test/forms/test_form_attribute-3.html
rename : content/html/content/test/test_bug588683-4.html => content/html/content/test/forms/test_form_attribute-4.html
rename : content/html/content/test/test_bug514437.html => content/html/content/test/forms/test_progress_element.html
2012-04-26 11:39:57 +02:00
Jeff Muizelaar
eca1c1caae Bug 726352. Move SAMPLE_LABEL from nsEventListenerManager::HandleEventInternal r=smaug
This moves it to nsEventDispatcher::Dispatch which is not as hot.

--HG--
extra : rebase_source : 93005aaf4b341047d8512ebbda7de5d7e7433b1d
2012-04-16 14:43:06 -04:00
David Humphrey (:humph)
a6fb05536e Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert
3bb9bd9b04 Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce 2012-04-16 14:29:14 -07:00
David Anderson
9e6c5a8a5f Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Shriram Kunchanapalli
bb6f3e9ec6 Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Masayuki Nakano
e7f63293af Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano
f98601c487 Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Jonathan Kew
13d8ee2427 bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past 2012-05-03 08:57:18 +01:00
Jonathan Kew
cb92c263ae bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc 2012-05-03 08:56:26 +01:00
Aryeh Gregor
a685451510 Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan
--HG--
rename : content/html/content/test/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : content/html/document/test/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : content/html/document/test/test_bug404320.html => editor/libeditor/html/tests/test_bug404320.html
rename : content/html/document/test/test_bug468353.html => editor/libeditor/html/tests/test_bug468353.html
rename : layout/reftests/bugs/388980-1-ref.html => layout/reftests/editor/388980-1-ref.html
rename : layout/reftests/bugs/388980-1.html => layout/reftests/editor/388980-1.html
2012-05-03 10:09:44 +03:00
Jason Orendorff
e126ffe211 Bug 738617 - Revert changeset 6d139ebc0f43 (bug 730139). Reserving let breaks some web sites. r=Waldo, a=mfinkle. 2012-04-18 15:07:11 -05:00
Mounir Lamouri
51e2ee27c9 Bug 647665 - Inform the UI that we do not hover a link anymore if the element is removed from the DOM. r=bz a=gavin 2012-04-19 12:20:34 +02:00
Steve Fink
55246c9838 Bug 730208 - UnmarkGray the global object held by nsXULPDGlobalObject to avoid it getting used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 08ec063f13679b0a0a32c1b56415f6192a657280
2012-03-20 21:29:47 -07:00
Scott Downe
cffc8d1968 Bug 677122 - Update start/end times of mediafragment URL on hashchanges r=bz
--HG--
extra : rebase_source : 91fa2211dbc4c9c839f22fcb086e0b3a1a0cfef6
2012-04-24 19:49:31 -04:00
Mark Capella
329ec5f3aa Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Josh Aas
930b3a5b7b Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Simon Montagu
565550b948 bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
L. David Baron
801bd99e38 Remove unneeded getting of window and DOMWindowUtils so that GetViewportInfo can still return correct information while page is displayed during navigation away from it. (Bug 737621) r=sjohnson 2012-04-25 16:33:42 -07:00
Jonathan Watt
7ca527468b Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Masatoshi Kimura
9b5d48cafb Bug 743575 - Try to get line number if at all possible when reporting warnings to the error console. r=mrbkap 2012-04-13 13:57:05 -04:00
Robert Longson
3c0ce8608d Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc 2012-04-13 08:01:55 +01:00
Jeff Walden
18b2aec6c5 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Mark Capella
1a44f1208f Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Gregory Szorc
15089b0805 Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Matt Brubeck
f774a22fec Merge last green changeset from inbound to mozilla-central 2012-04-11 08:52:07 -07:00
Olli Pettay
b5b7b0c4b3 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
Ehsan Akhgari
663c12dc93 Merge the latest green changeset from mozilla-inbound into mozilla-central 2012-04-10 16:00:30 -04:00
Olli Pettay
fab5e41574 Bug 742636 - Keep observed node alive during microtask if there are transient observers, r=sicking 2012-04-10 22:01:14 +03:00
Daniel Holbert
543f521202 Bug 742565: Cast known-to-be-nonnegative integer val to unsigned, to fix build warnings in nsRange.cpp. r=smaug 2012-04-10 00:45:59 -07:00
Henri Sivonen
19ba3a27fe Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug. 2012-04-10 10:02:31 +03:00
Matias Juntunen
552bde7b2a Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert 2012-04-09 19:51:29 -07:00
Masatoshi Kimura
aeaab5cc06 Bug 743574 - Deprecate DOMException.code. r=sicking 2012-04-11 17:55:23 -04:00
Masatoshi Kimura
aeb3f9e55a Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Masatoshi Kimura
23049011a9 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
David Humphrey (:humph)
9534b79926 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Matt Brubeck
6407c40332 Back out 14715fd6b81c (bug 677122) because of frequent failures in its test 2012-04-11 08:39:58 -07:00
Andrew McCreight
8370160730 Bug 744297 - initialize return value in nsXULPrototypeElement::Deserialize. r=bz 2012-04-11 07:48:14 -07:00
Jared Wein
c07d87dc97 Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao 2012-04-10 16:03:41 -07:00
Scott Downe
89f1c3ab13 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-04-11 07:49:20 -04:00
Abhishek Bhatnagar
98d9a07062 Bug 620164 - Remove CheckedInt and Muloverflow from nsTheoraState::MaxKeyframeOffset. r=cpearce 2012-04-11 07:44:28 -04:00
Mark Capella
dba848fe43 Bug 652635 - Fallback missing @longdesc to aria-describedby pointing to <a href>, r=surkov, jonas 2012-04-11 15:16:00 +09:00
Ms2ger
22e29fc829 Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Daniel Holbert
076e7cd854 Bug 369560 followup: Soften language in unusual-but-innocuous NS_WARNING for XBL docs with no root element. r=bz 2012-04-08 18:37:41 -07:00
Kyle Huey
50f43dd111 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
76887dde56 Bug 697230: Part 3 - Make style images block onload. r=bz 2012-04-07 09:00:27 -07:00
Kyle Huey
b1e7e0165e Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Kyle Huey
7a78607b88 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Olli Pettay
b7882b811f Bug 743199 - Unmark Document's and Window's ELM, r=mccr8 2012-04-07 10:12:03 +03:00
Jacek Caban
2c75fb8742 Bug 742357 - Use macros to declare nsIMutationObserver functions in nsMutationReceiver r=smaug 2012-04-06 11:12:59 +02:00
Aryeh Gregor
653b41ddf3 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky
bf00219e54 Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Boris Zbarsky
7db66d8f15 Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Marco Bonardo
58f7ff90d4 Backout d83c1ffb7397 (bug 741266) due to Windows M1 failures 2012-04-07 01:34:28 +02:00
Boris Zbarsky
594980f9ea Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Ehsan Akhgari
7a3f2a9405 Merge mozilla-inbound and mozilla-central 2012-04-10 16:01:39 -04:00
Benoit Jacob
e43028cc2d Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review 2012-04-10 12:23:23 -04:00
Benoit Jacob
0d7e1b4c91 Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert 2012-04-10 11:51:30 -04:00
Benoit Jacob
574847287b Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Mark Capella
0934514a16 Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst 2012-04-05 12:20:44 -07:00
Ehsan Akhgari
b74a7df1cf Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari
e130fd8945 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky
d3d8ec52c3 Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking 2012-04-05 13:14:54 -04:00
Alexander Surkov
ac6026a2f6 Bug 741398 - make ARIA state map extensible, r=tbsaunde 2012-04-06 01:23:30 +09:00
Jeff Gilbert
7b29231360 Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob 2012-04-04 18:57:35 -07:00
Olli Pettay
e87e5e548c Bug 742371 - Remove MutationReceiver from MutationObserver when the target is deleted, r=sicking 2012-04-04 20:36:40 +03:00
Olli Pettay
ada97a02d1 Bug 742237, MutationObserver crashes during GC, r=sicking 2012-04-04 18:11:57 +03:00
Marco Bonardo
5eb9c1dad8 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Olli Pettay
45b584ef56 Bug 742190 - Leak with MozMutationObserver, r=sicking 2012-04-04 09:22:16 +03:00
Marco Bonardo
1ababdd3b2 Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger
d947a8d314 Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger
6b301797c5 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger
6ffad56f22 Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst 2012-04-03 09:25:38 +02:00
Ms2ger
ee1a9afaf4 Bug 741223 - MutationObserver cleanup; r=smaug 2012-04-03 09:25:38 +02:00
Ms2ger
41988ec8e7 Bug 741218 - Don't crash when loading a page with content-type application/json; r=hsivonen 2012-04-03 09:25:38 +02:00
Henri Sivonen
2dd32e976c Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug. 2012-04-03 09:44:15 +03:00
David Mandelin
535c2cacfb Bug 737780: fix compartments in nsFrameScriptExecutor::LoadFrameScriptInternal, r=luke 2012-04-02 19:09:34 -07:00
Nicholas Nethercote
85b9728d6c Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Masatoshi Kimura
18767775ae Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Matt Brubeck
82e8c9aa19 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey
7f972f45f6 Bug 741163: Add a rather important null check. r=me 2012-04-01 04:02:58 -07:00
Ed Morley
7b8f9d67b3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Benoit Jacob
e4eb0d9b1b Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel 2012-03-31 12:48:32 -04:00
Ed Morley
2aa4048571 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Henri Sivonen
db1d235617 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Henri Sivonen
febee54c5c Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug. 2012-03-31 17:10:34 +03:00
Ms2ger
9f1fbf3676 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
f5853d4d7a Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
Peter Van der Beken
176c7f9686 Undo accidental mode change to webgl-conformance-tests.html. No bug. 2012-03-30 22:04:54 -07:00
Peter Van der Beken
c2e642fbcc Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Christopher De Cairos
5cc51b277e Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce 2012-03-30 20:52:07 -04:00
Olli Pettay
3423de709a Bug 734151 - remove new lines from the class in the CC log, r=bsmedberg
--HG--
extra : rebase_source : a7d7add386834baaea8769f398431a0c9c4c1a96
2012-03-30 09:38:00 -07:00
Marco Bonardo
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
818ebb672e No bug - Remove an always-true check. 2012-03-29 23:12:55 +02:00
Ms2ger
09fa74771d Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Ms2ger
6f4de79d23 Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap 2012-03-29 23:09:11 +02:00
Ms2ger
968425f97e Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Ms2ger
84f17e5f45 Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking 2012-03-29 23:09:06 +02:00
Ms2ger
9427a8db0d Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Ms2ger
b313aff15a No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Jonathan Kew
23cb2f2b7a bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu 2012-03-30 17:37:46 -07:00
Peter Van der Beken
db99384a53 Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz, bent.
--HG--
extra : rebase_source : 1278ff2158cd8138ebe3570a2d8f45cec8233d1c
2012-03-30 09:38:19 -07:00
Matias Juntunen
ad1912fafd Bug 729048 - Part 4: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in txXMLUtils.h. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen
800a01a2e1 Bug 729048 - Part 3: Replace call to nsParserService::CheckQName with nsContentUtils::CheckQName in nsXULDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen
f5597d8025 Bug 729048 - Part 2: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in nsDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen
6ba0c7d9b4 Bug 729048 - Part 1: Move nsParserService::CheckQName to nsContentUtils and change calls within nsContentUtils to use nsContentUtils::CheckQName instead. r=hsivonen 2012-03-29 17:31:40 -04:00
Peter Van der Beken
dfa76b93e6 Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Irving Reid
2804f5e3ca Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn 2012-03-26 15:40:52 -04:00
Doug Turner
bf2c8424b7 Bug 740252 - EventListenerManager disables various things in RemoveEventListener even if there can be still listeners. r=smaug 2012-03-29 10:23:27 -07:00
Chris Pearce
1590d6dd4b Bug 736342 - Defer media cache writes and block moves to a non-main thread. r=roc 2012-03-28 13:04:26 +13:00
Chris Pearce
a976665feb Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc 2012-03-28 13:04:20 +13:00
Phil Ringnalda
0abdfa04b8 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Andrew McCreight
a59c979d1b Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Chris Pearce
314cddd243 Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc 2012-04-02 10:34:11 +12:00
Mark Capella
3519b46a3e Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Aryeh Gregor
5fba4e2a84 Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug 2012-04-01 07:45:35 -04:00
Kyle Huey
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey
b174382f2b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Nathan Froyd
3816c12d35 Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent 2012-03-28 09:14:33 -04:00
Peter Van der Beken
6c1a5e5219 Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky 2012-03-26 08:38:06 -07:00
Justin Lebar
8dd521e600 Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
86a3f4db10 Bug 736688 - Part 4: Remove mozbrowser code from nsGenericHTMLFrameElement (undoes changes from bug 710231). r=smaug
--HG--
extra : rebase_source : 3bcc94bca02c4c39fb987c27555ed698c44fe61d
2012-03-28 11:36:04 -07:00
Jared Wein
ac11ea4de6 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Margaret Leibovic
0e9ed35f0a Bug 739048 - Check to see if a plugin is unsupported before making it click-to-play. r=josh 2012-03-27 15:01:46 -07:00
Henri Sivonen
2e0882cfe2 Bug 701361 - Add a telemetry probe for finding out how commonly multipart XHR is used on the Web. r=smaug. 2012-03-28 10:33:18 +03:00
Henri Sivonen
8825a7244b Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
3e77964df8 Backed out changeset 389eee1cce65 (bug 677122) due to bustage. 2012-03-27 20:04:33 -04:00
Scott Downe
f0b77b570a Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-03-27 19:17:35 -04:00
Jared Wein
a80b6db592 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
d19ba25120 Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih)
8a2de1a907 Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc] 2012-03-26 11:50:30 +02:00
Andrew McCreight
0be293da76 Bug 740185 - mark safe JS context black. r=smaug 2012-03-30 10:22:29 -07:00
Peter Van der Beken
79d8fa521f Backout cfd6bf0fe1e9 as it includes an unwanted chunk
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken
d2da6eaadf Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Jeff Gilbert
330a3cd6f9 Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob 2012-04-03 16:42:06 -07:00
Rafael Ávila de Espíndola
70d45d3be8 Bug 739674 - test_tmpl_storage_bad_parameters_2.xul (and others) don't close their database. r=enndeakin. 2012-04-03 17:12:31 -04:00
Mounir Lamouri
4c60131f07 Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz 2012-04-03 17:37:15 +02:00
Aryeh Gregor
22b8bf8aac Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Aryeh Gregor
f3bfb8edfd Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Wes Johnston
b73f02bb64 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Doug Turner
a17b3832d6 Bug 742376 - DisableDevice is being called with types that are not known device sensors. r=smaug 2012-04-04 09:26:12 -07:00
Doug Turner
fc2a39d673 Bug 742395 - restrict device sensor events to windows. r=smaug 2012-04-04 09:26:12 -07:00
Makoto Kato
e0b0e4d9ff Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo
63e298422a Merge central to inbound 2012-04-04 13:39:52 +02:00
Igor Bukanov
83623b313c Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Boris Zbarsky
32c7f6e634 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Tom Schuster
fef9c89dba Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Ryan VanderMeulen
0791674429 Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz
ef633bc69b Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Jonathan Kew
8a2e8d2523 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Benoit Jacob
cad24b13b9 Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob
38dc22d68b Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
d0af5e0960 Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
6fad1ca1da Bug 736481 - 4/7 - WebGL lost contexts: remove ShouldEnableRobustnessTimer, rename Robustness to ContextLoss - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
46b8e1d691 Bug 736481 - 3/7 - Add missing checks for lost WebGL contexts - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
9cf9a2137b Bug 736481 - 2/7 - lose WebGL context on memory-pressure events - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
2ed6d0ff79 Bug 736481 - 1/7 - simplification in WebGL lost context handling - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Matt Brubeck
955934c3d9 Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv] 2012-04-24 07:51:56 -07:00
Jared Wein
883053cd10 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Andrew McCreight
d1c47fdce5 Bug 736563 - mark global objects held by live windows black during GC. r=smaug 2012-03-27 12:22:10 -07:00
Ian Melven
04940903e3 Bug 650386 - CSP should not follow redirects for report-uri r=jst 2012-03-27 10:55:50 -07:00
Justin Lebar
1308d45438 Bug 739457 - Don't decode images when you load a link in a background tab. r=joe 2012-03-26 23:49:50 -07:00
Henri Sivonen
ab7a73384b Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Masayuki Nakano
2ab8e3fb4a Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
Mounir Lamouri
9725e4ce94 Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz 2012-03-26 17:52:39 -07:00
Boris Zbarsky
eca080bae6 Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug 2012-03-24 20:46:03 -04:00
Gregor Wagner
ec5cd78551 Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Benoit Jacob
2455dbf469 Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review 2012-03-26 17:54:08 -04:00
Benoit Jacob
b7438ab568 Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert 2012-03-26 15:20:35 -04:00
Benoit Jacob
408619d76d Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB 2012-03-26 15:20:34 -04:00
Benoit Jacob
b646a4cffc Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.

Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Benoit Jacob
b50b67bbf5 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Matt Brubeck
e7b4a5e4bc Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie] 2012-03-26 09:43:58 -07:00
Jonathan Watt
0ab7e18025 Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz. 2012-03-26 12:58:59 +01:00
Jonas Sicking
8e093adf1c Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz 2012-03-26 01:40:09 -07:00
Chris Pearce
67dc6373b0 Bug 726400 - Backed out changeset 4ad6c040729f. r=backout. 2012-03-26 14:41:14 +13:00
Christopher De Cairos
c7ae7c5f02 Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce 2012-03-26 14:21:53 +13:00
Phil Ringnalda
c7ab04c773 Back out c4a4b0171b99 (bug 736400) for Android build bustage 2012-03-25 15:35:37 -07:00
Christopher De Cairos
b79453b4bf Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce 2012-03-26 10:48:40 +13:00
Doug Turner
a670db21f7 Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu 2012-03-24 17:30:03 -07:00
Doug Turner
9b325a2539 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Igor Bukanov
7296e0408c bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.

The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.

Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.

--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
extra : rebase_source : f8f1536a86b7c3fe7296a16b6677bd21664af98a
2012-02-20 11:58:00 +01:00
Matt Brubeck
f83a9ab93e Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Henri Sivonen
95b45892e6 Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Masatoshi Kimura
6432a363f1 Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent 2012-03-24 12:33:59 +01:00
Dão Gottwald
766a2b3244 Backed out changeset 30798fdc5bad 2012-03-24 12:33:30 +01:00
Peter Van der Beken
6fd0c1b877 Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jared Wein
3f49c23fdd Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Jared Wein
282988197b Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:45:27 -07:00
Marco Bonardo
fa6bb5c19e Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Patrick McManus
dd00f9250a bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
5e53c35a9c Bug 730318 - Forgot to add braces to if condition. r=khuey 2012-03-22 14:03:04 -07:00
Jared Wein
61ab14237c Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Andrew McCreight
f1c0ebf776 Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug 2012-03-22 13:46:03 -07:00
Aryeh Gregor
40c8f74eb6 Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Andrew McCreight
2bc80bf951 Bug 736459 - make WantAllTraces disable node and content list CC optimizations. r=smaug
* * *
Bug 736459, part 2 - add NS_LIKELY for new branches. r=smaug
2012-03-22 08:37:54 -07:00
Andrew McCreight
9c5ab91ad1 Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent 2012-03-22 08:37:18 -07:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
3ba9aa7eeb Bug 737983 - win8 fixup for generic keyword collision, r=smaug. 2012-03-22 09:18:41 -05:00
Boris Zbarsky
ecbf4bbd3f Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Henri Sivonen
e11504cc9b Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Nicholas Nethercote
6ae6850783 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Boris Zbarsky
e20f8460b1 Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
792c2592e5 Bug 700981 part 4. Add a fast-path to IsAllowedAsChild for the case of a child that has no kids. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
bf35ae3542 Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
99719b401c Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
5d73e0316b Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking 2012-03-22 00:10:51 -04:00
Andrew McCreight
29070d40ad Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions 2012-03-21 19:36:25 -07:00
Sid Stamm
e4377a09c1 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Andrew McCreight
39c32bc487 Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug 2012-03-21 15:38:58 -07:00
Ms2ger
18b67b5a12 Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley 2012-03-20 13:57:00 -07:00
Nicholas Nethercote
5524d35c04 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Robert O'Callahan
c80165838e Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce 2012-03-20 20:55:40 +13:00
Daniel Holbert
6d1f7b2b6c Bug 737754: Change guaranteed-to-succeed IndexOf() checks to Contains() checks in assertions within nsScriptLoader::PrepareLoadedRequest. r=hsivonen 2012-03-21 14:06:10 -07:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
9d84462dee Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
ccb73a4ec1 Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
45440ad3db Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Mounir Lamouri
29e55dbd24 Bug 673853 - Fix "ASSERTION: Form control should have a parent". r=bz 2012-03-21 15:47:04 +01:00
Henri Sivonen
fff912d4a6 Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst. 2012-03-21 12:43:54 +02:00
Paul O’Shannessy
2ae0a32b55 Bug 639705 (Lion Full Screen) Part 4: Fix content tests [r=cpearce]
--HG--
extra : rebase_source : 52bafed68c81c56aab0fe520dc51cb4a04103886
2012-03-20 16:21:15 -07:00
Matt Brubeck
51ba20bc98 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Mats Palmgren
5bd9409f3b Bug 732951 - Propagate nsContentUtils::ASCIIToLower/ASCIIToUpper error. r=bz 2012-03-20 19:02:38 +01:00
Mats Palmgren
a9ed96268a Bug 732951 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper return NS_ERROR_OUT_OF_MEMORY when string allocation fails. r=bz 2012-03-20 19:02:38 +01:00
Mats Palmgren
234949ebc1 Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz 2012-03-20 19:02:38 +01:00
Patrick McManus
aeb4f9d401 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
f9547aff6d Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Henri Sivonen
eb34b8e6e8 Bug 737314 - Avoid using nsIURI when checking for cid: URIs in order to route around comm-central cid: hacks. r=smaug. 2012-03-20 11:25:43 +02:00
Jonathan Watt
ce86671d1b Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
cfd1f311f8 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
4ef8b576ac Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Cameron McCormack
ff7970ca9c Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 22:20:21 +11:00
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00