Skip to content

Conversation

@gravitinos
Copy link
Contributor

@gravitinos gravitinos commented Jun 1, 2016

Right now systrace generates an html file that is using the Object.observe function which is now deprecated in most up to date browsers.

Since we don't want to depend on the systrace being up to date, we should advise opening the trace through the Tracing tool, since that is the only way to get it working until systrace removes its dependency on Object.observe.

@ghost
Copy link

ghost commented Jun 1, 2016

By analyzing the blame information on this pull request, we identified @astreet and @bestander to be potential reviewers.

@ghost
Copy link

ghost commented Jun 1, 2016

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@ghost
Copy link

ghost commented Jun 1, 2016

@xvalentino updated the pull request.

@ghost
Copy link

ghost commented Jun 1, 2016

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 1, 2016
@astreet
Copy link
Contributor

astreet commented Jun 7, 2016

Thanks! If Object.observe isn't available, doesn't it crash the tab instead of bring blank? It might be worthwhile to show a screenshot of what it looks like when they need to manually load...

@gravitinos
Copy link
Contributor Author

@astreet In my experience, the page is blank (at least in Chrome) and if you open the console you get something along the lines of "Object.observe is not a function".

I think images would definitely help though.

@mkonicek
Copy link
Contributor

It might be worthwhile to show a screenshot of what it looks like when they need to manually load...

@xvalentino Could you add a screenshot please?

@hufeng
Copy link

hufeng commented Jun 16, 2016

image

ReactNative 0.26
Chrome:
image

@gravitinos
Copy link
Contributor Author

gravitinos commented Jun 16, 2016

I'll confirm @hufeng this is the latest view when this happens. This is what I got in 0.24

screen shot 2016-06-16 at 2 24 35 pm
screen shot 2016-06-16 at 2 24 55 pm

Then I'll update the PR.

Thanks all!

@gravitinos
Copy link
Contributor Author

React-Native 0.27 only shows a blank page. Looks like the page varies from React-Native versions. All consistently show Uncaught TypeError: Object.observe is not a function in the console. I will post a picture of that.

@gravitinos
Copy link
Contributor Author

Viewing the markdown on my repo doesn't display any of the images, should work but let's make sure I'm actually showing the image.

@mkonicek
Copy link
Contributor

@xvalentino You can run the website locally using cd website; npm install; npm start.

Since Object.observe was depreacted, there may be more you must do to
view the trace in newer browsers
@gravitinos
Copy link
Contributor Author

Thank you @mkonicek

Should be all set.

@astreet
Copy link
Contributor

astreet commented Jun 21, 2016

@facebook-github-bot shipit

Thanks!

@gravitinos
Copy link
Contributor Author

@astreet sorry it looks like there was some kind of failing test before, merge please! Thank you!

@christopherdro
Copy link
Contributor

screen shot 2016-07-01 at 6 00 50 pm

I still get the following error.

@astreet
Copy link
Contributor

astreet commented Jul 5, 2016

@facebook-github-bot shipit

@ghost ghost added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Jul 5, 2016
@ghost
Copy link

ghost commented Jul 5, 2016

Thanks for importing. If you are an FB employee go to Phabricator to review.

@ghost ghost closed this in f48baba Jul 5, 2016
bubblesunyum pushed a commit to iodine/react-native that referenced this pull request Aug 23, 2016
Summary:
Right now systrace generates an html file that is using the Object.observe function which is now deprecated in most up to date browsers.

Since we don't want to depend on the systrace being up to date, we should advise opening the trace through the Tracing tool, since that is the only way to get it working until systrace removes its dependency on Object.observe.
Closes facebook#7880

Differential Revision: D3516305

Pulled By: astreet

fbshipit-source-id: ab9ae46ba74b7a34b6cfb8c37ca1ec2e6b41e353
mpretty-cyro pushed a commit to HomePass/react-native that referenced this pull request Aug 25, 2016
Summary:
Right now systrace generates an html file that is using the Object.observe function which is now deprecated in most up to date browsers.

Since we don't want to depend on the systrace being up to date, we should advise opening the trace through the Tracing tool, since that is the only way to get it working until systrace removes its dependency on Object.observe.
Closes facebook#7880

Differential Revision: D3516305

Pulled By: astreet

fbshipit-source-id: ab9ae46ba74b7a34b6cfb8c37ca1ec2e6b41e353
tungdo194 pushed a commit to tungdo194/rn-test that referenced this pull request Apr 28, 2024
Summary:
Right now systrace generates an html file that is using the Object.observe function which is now deprecated in most up to date browsers.

Since we don't want to depend on the systrace being up to date, we should advise opening the trace through the Tracing tool, since that is the only way to get it working until systrace removes its dependency on Object.observe.
Closes facebook/react-native#7880

Differential Revision: D3516305

Pulled By: astreet

fbshipit-source-id: ab9ae46ba74b7a34b6cfb8c37ca1ec2e6b41e353
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants