Why I hate IE
-
I am web app developer and I mainly test my apps (during developing) on FF, but sometimes (like with webpages) i have to test app on IE. Today I encounter another itchy bug-feature in IE, and this is yet ANOTHER reason WHY I HATE this browser... I get some html code from server as JSON, parse returned string to object and inject it's properties to different part of page. In FF this work just fine... but no in best browser in the world. It was something like this: Me: here have some string:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE: hmmm... it's gonna be somthing like this:
string='{"prop1":"<a id="link1" href="some_url">blablaAnchor</a>\n<a id="another_link" href="some_url">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'Me:Heh... probably. IE:Parse this as JSON string? Me:Yes. IE:But this is wrong string! Me:What? Why? It's work just fine in FF! IE:For me this looks wrong. Error: '} was expected.' Do you want debug? Me:Yes... Maybe I gonna find something... IE:Ok. Me:Hmmm it's look fine to me too! What's cold be wrong with this?! IE:You really don't know? Me:No! Show me what you doing. IE:OK. Parsing string... Ok we have '{' on beginning of this string... ...oh there is quoted property name: prop1 ...and ":" this means there gonna be value... ...and we have " as begin of this value it's just fine at this point ...and we have another " as and of this value. This means that value of this property is "<a id="... Me: Wait! What?! It's not ending " of this value it's simply " inside this property you idiot! Damn! Maybe if quote every html attribute with '\\\' it's should work fine. Last will escape " and 2 first will mean that escaped " is escaped again inside string returned from server... After while and some code changes: Me:Try this IE:
'{"prop1":"<a id=\\\"link1\\\" href=\\\"some_url\\\">blablaAnchor</a>\n<a id=\\\"another_link\\\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Oh right... IE:It is:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Hey m
-
I am web app developer and I mainly test my apps (during developing) on FF, but sometimes (like with webpages) i have to test app on IE. Today I encounter another itchy bug-feature in IE, and this is yet ANOTHER reason WHY I HATE this browser... I get some html code from server as JSON, parse returned string to object and inject it's properties to different part of page. In FF this work just fine... but no in best browser in the world. It was something like this: Me: here have some string:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE: hmmm... it's gonna be somthing like this:
string='{"prop1":"<a id="link1" href="some_url">blablaAnchor</a>\n<a id="another_link" href="some_url">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'Me:Heh... probably. IE:Parse this as JSON string? Me:Yes. IE:But this is wrong string! Me:What? Why? It's work just fine in FF! IE:For me this looks wrong. Error: '} was expected.' Do you want debug? Me:Yes... Maybe I gonna find something... IE:Ok. Me:Hmmm it's look fine to me too! What's cold be wrong with this?! IE:You really don't know? Me:No! Show me what you doing. IE:OK. Parsing string... Ok we have '{' on beginning of this string... ...oh there is quoted property name: prop1 ...and ":" this means there gonna be value... ...and we have " as begin of this value it's just fine at this point ...and we have another " as and of this value. This means that value of this property is "<a id="... Me: Wait! What?! It's not ending " of this value it's simply " inside this property you idiot! Damn! Maybe if quote every html attribute with '\\\' it's should work fine. Last will escape " and 2 first will mean that escaped " is escaped again inside string returned from server... After while and some code changes: Me:Try this IE:
'{"prop1":"<a id=\\\"link1\\\" href=\\\"some_url\\\">blablaAnchor</a>\n<a id=\\\"another_link\\\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Oh right... IE:It is:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Hey m
Holy sh!t, what are you smoking over there?
-
I am web app developer and I mainly test my apps (during developing) on FF, but sometimes (like with webpages) i have to test app on IE. Today I encounter another itchy bug-feature in IE, and this is yet ANOTHER reason WHY I HATE this browser... I get some html code from server as JSON, parse returned string to object and inject it's properties to different part of page. In FF this work just fine... but no in best browser in the world. It was something like this: Me: here have some string:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE: hmmm... it's gonna be somthing like this:
string='{"prop1":"<a id="link1" href="some_url">blablaAnchor</a>\n<a id="another_link" href="some_url">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'Me:Heh... probably. IE:Parse this as JSON string? Me:Yes. IE:But this is wrong string! Me:What? Why? It's work just fine in FF! IE:For me this looks wrong. Error: '} was expected.' Do you want debug? Me:Yes... Maybe I gonna find something... IE:Ok. Me:Hmmm it's look fine to me too! What's cold be wrong with this?! IE:You really don't know? Me:No! Show me what you doing. IE:OK. Parsing string... Ok we have '{' on beginning of this string... ...oh there is quoted property name: prop1 ...and ":" this means there gonna be value... ...and we have " as begin of this value it's just fine at this point ...and we have another " as and of this value. This means that value of this property is "<a id="... Me: Wait! What?! It's not ending " of this value it's simply " inside this property you idiot! Damn! Maybe if quote every html attribute with '\\\' it's should work fine. Last will escape " and 2 first will mean that escaped " is escaped again inside string returned from server... After while and some code changes: Me:Try this IE:
'{"prop1":"<a id=\\\"link1\\\" href=\\\"some_url\\\">blablaAnchor</a>\n<a id=\\\"another_link\\\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Oh right... IE:It is:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Hey m
-
Holy sh!t, what are you smoking over there?
-
Holy sh!t, what are you smoking over there?
AcIEd.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
AcIEd.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
He's probably listening to AcIEd house as we speak.
-
It's so funny why we don't talk anymore.
-
Holy sh!t, what are you smoking over there?
Oh give me a break. I sit alone, in dark room, tiring my eyeballs while staring at screen. I have to talk to SOMETHING. :(
In soviet Russia code debugs You!
-
I am web app developer and I mainly test my apps (during developing) on FF, but sometimes (like with webpages) i have to test app on IE. Today I encounter another itchy bug-feature in IE, and this is yet ANOTHER reason WHY I HATE this browser... I get some html code from server as JSON, parse returned string to object and inject it's properties to different part of page. In FF this work just fine... but no in best browser in the world. It was something like this: Me: here have some string:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE: hmmm... it's gonna be somthing like this:
string='{"prop1":"<a id="link1" href="some_url">blablaAnchor</a>\n<a id="another_link" href="some_url">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'Me:Heh... probably. IE:Parse this as JSON string? Me:Yes. IE:But this is wrong string! Me:What? Why? It's work just fine in FF! IE:For me this looks wrong. Error: '} was expected.' Do you want debug? Me:Yes... Maybe I gonna find something... IE:Ok. Me:Hmmm it's look fine to me too! What's cold be wrong with this?! IE:You really don't know? Me:No! Show me what you doing. IE:OK. Parsing string... Ok we have '{' on beginning of this string... ...oh there is quoted property name: prop1 ...and ":" this means there gonna be value... ...and we have " as begin of this value it's just fine at this point ...and we have another " as and of this value. This means that value of this property is "<a id="... Me: Wait! What?! It's not ending " of this value it's simply " inside this property you idiot! Damn! Maybe if quote every html attribute with '\\\' it's should work fine. Last will escape " and 2 first will mean that escaped " is escaped again inside string returned from server... After while and some code changes: Me:Try this IE:
'{"prop1":"<a id=\\\"link1\\\" href=\\\"some_url\\\">blablaAnchor</a>\n<a id=\\\"another_link\\\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Oh right... IE:It is:
'{"prop1":"<a id=\"link1\" href=\"some_url\">blablaAnchor</a>\n<a id=\"another_link\" href=\"some_url\">blablaAnchor</a>",
"another_prop":"some_value\r\n another_part_of_string"}'IE:Hey m
Haven't you checked this chart before? Found it on this site. ;)